jaggernaut%netscape.com
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
jst%netscape.com
fda78afca3
This change was left out by mistake when fixing bug 81290 last night, sr=vidur@netscape.com, r=harishd@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@98335 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 00:19:18 +00:00
vidur%netscape.com
599c0d0fe9
Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@98320 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:56:58 +00:00
jst%netscape.com
bab56626df
Fixing bug 84648. The parser blocking code had regressed to re-introduce a problem with document.write()'ing <link> elements from inline scripts. patch by vidur@netscape.com&jst@netscape.com, r=harishd@netscape.com, sr=jst&vidur
...
git-svn-id: svn://10.0.0.236/trunk@98271 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 09:59:45 +00:00
heikki%netscape.com
24924b35f0
Bug 75700, fixed bad internal namespace with xmlns=''. r=harishd,sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@97988 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 22:25:33 +00:00
mstoltz%netscape.com
300c02cfa2
86019 - Change stack-walking code in caps to keep functions from inheriting privileges
...
from their caller. r=jesse@netscape.com , sr=jst@netscape.com , a=asa@mozilla.org , PDT+
86982 - Add same-origin security check to XMLDocument::Load(). r,a=blizzard@mozilla.org,
sr=jst@netscape.com
84191 - Fixing regression in Open URL dialog by not calling CheckLoadURI when it isn't
needed. r=cmanske@netscape.com , sr=sfraser@netscape.com , a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97722 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 02:08:10 +00:00
dbaron%fas.harvard.edu
88810ef1eb
Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
...
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
cls%seawood.org
88aedd461b
Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
...
Changes allow us to have a finer control over which parts of the tree are built with PIC. Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
peterv%netscape.com
dde779814c
Fix for bug 83612 (Correct/cleanup style loading code in content). r=heikki, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@97145 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 12:33:38 +00:00
jst%netscape.com
1028bdf510
Removing unnecessary forward declaration of nsIScriptObjectOwner.
...
git-svn-id: svn://10.0.0.236/trunk@95582 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 03:29:19 +00:00
peterv%netscape.com
f74c7ea12a
Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
vidur%netscape.com
51d5bb6a4a
Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@95228 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:54:16 +00:00
shanjian%netscape.com
4c4c552ae0
#72299 User could not override charset from http server
...
r=nhotta, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94931 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 03:42:33 +00:00
nisheeth%netscape.com
eeb70ed5a9
Fix OS/2 build bustage from fix to bug 29171.
...
git-svn-id: svn://10.0.0.236/trunk@94762 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 07:12:33 +00:00
nisheeth%netscape.com
31703335d7
r=heikki. sr=jst. Fix for bug 29171. Create HTML unknown element for non-lowercased elements that are in the XHTML namespace.
...
git-svn-id: svn://10.0.0.236/trunk@94747 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 05:10:48 +00:00
darin%netscape.com
81e317535f
Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
jst%netscape.com
9d299d36ce
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
heikki%netscape.com
7788ebd4ed
Bugs 67887, 67893, 67882, 68185, 73160, 77923. Added support for XHTML base href and target attributes, meta http-equiv and link href. Fixed the blank page bug when xml-stylesheet PI did not contain href attribute. Fixed getElementById() to not match XHTML name attribute. This fix also includes some minor cleanup. r=nisheeth, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@93488 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 23:35:09 +00:00
rpotts%netscape.com
e8ce898932
fix for bugs #55867 , 63529, 26295, 63247 (r=darin, valeski)
...
git-svn-id: svn://10.0.0.236/trunk@93297 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:05:52 +00:00
peterv%netscape.com
846cfab67c
Fix for bug 45377 (document base is not set right in nsXMLDocument::Load). Code by heikki, r=me, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@92544 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 09:46:29 +00:00
peterv%netscape.com
0798dc357b
Fix for 75724 (duplicate data in inline stylesheets). r=glazman, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@92193 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 10:35:40 +00:00
glazman%netscape.com
5b94c6728b
Default namespace in html:style was HTML by default; b=72302, r=peterv, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@91043 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 13:56:22 +00:00
pollmann%netscape.com
fa49d41052
Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@91014 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 00:45:52 +00:00
disttsc%bart.nl
3ea7009900
Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna)
...
git-svn-id: svn://10.0.0.236/trunk@90883 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 10:39:06 +00:00
cls%seawood.org
238046be17
Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
...
Bug #68381 r=jag
git-svn-id: svn://10.0.0.236/trunk@90452 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:40:28 +00:00
mstoltz%netscape.com
6079a31c93
Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
...
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.
git-svn-id: svn://10.0.0.236/trunk@90195 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 04:22:56 +00:00
heikki%netscape.com
1ddf3b7ae8
Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@90161 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:27:10 +00:00
heikki%netscape.com
9595e206f3
Didn't notice tree was closed, backing out to wait for open.
...
git-svn-id: svn://10.0.0.236/trunk@90036 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 23:35:22 +00:00
heikki%netscape.com
5fb127d4e0
Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@90035 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 23:20:12 +00:00
pollmann%netscape.com
66a5319730
Bug 72288: Don't turn off scrollbars on all XML documents, r=heikki@netscape.com, sr=blizzard@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@89971 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:00:18 +00:00
heikki%netscape.com
39b54ea982
Removed unused variable. NS_PAGE_LOAD is nsEvent, not nsMouseEvent. r=harishd.
...
git-svn-id: svn://10.0.0.236/trunk@89855 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:19:48 +00:00
pollmann%netscape.com
75ef031b93
Bug 68010: Make XML/XHTML documents obey scrolling attribute on containing frames/iframes, remove unused variable, r=heikki@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@89632 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:35:40 +00:00
Peter.VanderBeken%pandora.be
275b883c56
Expose Reset from nsIDocument.
...
r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89330 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:39:27 +00:00
Peter.VanderBeken%pandora.be
8870a5780e
Expose Reset from nsIDocument.
...
Implement CreateAttributeNS for XML documents.
r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89328 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:36:20 +00:00
Peter.VanderBeken%pandora.be
67273ad638
Add LoadComplete call for result of an XSLT transform, switch source document and result document before the transform, fix crash when transform fails (bug 67066). r=jag, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@89327 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:34:40 +00:00
Peter.VanderBeken%pandora.be
328e0907f9
Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@89252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 21:02:12 +00:00
disttsc%bart.nl
abd8de21e5
Change implicit conversion from
...
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|
to explicit |get()|.
Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).
Bug=53057, r=alecf, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
heikki%netscape.com
83465be4dc
Bug 36790, support XHTML style element. Also fix CDATA section handling for title and textarea elements. r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@88217 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:51:35 +00:00
waterson%netscape.com
072b4036bc
Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@87623 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:01:34 +00:00
disttsc%bart.nl
0fb2740ab9
Fix senna bustage (and bustage to be), update REQUIRES for dougt's channel changes and scc's string lib changes. r=cls
...
git-svn-id: svn://10.0.0.236/trunk@87601 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 22:35:36 +00:00
dougt%netscape.com
175245e2de
Relanding Necko Changes.
...
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
r=darin@netscape.com
sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
heikki%netscape.com
80b36e2891
Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
...
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
disttsc%bart.nl
03f69c5003
Back out dougt's channel changes
...
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
disttsc%bart.nl
e2205bb1be
From Small Gods, by Terry Pratchett:
...
The light was brilliant, crystalline, in a black sky filled with stars.
'Ah. There really is a desert. Does everyone get this?' said Brutha.
WHO KNOWS?
'And what is at the end of the desert?'
JUDGEMENT.
Brutha considered this.
'Which end?'
Death grinned and stepped aside.
What Brutha had thought was a rock in the sand was a hunched figure, sitting clutching its knees. It looked paralysed with fear.
He stared.
'Vorbis?' he said.
He looked at Death.
'But Vobis died a hundred years ago!'
YES. HE HAD TO WALK IT ALL ALONE. ALL ALONE WITH HIMSELF. IF HE DARED.
'He's been here fore a hundred years?'
POSSIBLY NOT. TIME IS DIFFERENT HERE. IT IS . . . MORE PERSONAL.
'Ah. You mean a hundred years can pass like a few seconds?'
A HUNDRED YEARS CAN PASS LIKE INFINITY.
The black-on-black eyes stared imploringly at Brutha, who reached out automatically, without thinking . . . and then hesitated.
HE WAS A MURDERER, said Death. AND A CREATOR OF MURDERERS. A TORTURER. WITHOUT PASSION. CRUEL. CALLOUS. COMPASSIONLESS.
'Yes. I know. He's Vorbis,' said Brutha. Vorbis changed people. Sometimes he changed them into dead people. But he always changed them. That was his triumph.
He sighed.
'But I'm me,' he said.
Vobis stood up, uncertainly, and followed Brutha across the desert.
Death watched them walk away.
The End.
git-svn-id: svn://10.0.0.236/trunk@86791 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:12:57 +00:00
dbaron%fas.harvard.edu
43880accc9
Update REQUIRES to fix senna bustage.
...
git-svn-id: svn://10.0.0.236/trunk@86744 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 03:06:49 +00:00
dougt%netscape.com
7af79c83df
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
...
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
The full details of the change on written up in the netlib newsgroup.
r=darin@netscape.com
sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
harishd%netscape.com
ad2e158d13
68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
...
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@86704 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:36:23 +00:00
harishd%netscape.com
155017d753
Use resumeParsing instead of EnableParse().
...
r=jst
sr=vidur
git-svn-id: svn://10.0.0.236/trunk@86370 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:31:17 +00:00
heikki%netscape.com
b991c17f24
Bugs 53615 and 51815. XHTML title element did not change window title, and textarea did not have default text. r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@86137 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:16:20 +00:00
dbaron%fas.harvard.edu
85a014d876
Add lwbrk to REQUIRES to fix MOZ_TRACK_MODULE_DEPS bustage.
...
git-svn-id: svn://10.0.0.236/trunk@85692 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:27:47 +00:00