darin%netscape.com
10ba1113a1
fixes bug 151478 "https wyciwyg page is cached on disk" r=mstoltz sr=rpotts a=asa
...
git-svn-id: svn://10.0.0.236/trunk@131775 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 04:22:54 +00:00
dbaron%fas.harvard.edu
c2de335afb
Fix leaks from nsDocument::mPrincipal by making it an nsCOMPtr. b=170201 r=mstoltz sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@130316 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 01:27:44 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
bryner%netscape.com
929cad272b
Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@128925 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 00:19:58 +00:00
roc+%cs.cmu.edu
c6bb83f66a
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
jst%netscape.com
ed117f9119
Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@127114 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 00:50:50 +00:00
peterv%netscape.com
31de3f5600
Fix for bug 138295 (XML Loading on Mac fails on .childNodes of non-root nodes). r=mstoltz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@126889 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 08:45:30 +00:00
sicking%bigfoot.com
fdf8ae5b5f
Make sure it is possible to get URI of xul elements even if they share nodeinfo with their prototype and are removed from the document tree.
...
b=156452 r=bz sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@125642 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:16:45 +00:00
jkeiser%netscape.com
01341d9e3c
Make radio buttons work without forms (bug 14445), r=rods@netscape.com, sr=jst@netscape.com, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@125544 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 23:09:24 +00:00
sicking%bigfoot.com
7ef44d6e76
Add same-origin checks in a few DOM methods. Patch by me and jst.
...
b=156452, r=jst/me, sr=bz, a=pending
git-svn-id: svn://10.0.0.236/trunk@125294 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 13:09:15 +00:00
sicking%bigfoot.com
f0e2529596
Add sameorigin checks to treewalker
...
b=156452, r=mstoltz, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125233 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:25:27 +00:00
jst%netscape.com
9dc48e1db8
Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@121802 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:02:50 +00:00
caillon%returnzero.com
00ebc565e0
Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121437 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:28:17 +00:00
bzbarsky%mit.edu
5ad9be30cc
Bug 140758 redux -- cache results of getElementsByTagName in case people call
...
it in a loop. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121093 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:48:19 +00:00
bzbarsky%mit.edu
abc6497b45
Back last checkin out till I get the windows casting stuff settled out....
...
git-svn-id: svn://10.0.0.236/trunk@121038 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 04:13:16 +00:00
bzbarsky%mit.edu
c195950355
Bug 140758 -- cache results of getElementsByTagName in case people call
...
it in a loop. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121033 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:15:45 +00:00
peterv%netscape.com
2c2fdc6a40
Fix for bug 140060 (ReplaceChild on a document's documentElement fails). r=bz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@120011 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:52:48 +00:00
jaggernaut%netscape.com
fe68e4711d
Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
...
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
joki%netscape.com
568563a1cc
Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
...
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
jst%netscape.com
67ee650f45
Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
peterv%netscape.com
eb1e6e2ca8
Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@119096 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 11:57:17 +00:00
dbaron%fas.harvard.edu
1e850f52c6
Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
timeless%mac.com
bcb964d3df
http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
...
Backing out the fix for bug 52334
approved by sheriff (karnaze) and cathleen
git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921
Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
jst%netscape.com
68b586dd87
Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
...
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530
Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
hewitt%netscape.com
7fd03a3524
bugs 110156, 110155
...
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa
Also includes fixes by Jan Varga (varga@utcruk.sk ) for bugs 132020, 133451, 131393, 115894, and 129327
git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 02:46:01 +00:00
dbaron%fas.harvard.edu
c43a97f1d5
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117353 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:54:46 +00:00
darin%netscape.com
8defbf5d26
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
dbaron%fas.harvard.edu
a397ea7022
Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@116720 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:34:43 +00:00
rbs%maths.uq.edu.au
84d6bd5d71
perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
dbaron%fas.harvard.edu
e9f90d8c2a
Prevent nsDocument from calling |Release| on a stylesheet that it doesn't own when told to remove that stylesheet. Fixes a theme switching crash. b=129620 r=peterv sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@116178 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 21:05:27 +00:00
bryner%netscape.com
01634657fa
- Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
...
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.
Bug 128947, r=dbaron, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
b9be6f3f0d
Fix bug 57524, r=peterv, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115856 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:39:40 +00:00
hidday%geocities.com
f7e9f57834
Bug 93649, document.plugins should map to document.embeds for NS4
...
compatibility. r=bzbarsky@mit.edu sr=jst@netscape.com a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115149 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 12:21:15 +00:00
smontagu%netscape.com
d0afe74092
Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
bzbarsky%mit.edu
f68919f405
Relanding the Compare --> Equals conversion. a=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
2ab4074373
Testing performance impact of backout of part of patch from bug 115289.
...
See bug 123947 for details.
git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
jst%netscape.com
35a3a33c39
Fixing bug 118194. Make sure we don't leave dangling document pointers in the content tree when the document goes away. r=bzbarsky@mit.edu, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@114110 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:42:44 +00:00
brade%netscape.com
70dbba7b56
remove nsIDiskDocument usage (instead use nsIWebBrowserPersist); bug 102033, r=glazman, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@114037 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:50:49 +00:00
peterv%netscape.com
b1c3df0cf1
Fix importNode, need to set the document before notifying. Bug 124358. r=Pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@114021 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:28:15 +00:00
jst%netscape.com
4e17fc730c
Fixing bug 115352. Making FlushPendingNotifications() properly flush the parent document as well if there is one. This causes layout data in iframes to not always be up to date since iframe sizes are dependent on the parent being reflown. r=peterv@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@113683 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:47:22 +00:00
bzbarsky%mit.edu
2fd80b82c9
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
jst%netscape.com
6b1260a9e6
Fixing bug 118933. Speeding up the id and name hash tables in nsHTMLDocument by changing them over from nsHashtable/nsStirngKey to pldhash. Also combining the hashes to optimize performance and memory useage. r=heikki@netscape.com, sr=jband@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@112844 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 06:37:35 +00:00
bzbarsky%mit.edu
ad1fb22926
Change users of Length() to IsEmpty() where the code really cares about
...
the latter in content/. Bug 100649, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
mkaply%us.ibm.com
b5f15cc499
#120431
...
a=brendan for drivers
OS/2 only - temp fix to workaround optimizer bug
git-svn-id: svn://10.0.0.236/trunk@112520 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 15:54:36 +00:00
brade%netscape.com
e1d226f0c4
remove unused statics kPresShellCID and kCParserCID for gain of 32 bytes (bug 117927; r/sr=jst,darin)
...
git-svn-id: svn://10.0.0.236/trunk@111808 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:05:04 +00:00
peterv%netscape.com
e5bd1b0b77
Check for i < Count() before accessing mObservers[i] (mObservers is nsAutoVoidArray). rs=glazman, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@111680 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:44:10 +00:00
jst%netscape.com
f9449b0c2f
Fixing bug 116466. Making mozilla fire a 'DOMFrameContentLoaded' event on all parent documents of a [i]frame when the *ML in the [i]frame is done loading (excluding external resources). r=heikki@netscape.com, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@111561 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 07:01:53 +00:00