warren%netscape.com
d60b12b153
Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
2000-03-29 03:58:50 +00:00
rickg%netscape.com
a74c225e7d
removed reference to nsString2
2000-03-26 23:17:01 +00:00
scc%netscape.com
33cfc64fc1
small changes to clients of string converting APIs
2000-03-26 10:52:00 +00:00
rjc%netscape.com
1f04e978ba
Clean up: functions which return booleans should not return nsresults.
2000-03-26 09:16:58 +00:00
rjc%netscape.com
e4e4bb1022
Fix a simple signed/unsigned warning, as well as a bad return.
2000-03-26 09:07:16 +00:00
rickg%netscape.com
a486e52b05
changed Parser(stream) to accept mimetype
2000-03-25 03:32:55 +00:00
jim_nance%yahoo.com
5723bcda31
Fix bug 33019. Compiler warnings.
...
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz
2000-03-24 22:11:55 +00:00
hyatt%netscape.com
16fdea9f7b
XUL <textfield> lives!
2000-03-23 22:17:37 +00:00
hyatt%netscape.com
f03f7253a1
Adding support for new XUL widgets.
2000-03-23 09:58:49 +00:00
mstoltz%netscape.com
d63fb120a5
Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris
2000-03-23 04:53:16 +00:00
hyatt%netscape.com
bfab0ad6da
Giving XUL a <script> tag. r=danm
2000-03-23 01:17:08 +00:00
hyatt%netscape.com
0fc5286592
Changing XUL template syntax to use <textnode> for wrapped text creation rather
...
than <text>, which is now a genuine XUL element.
2000-03-22 21:57:35 +00:00
hyatt%netscape.com
46c66102f4
Marking my territory. ;)
2000-03-21 13:15:24 +00:00
norris%netscape.com
3ea8eb578d
added updatePrincipal function to nsDocument. r=norris (this is mstoltz's checkin)
2000-03-21 04:20:04 +00:00
nisheeth%netscape.com
e90cbb686f
r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document.
2000-03-21 03:25:16 +00:00
nhotta%netscape.com
70463c9142
Removed headers and constants for nsFactory, bug 11880, r=rjc.
2000-03-20 23:58:40 +00:00
nhotta%netscape.com
6a43307c15
Changed to use nsILocaleService instead of nsLocaleFactory, bug 18338, r=rjc.
2000-03-20 22:48:39 +00:00
waterson%netscape.com
c23a0745ed
Get rid of dead code.
2000-03-18 05:26:25 +00:00
dougt%netscape.com
d9cdcd13d3
adding GetSecurityInfo to the nsIChannel. bug 29646 r= warren.
2000-03-17 22:07:37 +00:00
jst%netscape.com
b768001187
Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
...
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.
dom/public/nsDOMPropEnums.h,v - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v - bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v - bug 12559
2000-03-17 13:27:00 +00:00
putterman%netscape.com
62b509aab5
Fix for 15142. Fixing typo makes secondary sort now work.
2000-03-17 00:03:46 +00:00
dbaron%fas.harvard.edu
e3a2013a7e
Fix bug 28570, leak of nsXULPrototypeDocument and nsJSContext (and things they owned). r=waterson@netscape.com
2000-03-16 01:11:02 +00:00
beard%netscape.com
762854d1ab
uncovered leak exposes a crasher, this fixes it. r=waterson
2000-03-15 23:58:01 +00:00
rickg%netscape.com
c617e3f2e9
removed calls to deprecated nsString methods
2000-03-12 11:06:57 +00:00
rickg%netscape.com
4791ab3e8f
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
hyatt%netscape.com
8fbba25d65
new xul widgets
2000-03-11 10:31:34 +00:00
tbogard%aol.net
3900ffa7ca
Use the docShell APIs instead of the webShell ones where possible.
2000-03-11 00:22:48 +00:00
waterson%netscape.com
38a4394aab
Bug 30887. Check mDocument before dereferencing to update style rule. Happens when setting 'style' attribute on an element that is not in the doc tree. r=hyatt, a=jar.
2000-03-08 06:05:45 +00:00
waterson%netscape.com
2dcbc147e5
Bug 27222. Add a parser observer, so we're always guaranteed to be notified when an overlay completes (even if the overlay wasn't there). Keeps us from 'hanging' when an overlay file is missing. r=harishd, a=jevering
2000-03-07 02:33:44 +00:00
waterson%netscape.com
28dc91344e
Bug 29148. Initialize out-params to sane values before returning an error. There are lots of places that don't check return codes on these methods. r=rjc, a=jar.
2000-03-03 23:15:34 +00:00
waterson%netscape.com
0c4fe6e173
Bug 29148. Don't abort in the case where an invalid stylesheet reference has somehow made it into the prototype document, but the stylesheet was never put into the cache (an empty CSS file will cause this to happen). Instead, just keep on truckin'. r=rjc, a=jar
2000-03-03 23:14:09 +00:00
hyatt%netscape.com
daf0f13722
XUL RadioGroup element, not used in XUL. r=ben, a=jar
2000-03-02 10:00:09 +00:00
waterson%netscape.com
c94367e199
Bug 25364. Use nsCOMPtr where appropriate; make sure to getter_AddRefs() when calling GetShellAt(). r=travis, hyatt a=jar.
2000-03-01 07:27:31 +00:00
hyatt%netscape.com
5137e69582
Fix for bug #29410 . r=vidur, a=rickg
2000-03-01 01:43:34 +00:00
pollmann%netscape.com
4b87b2a468
Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg
2000-02-29 06:51:05 +00:00
jdunn%netscape.com
dd92dc94a0
adding newline
2000-02-28 20:50:38 +00:00
rjc%netscape.com
20ed2c092a
Part of fix for bug # 25876: bookmarks drag&drop behavior modification. Approval: jevering Review: waterson
2000-02-26 01:26:02 +00:00
saari%netscape.com
c269e9fc4d
fix for 28467, a=jar, r=hyatt
2000-02-26 00:59:41 +00:00
waterson%netscape.com
e162d65209
Bug 28632. Check container to see if contents have -ever- been built before 'rebuilding'. If no content has been built yet, then trying to rebuild causes bizarre things to happen (like, two of everything). r=rjc,putterman. a=jar
2000-02-25 23:08:43 +00:00
hyatt%netscape.com
c5a3f61f35
XUL Property APIs, b=26109, r=ben
2000-02-25 08:37:49 +00:00
law%netscape.com
ec8f5ef788
Fix from Chris Waterson to suppress bogus assertion failure when adding overlays to personal toolbar; this is a prerequisite to other changes for bug #11871 ; r=waterson@netscape.com, a=jevering@netscape.com
2000-02-25 02:28:45 +00:00
bienvenu%netscape.com
237bf79759
fix handling of uri's with 8 bit characters, a=phil r=waterson 24692
2000-02-23 20:51:36 +00:00
waterson%netscape.com
d6f16f84bf
Bug 28473. Make style resolution cheaper when 'width' and 'height' attributes are changed on a <window>. r=hyatt, a=jevering.
2000-02-22 06:09:41 +00:00
danm%netscape.com
4d10745e96
stop up small but profuse leak on NT; probably a runtime lib bug. r=waterson a=jevering
2000-02-22 04:13:24 +00:00
pollmann%netscape.com
e4b702b6ca
Bug 14827: Naughty XUL documents no longer steal scrollbars r=harishd a=rickg
2000-02-19 02:41:48 +00:00
waterson%netscape.com
b20c0204e0
Bugs 27271, 27947. Re-order menu creation so that RDF-generated menus are created simultaneously with XUL content. Use style rather than content tree crawling to avoid over-eager creation of menu content. r=hyatt,danm a=jevering.
2000-02-19 00:56:13 +00:00
hyatt%netscape.com
7acca891b7
Popup fixes. r=saari
2000-02-18 09:38:59 +00:00
waterson%netscape.com
bb633f3257
Bug 27925. Check document's principal before loading RDF datasources; if principal == system principal, let it do whatever it wants, otherwise check each datasource's URL to ensure that it comes from the same origin as the document. Prevents, for example, untrusted XUL content from loading bookmarks. r=norris, a=chofmann
2000-02-17 21:05:52 +00:00
waterson%netscape.com
29406017a6
Revert fix for 26947, 27271 due to bad interaction with the 'find' datasource that causes crash-on-exit. a=chofmann.
2000-02-16 22:44:15 +00:00
waterson%netscape.com
2b8e5dab5f
Bugs 27947, 27271. Re-order content-model-to-layout notification to avoid an incremental reflow. This ensures that 1) all menus will be completely created before they are displayed, and 2) the 'oncreate' handler runs after RDF content has been generated. r=hyatt
2000-02-16 07:36:35 +00:00
joki%netscape.com
4596efac68
Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
2000-02-16 06:59:07 +00:00
sspitzer%netscape.com
490c789bf3
case sensitivity problem. r=sfraser
2000-02-15 09:42:41 +00:00
sfraser%netscape.com
9eb276a5da
First Checked In.
2000-02-15 08:42:25 +00:00
pinkerton%netscape.com
1f217238e9
now that mac correctly converts control-click to a right-click, we no longer need the #ifdef for mac when launching a context menu. r=saari.
2000-02-15 07:15:00 +00:00
waterson%netscape.com
b5f78fb33d
Bug 25303. Remember container into which content was inserted and the index of first insertion, rather than the first element that was inserted. With the latter approach, we were sending incorrect ContentAppended notifications to layout when the insertion sort would move the position of the 'first' inserted element. r=rjc@netscape.com.
2000-02-15 07:08:45 +00:00
putterman%netscape.com
5e11e378e1
Speed up sorting. r=rjc. Bug 26131.
2000-02-15 05:05:29 +00:00
tbogard%aol.net
64cf297e92
Support for the new interfaces on the browserElement and iframeElement. r=hyatt
2000-02-15 04:47:33 +00:00
hyatt%netscape.com
54da798a13
Fix for bug #23387 .
2000-02-13 22:57:52 +00:00
hyatt%netscape.com
ed42f5b62f
Addendum to 20764
2000-02-12 10:47:33 +00:00
hyatt%netscape.com
aa3b2f2d70
Fix for bug #20764 .
2000-02-12 10:08:52 +00:00
hyatt%netscape.com
32608cd06a
Fix for bug #25675 . More focus memory framework being checked in for the
...
command dispatcher as well.
2000-02-11 00:59:32 +00:00
kmcclusk%netscape.com
4d12d19a42
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
hyatt%netscape.com
9b90d855b2
Fixing command dispatcher horkage. r=saari
2000-02-09 03:14:03 +00:00
dp%netscape.com
906610dcf7
Fixing build bustage.
2000-02-09 02:43:48 +00:00
hyatt%netscape.com
28745243d6
Command dispatcher fix for PDT+ focus issues on Linux. r=saari
2000-02-09 01:32:42 +00:00
tbogard%aol.net
f5d81c3e9c
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
joki%netscape.com
b7846d75d9
Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
2000-02-08 02:05:57 +00:00
waterson%netscape.com
932a5780a9
Tweak MOZ_COUNT_[CTOR|DTOR] macros.
2000-02-06 02:56:06 +00:00
alecf%netscape.com
b03bc550e8
when form elements are generated via a template, set the form to the XUL Doc's hidden form so that the element behaves correctly.
...
r=waterson
2000-02-05 01:03:39 +00:00
alecf%netscape.com
6e7aa4512f
hook up this object to the globalobjectowner so that we can report errors
...
r=waterson
2000-02-04 01:42:05 +00:00
waterson%netscape.com
ec7c4582cb
Bug 25333. Implement nsIScriptGlobalObjectOwner so we can report compilation errors. r=scc
2000-02-03 08:51:49 +00:00
waterson%netscape.com
4a694ca92e
Bug 26304. Make sure the nsXULSortService updates does 'deep' SetDocument() calls when twiddling content nodes: regressed with fixes for 20677 and 23905. r=scc,rjc.
2000-02-03 07:57:51 +00:00
waterson%netscape.com
0b53792184
Bug 20677, 23905, attempt number 2. This time, in the DOM methods, we make sure to do a 'deep' set on mDocument *before* calling to their nsIContent brethren. This ensures that any code in layout that wants to access the document gets the right value. r=scc
2000-02-03 07:55:34 +00:00
pp%ludusdesign.com
2dec24638f
Removed hand-made QueryInterface that wasn't used for a long time.
...
r=pinkerton@netscape.com
2000-02-03 01:25:38 +00:00
valeski%netscape.com
ba35ff22b6
r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data.
2000-02-02 23:04:47 +00:00
waterson%netscape.com
f2c4bf1e4b
Revert changes that cause mail sort to crash.
2000-02-02 19:46:03 +00:00
waterson%netscape.com
c02a1bd063
Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt
2000-02-01 22:57:36 +00:00
pp%ludusdesign.com
207f05242d
Conversion to NS_GET_IID(). Bug #20232 , r=scc@netscape.com
2000-02-01 14:26:27 +00:00
beard%netscape.com
6d7a795711
fix nsIAtom leak. bug=25778, r=waterson
2000-01-31 23:29:08 +00:00
vidur%netscape.com
fa580e6551
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
2000-01-28 23:43:12 +00:00
hyatt%netscape.com
75fc002bef
Fix for bug#15946
2000-01-28 03:41:24 +00:00
hyatt%netscape.com
91dc71fa50
Getting rid of createPopup
2000-01-28 03:04:40 +00:00
sspitzer%netscape.com
cfd34527c8
fix for crash in bug #25339 , r=hyatt. the problem is someone is trying to select a null
...
element in the tree (from js). now, on to fix that problem.
2000-01-28 01:30:29 +00:00
hyatt%netscape.com
ab1edf20c4
Making the XUL key listener a bubbler. Removing its capability to handle
...
textareas and inputs.
2000-01-27 09:43:19 +00:00
hyatt%netscape.com
8a6b1e24db
More popup work.
2000-01-26 23:30:10 +00:00
sspitzer%netscape.com
f2bd52d7b4
change PR_ASSERT to NS_ASSERTION. on linux, PR_ASSERT calls abort, and
...
I was getting getting to the PR_ASSERT when copying text in a quoted mail message. r=akkana, a=leaf
2000-01-26 20:39:28 +00:00
norris%netscape.com
e7f484f030
Fix 23227 Document object vulnerability
...
r=mstoltz
2000-01-26 15:33:57 +00:00
jband%netscape.com
bf596d809e
Lots of xpconnect bug fixes...
...
- fix bug 12954 "should throw when setting non-settable props".
- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)
- fix bug 22802 "[MLK] XPConnect Leaks".
- fix bug 24119 "[MLK] Reminder about cleaning up maps".
- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.
- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.
- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.
- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.
- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.
- Added myself as first contributor to xpconnect files (vanity prevails!)
- Added new copyright header on some files that were missing it.
- Added some API comments.
- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.
- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.
r=mccabe
2000-01-26 08:38:10 +00:00
waterson%netscape.com
7adc8ab9ce
Minor code cleanup from review with brendan: use shared finalizer in nsJSUtils.
2000-01-26 01:56:56 +00:00
waterson%netscape.com
6b57e35cbf
Use NS_REINTERPRET_CAST instead of including private header files.
2000-01-26 01:55:59 +00:00
hyatt%netscape.com
dc211f8b71
Multiple selection capability configurable in trees now.
2000-01-25 10:30:51 +00:00
hyatt%netscape.com
e7f4743275
Fixing Linux bustage.
2000-01-25 08:39:53 +00:00
hyatt%netscape.com
0f660e6f84
Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
2000-01-25 06:35:27 +00:00
putterman%netscape.com
4c53f418ec
r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this.
2000-01-25 05:09:23 +00:00
waterson%netscape.com
8e421b1013
Clean up shared structures between nsRDFGenericBuilder.cpp and nsXULSortService.cpp; r=rjc
2000-01-25 04:07:41 +00:00
nisheeth%netscape.com
71218baaf6
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
2000-01-24 06:43:15 +00:00
jfrancis%netscape.com
a3e8b4f225
fixing rdf build bustage
2000-01-23 00:25:21 +00:00
waterson%netscape.com
903106b34d
Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan
2000-01-22 22:00:35 +00:00
troy%netscape.com
73a3709284
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
3326c2959e
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
2000-01-21 21:56:09 +00:00
waterson%netscape.com
e09257d601
Gak. Forgot to comment the oddity that may occur...
2000-01-19 06:00:25 +00:00
waterson%netscape.com
2a0ceed3cd
Remove bogobotch that is breaking cloneNode(). r=brendan
2000-01-19 05:51:30 +00:00
hyatt%netscape.com
3eba131f6d
Adding a XUL element factory so that the XML content sink over in layout will
...
be able to make XUL elements. r=waterson
2000-01-19 03:28:06 +00:00
hyatt%netscape.com
34daeaf790
Patching XUL documents so that they support extensibility of content creation.
...
Patching the RDF generic builder so that it can build any type of content
element (using the generic factory building interface). r=waterson
2000-01-19 03:11:39 +00:00
rjc%netscape.com
a79808057a
A few small sorting tweaks.
2000-01-19 02:39:40 +00:00
rjc%netscape.com
a0bd108d98
Enable the optimized binary insertion node with end-point interpolation. (Sort-of) review: putterman@netscape.com
2000-01-19 01:44:29 +00:00
waterson%netscape.com
8c4c85068e
Bug 24134. Re-apply r1.233, which was steamrollered by tao's recent checkin. Re-using the r=valeski here.
2000-01-17 19:34:23 +00:00
rjc%netscape.com
a1b89b2a67
More preparations to land an optimized binary insertion node. (Going to test more later. Currently #ifdef'ed out.)
2000-01-17 13:15:44 +00:00
rjc%netscape.com
36312faa26
Prepare to land an optimized binary insertion sort. (Going to test more later. Currently #ifdef'ed out.)
2000-01-17 11:00:13 +00:00
rjc%netscape.com
5f86c23d82
Small optimizations.
2000-01-17 07:02:17 +00:00
danm%netscape.com
75c9537a73
reapplying changes from rev 1.234, which was lost as part of 1.235
2000-01-15 05:53:41 +00:00
alecf%netscape.com
c8bd09546c
attempted fix at build bustage. I have no idea if this is the "right" thing or not but it gets the build green
2000-01-15 03:51:31 +00:00
tao%netscape.com
36794ca76e
bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
2000-01-15 02:01:05 +00:00
mscott%netscape.com
a4cd9d9233
Bug #24007 --> you can't remove xul elements from html elements in JS
...
this was because of an unitialized variable in layout because xul elements
don't support the notion of ranges.
r=waterson
2000-01-15 01:37:16 +00:00
rjc%netscape.com
a55af95dc3
Sorting optimizations. (Sort-of) review by putterman@netscape.com
2000-01-14 01:21:55 +00:00
brendan%mozilla.org
1523114e47
InitStandardClasses so JS compiler makes well-prototyped objects (22048,22098 r=shaver).
2000-01-14 00:49:30 +00:00
danm%netscape.com
273c808d4d
removing initial window sizing from StartLayout (now done in nsWebShellWindow). Long overdue change; also necessary as part of bug 15775. r:hyatt@netscape.com
2000-01-13 23:49:25 +00:00
waterson%netscape.com
8dc912babc
Bug 23799. Ignore failure from GetContentType() in StartDocumentLoad(), because some channels may not have yet resolved the content type. In this case, cross our fingers and pray that it's text/xul. r=valeski
2000-01-13 23:23:51 +00:00
waterson%netscape.com
80e60176f5
Remove some additional bogoasserts.
2000-01-13 23:18:05 +00:00
rjc%netscape.com
4f132a7335
Attempt to fix wensleydale (SunOS 5.6) bustage.
2000-01-13 11:03:56 +00:00
rjc%netscape.com
0c20439693
Sorting optimizations. (Sort-of) review by putterman@netscape.com
2000-01-13 10:16:32 +00:00
hyatt%netscape.com
f7f7d21108
Fix Linux bustage.
2000-01-13 09:20:58 +00:00
hyatt%netscape.com
e633a33ee6
Giving XUL elements the capability to own bindings.
2000-01-13 08:48:33 +00:00
alecf%netscape.com
8d94f68ba7
expose the form controls in a XUL document in the "controls" DOM attribute
...
this will make prefs and wizards much faster
r=hyatt
2000-01-13 02:59:08 +00:00
waterson%netscape.com
f438e8bc66
Remove assertion from nsRDFDOMNodeList::Item(); it was being triggered from JS, and it really isn't a "fatal" program condition.
2000-01-13 02:49:10 +00:00
waterson%netscape.com
c592a32ef5
Bugs 20724, 23715. Add a fixed-size allocator for nsXULAttribute objects. Always atomize 'id' attributes so nsXULElement::GetID() can be fast. r=hyatt
2000-01-13 02:22:16 +00:00
sspitzer%netscape.com
c048f5dd70
fix warning.
2000-01-12 08:57:41 +00:00
waterson%netscape.com
d5e2b582cc
Bug 17195. Implement nsIDOMNode::CloneNode(). r=hyatt
2000-01-12 03:23:48 +00:00
rjc%netscape.com
eb54e62d0d
Somehow, we lost some of the magical attributes we need to check for. (coalescing dup arcs, and allowing negative arcs)
2000-01-12 01:47:23 +00:00
rjc%netscape.com
816e4b7276
Tweak resource cache usage. Change from putterman, Review from me
2000-01-11 22:03:53 +00:00
waterson%netscape.com
89355cf082
Bug 22915. Be sure to add the nsCachedChromeChannel to the load group on nsIChannel::SetLoadGroup(). Also, don't assume (in nsXULDocument::StartDocumentLoad) that when you 'hit' in the cache that the channel is actually a nsCachedChromeChannel; instead, inspect its content type. Finally, get rid of extraneous 'command' member variable in nsCachedChromeChannel. r=mscott
2000-01-11 21:18:19 +00:00
pp%ludusdesign.com
13efd9e8c6
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rjc%netscape.com
b6e90a484e
Use native ptr [via .get()]
2000-01-11 08:41:15 +00:00
rjc%netscape.com
183039b2ca
Defer creation of resource cache until a sort is imposed. Also, added a temporary working for db->OnChange() not enjoying a null oldTarget.
2000-01-11 08:38:47 +00:00
rjc%netscape.com
1528bdccb4
Move resource cache up from the XUL sort service into the generic builder. Review: me
2000-01-11 06:28:28 +00:00
waterson%netscape.com
71ec8c3d5f
Take out crufty debug printfs.
2000-01-11 02:49:18 +00:00
hyatt%netscape.com
5e51092a3b
Making nsIXULContent visible.
2000-01-10 04:03:12 +00:00
hyatt%netscape.com
63c91e910b
Teaching the XUL DOM how to keep anonymous content events from being seen
...
by enclosing explicit content.
2000-01-10 03:57:49 +00:00
rpotts%netscape.com
3e79b2aec1
Made contentType a read/write attribute of nsIChannel
2000-01-08 06:26:04 +00:00
hyatt%netscape.com
9f455a7174
Making tree scrolling faster.
2000-01-08 02:18:14 +00:00
waterson%netscape.com
d83b83c647
Bug 21477. Add |nsIContent** aFirstGeneratedChild| parameter to several methods that is used as an 'out' parameter to determine the first generated child in a subtree. This allows us to send the correct |ContentAppended()| notification to layout. Fixes the 'unfurling menu' problem. r=rjc
2000-01-08 00:27:04 +00:00
alecf%netscape.com
e0bcb4a2e6
one more time! this time don't look inside templates, instead look inside <treechildren> of trees
...
r=scottip
2000-01-07 00:38:24 +00:00
alecf%netscape.com
ee1440d6a7
followup fix for #12895 - actually find the content correctly
...
r=scottip
2000-01-07 00:00:27 +00:00
waterson%netscape.com
06963c43cc
Bug 22805. Wrap NS_GetWeakReference() with getter_AddRefs(). Thanks beard! r=beard
2000-01-06 20:01:56 +00:00
nhotta%netscape.com
69424c2181
Fixed memory leak, bug 22281, r=waterson.
2000-01-06 19:47:20 +00:00
alecf%netscape.com
5f40caae8f
fix my previous checkin after talking to hyatt - we'll be getting the outer frame, so iterate through the children and QI on each one, sending EnsureRowIsVisible to each when it succeeds
...
r=hyatt
2000-01-06 09:19:31 +00:00
alecf%netscape.com
4a01d2ad5a
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
2000-01-06 07:54:43 +00:00
waterson%netscape.com
19c9efac8e
Bug 19033. Wait until the parse is complete to set the 'root' element in the prototype document. This ensures that malformed XUL with too few close-tags won't leave the prototype document with a dangling pointer to a destroyed element. r=hyatt
2000-01-06 00:29:30 +00:00
sspitzer%netscape.com
1ff7f19198
fix warnings.
1999-12-28 19:37:29 +00:00
sspitzer%netscape.com
985576866d
only hyatt needs to see his debugging printfs.
1999-12-24 07:53:41 +00:00