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
peterv%netscape.com
2ccc2317a7
Bug 123899 (document.body.innerHTML is broken). Don't notify the document twice about content modification from script. r=Fabian, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@116973 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 13:22:27 +00:00
badami%netscape.com
da14c60c9d
forget datas - If no basehref is specified in head but one is in the body use the one in the body.
...
bug 121481 r=harishd sr=jst a=asa patch=tmutreja@netscape.com
git-svn-id: svn://10.0.0.236/trunk@116949 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:43:23 +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
kmcclusk%netscape.com
8cc792af65
Sample the system clock only once out of every 200 tokens when in the low frequency parser interruption mode to improve page load time on large pages. bug 124697 r=harishd sr=attinasi a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115895 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:00:48 +00:00
peterlubczynski%netscape.com
a25dbbd889
Making applets and objects monolithic containers to fix problem in bug 108363 where not all params make it to the plugin. Patch by adu@sparc.spb.su r=peterl sr=attinasi a=roc+moz (and for last checkin too)
...
git-svn-id: svn://10.0.0.236/trunk@115134 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 02:05:21 +00:00
alecf%netscape.com
83ac6a3dcc
progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
...
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd
git-svn-id: svn://10.0.0.236/trunk@114304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:17:53 +00:00
radha%netscape.com
2bd74e926a
Fox for bug # 109485. Meta refresh works differently than otehr browsers. r=valeski. sr=jaggernaut.
...
git-svn-id: svn://10.0.0.236/trunk@114073 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:46:09 +00:00
rpotts%netscape.com
bc4e6e1a96
bug #117948 (r=bzarsky@mit.edu, sr=vidur@netscape.com) Ignore the HTTP Window-Target header inside of <meta> tags
...
git-svn-id: svn://10.0.0.236/trunk@113680 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 04:46:54 +00:00
harishd%netscape.com
c8641ade9a
Do not create a new node info with |no name| for userdefined tags. b=113349, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@112900 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 23:25:09 +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
brade%netscape.com
773e92d74f
remove unused static kCharsetConverterManagerCID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
...
git-svn-id: svn://10.0.0.236/trunk@111812 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:07:22 +00:00
harishd%netscape.com
476668ebbc
105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
peterv%netscape.com
2fa512bd41
XHTML is case-sensitive. Pass the right flag to NS_CreateHTMLElement r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@111446 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 10:34:41 +00:00
bryner%netscape.com
87d7aa496f
Initial checkin of XBL select widget (listbox) code (bug 112713).
...
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.
r=jag, sr=hyatt. Note that the new select widget is NOT turned on by
default.
git-svn-id: svn://10.0.0.236/trunk@111407 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 07:17:10 +00:00
timeless%mac.com
21c081c8bc
Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
...
r='s from many people. sr=jst
git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
sicking%bigfoot.com
de73bb35c1
Bug 17003. Give textareas a childnode and connect that childnode to .defaultValue. Also make textareas work properly for display: none;
...
r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@111045 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 16:06:13 +00:00
jaggernaut%netscape.com
576ec93128
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
436d43f211
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
...
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jst%netscape.com
da1d2917dd
Removing dead code, r=sicking@bigfoot.com, sr=me, no bug #.
...
git-svn-id: svn://10.0.0.236/trunk@110569 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 08:16:29 +00:00
harishd%netscape.com
920d9110b8
98218 - set layout mode whether a DOCTYPE exists or not
...
r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@110035 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 21:53:39 +00:00
attinasi%netscape.com
ba496b391d
Prevent crash when IFRAME is reframed during layout. bug=108105 r=dbaron sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@109903 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:02:03 +00:00
jst%netscape.com
9dbb6356f3
Oops, forgot to make peterv's suggested comment changes when checking in the fix for bug 109854.
...
git-svn-id: svn://10.0.0.236/trunk@109185 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 07:14:00 +00:00
jst%netscape.com
6ef8928139
Fixing bug 109854. Don't let HTMLContentSink::DemoteContainer() mess up the order of the form controls in form.elements, and rename DemoteContainer() to DemoteForm(). Patch by jkeiser@iname.com and myself, r=peterv@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@109130 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 11:00:14 +00:00
dbaron%fas.harvard.edu
3233bfeefd
Fix more |#ifdef DEBUG| bustage from jst's checkin.
...
git-svn-id: svn://10.0.0.236/trunk@109125 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 07:57:55 +00:00
jst%netscape.com
e9bd9a6f04
Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:13:11 +00:00
jst%netscape.com
b2781576cf
Fixing bug 110924. Speeding up HTMLContentSink::AddAttributes() and nsGenericHTMLElement::IsEventName(). r=bzbarsky@mit.edu, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@108682 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:10:41 +00:00
morse%netscape.com
d82e69afa8
bug 104894, parsing p3p compact policies, r=harishd, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@108304 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 15:05:53 +00:00
dbaron%fas.harvard.edu
5d903ccb5f
Avoid pointless nsAutoString construction and extra copy. b=109250 r=jag sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@108163 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:47:39 +00:00
dbaron%fas.harvard.edu
13b5500ba3
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
...
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
jkeiser%iname.com
5c1f007583
Fix from jst@netscape.com to URL-escape A NAME (bug 87996)
...
git-svn-id: svn://10.0.0.236/trunk@107439 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 07:14:40 +00:00
jst%netscape.com
474e0aed63
Fix problem in the formrewrite changes, the new code ends up doing a flush on the document from within DemoteContainer() in the sink which ends up notifying the document about some peices of content more than once. This causes duplicated content on some pages. r=jkeiser@iname.com. sr=myself.
...
git-svn-id: svn://10.0.0.236/trunk@107100 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 11:28:20 +00:00
jst%netscape.com
81bf1f1956
Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
jst%netscape.com
ac8fa2d5a5
Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. r=dbaron@netscape.com, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@106681 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 10:14:06 +00:00
jaggernaut%netscape.com
9e8f600926
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
harishd%netscape.com
eeeb1c2290
97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
...
99282 - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105792 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:48:18 +00:00
dbaron%fas.harvard.edu
1382ac90eb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
locka%iol.ie
59b39390f6
Checkin makes scrolling to anchors faster by attempting to scroll to the named element from the content sink's timer routine rather than waiting until page loading completes. b=58661 r=heikki@netscape.com sr=jst@netscape.com a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@104653 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 10:39:01 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
harishd%netscape.com
1c4e4c74ec
96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
...
r=dp,shanjian,sfraser, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@104152 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:17 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
rjesup%wgate.com
3d0a34aaca
Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
...
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
r=hyatt r=pierre sr=jst
git-svn-id: svn://10.0.0.236/trunk@102430 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:16:03 +00:00
valeski%netscape.com
8db35965a8
r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
...
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
dbaron%fas.harvard.edu
9a632e0396
Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
...
git-svn-id: svn://10.0.0.236/trunk@102072 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5f0d92745b
Backing out unapproved checkin for bug 97227. a=brendan,blizzard
...
git-svn-id: svn://10.0.0.236/trunk@102064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
3d787fbce9
bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
...
git-svn-id: svn://10.0.0.236/trunk@102039 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 21:47:45 +00:00
hyatt%netscape.com
4f51638ef4
Fix for 95475. r=jag, sr=ben, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00