Граф коммитов

2480 Коммитов

Автор SHA1 Сообщение Дата
blakeross%telocity.com 6573419a09 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +00:00
bratell%lysator.liu.se f09e2d433f The right fix for bug 74328. This was the one that was reviewed and I have no idea where the old one came from. r=waterson sr=jst 2001-04-05 03:38:20 +00:00
bratell%lysator.liu.se 3313029adc Fix for bug 74328, removing O(n^2) algorithm from ContentAppended. This saves time on big pages. r=waterson sr=jst 2001-04-05 03:14:57 +00:00
ben%netscape.com 3f3fd3de5d Partial fix for 73905, JS files not loaded with nsIChannel::LOAD_NORMAL.
r=darin, sr=hyatt
2001-04-04 07:21:36 +00:00
darin%netscape.com b117712a15 Fixes bug 73905 "CSS/JS documents are not cached" r=pierre, sr=waterson 2001-04-04 07:20:46 +00:00
hyatt%netscape.com 6626a4a006 Fix for mutation event crashers. 2001-04-04 04:30:03 +00:00
av%netscape.com b0e37cf2f3 For 73856, adding plugin host notification that the plugin instance is scriptable, sr=vidur, ra=jst 2001-04-03 22:33:32 +00:00
jst%netscape.com 8acb380147 Fixing crasher/regression bug 74431 that I caused a few weeks ago. 2001-04-03 07:14:12 +00:00
dbaron%fas.harvard.edu 2567905f44 Fix bustage (if CSS_REPORT_PARSE_ERRORS is defined) from scc's string branch landing. nsLiteralChar was removed, so use nsLocalString instead. r=disttsc@bart.nl sr=scc@mozilla.org 2001-04-02 21:14:23 +00:00
scc%mozilla.org c355507eda landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
glazman%netscape.com 93d965c462 Default namespace in html:style was HTML by default; b=72302, r=peterv, sr=attinasi 2001-04-02 13:56:22 +00:00
pollmann%netscape.com 19b315986e 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 2001-04-02 00:45:52 +00:00
disttsc%bart.nl 96f5f6cf31 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
glazman%netscape.com ad4cc99616 Support for :last-child pseudoclass; checking in for Ian Hickson ; b=46916, r=pierre, sr=attinasi 2001-03-30 10:20:57 +00:00
hyatt%netscape.com 33edb59e2d Checkin for 36665. r=pink, sr=waterson 2001-03-30 02:30:17 +00:00
heikki%netscape.com 2f7d5496ae Bug 72522, implemented DOM Level 3 baseURI property (node interface). r=harishd, sr=jst. 2001-03-30 02:15:21 +00:00
harishd%netscape.com e8da0993b5 71942 - Intialize the ptr to fix the crash.
49942 - Should not include parent when absolutely positioned.
Added border color property.
r=heikki
sr=jst
2001-03-30 02:08:48 +00:00
blakeross%telocity.com 8ad2a1e5c4 BodyFixupRule should not kick in in XHTML (73294, patch by Hixie -- ian@hixie.ch -- the once innocent std compliance qa turned engineer). r=tor sr=attinasi 2001-03-29 03:24:36 +00:00
morse%netscape.com 4ac856f988 bug 46783, reorg cookies module for embedding, r=valeski, sr=alecf 2001-03-29 02:11:48 +00:00
glazman%netscape.com d366db697f fix for Stylesheet Dump in viewer. b=71648, r=pierre, sr=attinasi 2001-03-28 08:02:20 +00:00
disttsc%bart.nl 6e48266508 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
kmcclusk%netscape.com 2c1157a5e0 Changed default for mNotificationInterval from 1sec to 1/4sec to improve incremental page load performance for slow connections/servers bug 72138; r=karnaze@netscape.com sr=attinasi@netscape.com 2001-03-23 14:16:05 +00:00
bryner%uiuc.edu a29202035c Removing unused code, for bug 38061. r=beard, sr=alecf. 2001-03-23 02:27:51 +00:00
hwaara%chello.se 21196afac5 Fix possible memory leak. bug 62668. r=hwaara, sr=attinasi. (initial fix by gverdun@acm.org) 2001-03-22 15:10:02 +00:00
jst%netscape.com bebfb308f0 Attempt at fixing OS2 bustage. 2001-03-22 10:47:23 +00:00
jst%netscape.com c2940dd311 Fixing bugs 64523, 50018, 57626, 59024, 61413 and probably others, making the document and form JS engine resolve hooks find what they're supposed to find, and nothing more, making the element-by-name and element-by-id lookup in the document be hashtable based to avoid walking the whole DOM tree over and over again when resolving names on the document object and also on form objects. This is an order of magnitude speedup for pages that contain a large number of form controls, such as hotmail and aol mail. Also did a bunch of cleanup here n' there. r=pollmann@netscape.com, sr=vidur@netscape.comI. 2001-03-22 08:51:52 +00:00
pavlov%netscape.com 8fd255977b adding ifdef'd code to use the new imagelib. bug #70938. r=jst sr=rpotts 2001-03-22 01:42:32 +00:00
pavlov%netscape.com abda3de65a adding ifdef'd code to use the new imagelib. bug #70938. r=rpotts sr=jst 2001-03-22 01:42:01 +00:00
glazman%netscape.com d20e313e4e easy fix for 71647 ; that bug was hidden behind 72302, [s]r=attinasi 2001-03-21 09:40:41 +00:00
hyatt%netscape.com 6b24608b5a Fix for 62985, r=dbaron, sr=attinasi 2001-03-21 08:10:20 +00:00
timeless%mac.com 1ed03e4187 ports bustage *sorry* HPUX doesn't want to make abstract temporary variables, so reverting 2001-03-21 07:10:15 +00:00
timeless%mac.com d44332bdf7 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
karnaze%netscape.com 7bb6ef4c39 bug 68912 - allow nsHTMLTableRowElement::SetCells() to pass a null value. sr=attinasi 2001-03-20 15:40:18 +00:00
glazman%netscape.com b547795c45 adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt 2001-03-20 11:49:20 +00:00
blakeross%telocity.com 0ad568f284 Crash when reading past the end of a CSSRuleList. patch by Hixie (ian@hixie.ch). r=blake, glazman sr=jst 2001-03-19 22:12:12 +00:00
pollmann%netscape.com 7212e2f4c4 Bug 65878: Make Image documents obey scrolling attribute on containing frames/iframes, remove unused variable, r=heikki@netscape.com, sr=jst@netscape.com 2001-03-14 07:35:29 +00:00
joki%netscape.com ee2eb43f20 Fix 49120 (Force event handler compilation when properties accessed from JS) and 53640 (Fix event capture to work starting from text nodes) r:peterv, sr:jst 2001-03-13 11:37:16 +00:00
jst%netscape.com bb5936e001 Fixing bug 70170. Making sure we unblock the parser after loading a script file even if loading the script failed or the script file was empty. r=pollmann@netscape.com, sr=rpotts@netscape.com. 2001-03-13 07:23:15 +00:00
hyatt%netscape.com aaf0e6df84 Fix for 70704 and 71261. r=pierre, sr=attinasi 2001-03-13 02:34:02 +00:00
jst%netscape.com 5bdb58601b Checking in some code cleanup in preparation for my next checkin to this file (a fix for bug 70170). r=pollmann@netscape.com, sr=rpotts@netscape.com 2001-03-13 02:27:25 +00:00
dougt%netscape.com 9c5d760307 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
Peter.VanderBeken%pandora.be c9f797564b Expose Reset from nsIDocument. r=jag, sr=jst. 2001-03-12 06:39:27 +00:00
Peter.VanderBeken%pandora.be fc084262e3 Expose Reset from nsIDocument and handle channel and/or URL being nsnull. r=jag, sr=jst. 2001-03-12 06:38:39 +00:00
harishd%netscape.com e9eab5cf9a Correcting indentation. 2001-03-11 21:07:33 +00:00
harishd%netscape.com d3f41aceb6 Indendation got messed up...somehow! CORRECTING. 2001-03-11 21:03:08 +00:00
harishd%netscape.com f1e706bc7a 69826 - Flush conten model to access named items
Fixed an assertion.
Added a few more properties for getComputedStyle and did some clean up.
r=heikki, sr=jst
2001-03-11 20:47:06 +00:00
attinasi%netscape.com 9cd9101366 Backed out last night's changes due to regression that exposed a fatal flaw in the idea of the fix. r=71561 2001-03-11 07:54:00 +00:00
Peter.VanderBeken%pandora.be ede8756d78 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
attinasi%netscape.com 63d7861535 Prevent text nodes from being passed to SelectorMatches to improve style resolution performance and ensure correctness. b=56117 r=pierre sr=waterson 2001-03-10 06:14:52 +00:00
hyatt%netscape.com 4c6682bec7 Fix for 71262 and 71485, r=jag, srs=shaver on 71262 and hewitt on 71485 2001-03-10 01:43:09 +00:00
mkaply%us.ibm.com 00632e1cf9 #70961
author=simon@softel.co.il; r=waterson; sr=erik
New layout atoms for bidi - not part of build yet due to #ifdef IBMBIDI
2001-03-09 04:15:34 +00:00
erik%netscape.com ca75151209 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:13:03 +00:00
dbaron%fas.harvard.edu 24822ec31e Remove long-obsolete file that hasn't been part of the build since late 1998. sr=buster@netscape.com 2001-03-09 03:10:47 +00:00
glazman%netscape.com 514b078cef Cleanup of ParseSelector() ; b=71100, r=peterl, sr=attinasi 2001-03-08 23:27:39 +00:00
dbaron%fas.harvard.edu dc14bce8cb Fix CSS_REPORT_PARSE_ERRORS build bustage resulting from string changes. 2001-03-08 14:25:11 +00:00
disttsc%bart.nl aebc676048 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
2001-03-08 08:05:05 +00:00
heikki%netscape.com b2ce503d1a Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson. 2001-03-08 02:41:16 +00:00
law%netscape.com 834275d324 Part of bug 57576; adding support for getting list-style-image; r=harishd, sr=jst 2001-03-08 00:55:01 +00:00
glazman%netscape.com bd70011ca1 mSourceString in SelectorList was allocated, filled with a
reconstructed copy of ALL selectors in chrome and document,
unused and then deallocated ! b=70995, r=hewitt, sr=attinasi
2001-03-06 23:07:33 +00:00
hyatt%netscape.com 5a40dceb52 Fix for 70809. r=attinasi, sr=brendan 2001-03-06 02:30:30 +00:00
dbaron%fas.harvard.edu 2c102bee6e Work in progress on CSS error reporting: fix the known false positives and duplicate messages and improve the error messages. It's still a hack that I wouldn't really want to enable by default, but it should be useful for debugging chrome CSS. r=glazman@netscape.com sr=attinasi@netscape.com b=65469 2001-03-06 01:57:30 +00:00
jst%netscape.com 090fd7aadf Fixing bug in the incremental layout notification code in the sink (no bug #). The sink context was calling DidAddContent() before decrementing the mInMonolithicContainer member in the sink if we were closing a monolithic container. This made the document never incrementally reflow changes after closing a monolithic container. Fix done by Vidur, sr=vidur@netscape.com/jst@netscape.com, r=harishd@netscape.com 2001-03-06 00:52:54 +00:00
hyatt%netscape.com 5eb460964a Fix for 70704, r=brendan, sr=attinasi 2001-03-03 21:57:56 +00:00
harishd%netscape.com dad8f665c0 Correcting an error.
r=heikki
2001-03-03 00:54:53 +00:00
glazman%netscape.com 90d257e695 enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi 2001-03-03 00:54:04 +00:00
harishd%netscape.com e5fbdfc15e Added more properties(font,background,padding,border,z-index..etc) for getComputedStyle().
r=heikki,sr=jst.
2001-03-03 00:44:19 +00:00
harishd%netscape.com 18f4fb8fe3 Added refresh & setcookie atoms
r=heikki,sr=vidur
2001-03-03 00:41:02 +00:00
harishd%netscape.com c7da10b532 3248 - Added Support for http headers ( link,content-base,default-style ) in the sink.
r=heikki,sr=vidur
2001-03-03 00:39:29 +00:00
harishd%netscape.com 16c90ed2d1 Added refresh & setcookie
r=heikki,sr=vidur
2001-03-03 00:38:39 +00:00
rods%netscape.com 4eb2a631cc Noe processing the current event so click works on alt text
Bug 65747 r=pollmann sr=attinasi
2001-03-02 15:45:35 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
heikki%netscape.com df04c126b2 Bug 63559, attributes are lost on XHTML elements if the document is loaded as data. r=jst, sr=vidur. 2001-02-28 23:42:10 +00:00
jst%netscape.com e425716676 Fixing bug 70014. Making td.chOff use the correct atom when looking up the attribute 'charoff'. r=heikki@netscape.com, sr=vidur@netscape.com 2001-02-28 01:54:40 +00:00
roc+%cs.cmu.edu ce59023066 Fix for bug 67478. Fix for BodyFixupRule so that if both the BODY and HTML elements have a transparent background, we make sure to give the canvas the default background (chosen by the PresShell). r=kmcclusk, sr=attinasi 2001-02-24 20:37:06 +00:00
jst%netscape.com 012e814ecd Fixing regression bug 69716. Make nsHTMLImageElement::GetImageFrame() always initialize the out parameter. r=heikki@netscape.com, sr=hyatt@netscape.com 2001-02-23 03:04:38 +00:00
scc%mozilla.org 97df62b78a bug #65219: (work done by dbaron) r=jag, sr=scc. Remove leaking string recyclers. 2001-02-23 02:03:02 +00:00
jst%netscape.com cc63f5847c Fixing bug 68493. document.body should point to the outermost frameset element in a frameset document. r=pollmann@netscape.com, sr=scc@mozilla.org 2001-02-23 02:01:30 +00:00
dbaron%fas.harvard.edu d8ef7a992b Fix MOZ_TRACK_MODULE_DEPS bustage resulting from string and xul changes. 2001-02-22 12:48:42 +00:00
disttsc%bart.nl e53227d6ad Update REQUIRES to fix senna bustage 2001-02-22 12:18:48 +00:00
rods%netscape.com 7976914fa3 In some cases the mForm pointer doesn't get set because of the way the content can be constructed
and added via the DOM. So before it is used try to find and set its value again.
Bug 62799 r=harishd sr=attinasi
2001-02-22 11:33:57 +00:00
rods%netscape.com 954bec7088 The loop looking for the domText should only quit when a non-zero string is found.
Bug 68963 r=kmcclusk sr=attinasi
2001-02-22 11:30:53 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
waterson%netscape.com 2cd62f503b Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
dougt%netscape.com eab041f43f 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
2001-02-21 20:38:08 +00:00
dbaron%fas.harvard.edu d5bb038c8d Make ImageListener not confuse leak logging by doing refcounting the way we do it everywhere else. r=disttsc@bart.nl sr=brendan@mozilla.org b=64452 2001-02-20 13:46:59 +00:00
Peter.VanderBeken%pandora.be 6a44335d10 Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com. 2001-02-19 18:11:03 +00:00
Peter.VanderBeken%pandora.be 305429e76d Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com. 2001-02-19 17:51:42 +00:00
heikki%netscape.com ae23767cdd 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. 2001-02-19 12:55:42 +00:00
rods%netscape.com f5a3843e21 making spacebar click on key up
Bug 68850 sr=attinasi
2001-02-19 12:36:01 +00:00
heikki%netscape.com 3b9cdf783c Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 12:21:27 +00:00
heikki%netscape.com 11c3410104 Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 12:10:13 +00:00
heikki%netscape.com 6356d29009 Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet. 2001-02-19 11:56:40 +00:00
hyatt%netscape.com 36abf9f7b5 Fix for 67739. r=pierre,attinasi, sr=ben 2001-02-15 21:25:31 +00:00
hyatt%netscape.com 093c9c2e71 Fix for 67739. r=pierre,attinasi sr=ben 2001-02-15 21:24:47 +00:00
radha%netscape.com f2638b18c0 Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock 2001-02-15 19:10:16 +00:00
jfrancis%netscape.com 13c0684590 bug 50497: plaintext copy loses newlines on paste bug 57292: copy of table cell contents shouldn't copy cell bug 57170: some inline style not preserved across copy paste for all above: r=akkana; sr=sfraser 2001-02-15 13:22:26 +00:00
glazman%netscape.com ecc86acb75 patch for #62607 : cssText field of CSSRule is incomplete, missing curly braces. r=brade, sr=attinasi 2001-02-13 14:10:38 +00:00
glazman%netscape.com d78b90bd69 patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation) 2001-02-13 14:06:29 +00:00
glazman%netscape.com 7b4e3d65b8 #52381 corrects pseudo-elmts handling in nsCSSSelector::ToString ; r=attinasi,saslawsky sr=vidur,waterson 2001-02-12 13:04:06 +00:00
disttsc%bart.nl 35ab17c7e4 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.
2001-02-12 03:12:57 +00:00
dougt%netscape.com 69415757ab 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
2001-02-10 00:16:26 +00:00
jst%netscape.com 7fa17c08f1 Fixing regression bug 68139. Accessing radiobutton.value always returning the defalue value. r=harishd, sr=vidur, a=blizzard@mozilla.org/asa@mozilla.org 2001-02-09 23:45:41 +00:00
harishd%netscape.com 7bc76a76cc 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.
2001-02-09 22:36:23 +00:00
pierre%netscape.com ad19cf4c81 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
jst%netscape.com 73bd38d920 Fixing bug 37763. Making applet elements that are not associated with an Java applet still be scriptable as a normal DOM node. r=pollmann@netscape.com, sr=jband@netscape.com 2001-02-07 07:39:20 +00:00
blakeross%telocity.com 95b1ae98b0 Titlebar when viewing images not localizable (57549). r=attinasi sr=erik 2001-02-06 23:39:46 +00:00
harishd%netscape.com 539e2f64ec Use resumeParsing instead of EnableParse().
r=jst
sr=vidur
2001-02-06 23:31:17 +00:00
scc%mozilla.org e767c98b62 bug #53067: r=danm, sr=alecf. Eliminate copying versions of |BeginReading|, |EndReading|, |BeginWriting|, |EndWriting|, and fix callers 2001-02-06 23:18:20 +00:00
pollmann%netscape.com acc42b588c Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 05:46:46 +00:00
jst%netscape.com 901474c52d Fixing regression (bug 67713) that I introduced in my content code re-org in the end of december. Adding a missing interface to the QI implementation of nsHTMLButtonElement. r=nisheeth@netscape.com, sr=n/a 2001-02-06 02:31:31 +00:00
jst%netscape.com e42678b03f Fixing bug 67563. Adding null pointer checks to avoid crasing when accessing certain properties on orphan OPTION, TD and TH elements. r=harishd@netscape.com, r=nisheeth@netscape.com, sr=vidur@netscape.com 2001-02-06 02:11:30 +00:00
disttsc%bart.nl c353ccb7bf Replace iostream.h cerr << dependancy with NS_WARNING. bug=67536, r=jst, sr=blizzard 2001-02-03 09:09:24 +00:00
jst%netscape.com a21f5982e1 Moving methods around to make this file make more sense. no code changes. 2001-02-03 03:50:04 +00:00
anthonyd%netscape.com 0097af2035 fix for bug # 67007 user defined tags being consumed
sr= harishd
r= kin
2001-02-03 01:24:53 +00:00
harishd%netscape.com 96884cd0ae 67426 - Fixing up a regression caused when fixing bug 54453.
r=heikki
2001-02-02 22:07:38 +00:00
kin%netscape.com 3748fdc618 Backing out part of fix for bug #67007 that cause bug #67408. (Can't type newlines in textareas)
a=leaf
2001-02-02 16:32:27 +00:00
jst%netscape.com f451a8c50b Fixing bug 64755. Moving code around to make plugins instantiated from an <object> tag be scriptable. r=pollmann@netscape.com, sr=hyatt@netscape.com 2001-02-02 11:31:08 +00:00
jst%netscape.com 729d5d12a9 Fixing bug 53860. Making inputElement.getAttribute('checked') return the value 'checked' if the attribute was ever set. r=pollmann@netscape.com, sr=rpotts@netscape.com 2001-02-02 01:34:57 +00:00
anthonyd%netscape.com 6451a45f2c bug fix for 67007, user tags being consumed
r=akkana
sr=harishd
2001-02-01 23:57:24 +00:00
harishd%netscape.com 3b8bfb2cf8 54453 - Killing an annoying assertion.
r=heikki
2001-02-01 21:04:48 +00:00
jst%netscape.com 0999addcc3 Fixing bug 44615. Making the default value of radio buttons be "on" to match older browsers. r=rods@netscape.com&heikki@netscape.com, sr=brendan@mozilla.org. 2001-01-30 04:22:24 +00:00
dbaron%fas.harvard.edu 7a97a55d82 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
dbaron%fas.harvard.edu 20b685bf78 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
attinasi%netscape.com 4217840de6 Performance fix: moves content-specific queries out of SelectorMatches to reduce number of times called in rule matching. b= 53620 r=dbaron sr=waterson 2001-01-27 05:48:41 +00:00
harishd%netscape.com acc199f5d7 Removed CNavDTD dependency.
r=jst
sr=vidur
2001-01-25 19:33:57 +00:00
mcafee%netscape.com 2a02bb78fd Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
jst%netscape.com 49b1414272 Fixing bug 57772. Hooking document.getSelection() into window.getSelection().toString() which does the right thing (i.e. doesn't produce pretty printed text). r=heikk@netscape.com, sr=rpotts@netscape.com 2001-01-23 07:45:08 +00:00
jst%netscape.com 3502f87859 Checking in rods@netscape.com's patch for bug 60049. The implementation of document.clear() in mozilla was incorrectly clearing the whole document, the same method in NS 4.x and IE seem to do nothing so with this patch document.clear() is a nop. r=jst@netscape.com, sr=vidur@netscape.com 2001-01-23 02:20:33 +00:00
vidur%netscape.com 99ec8cdc30 Fix for bug 63081. We remove carriage returns passed to us by the parser in the copy from the sink buffer to the content model. r=jst 2001-01-22 23:11:02 +00:00
hewitt%netscape.com aca04ca013 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
pierre%netscape.com 531ba68b54 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
blakeross%telocity.com 35c3ef934e Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard 2001-01-16 01:27:20 +00:00
rods%netscape.com 0b47866fbe must return NS_OK from DOM calls, this will make the button look enabled when enabled
Bug 63722 r=attinasi sr=buster
2001-01-11 15:14:47 +00:00
jst%netscape.com c40e4b62af Fixing bug 63967. Fixing a crash that happened when the .src of an image was set and the base URL was not available. r=timeless@mac.com, disttsc@bart.nl, sr=vidur@netscape.com 2001-01-10 22:41:47 +00:00
heikki%netscape.com 71310e036b Some raw interface pointers to nsCOMPtrs, potential null pointer access fix, fixing two wrong eventStructTypes. No bug number. r=saari, sr=waterson. 2001-01-10 20:21:09 +00:00
jst%netscape.com 7089ccc6f4 Fixing bug 60920. Adding type cheks to the document.form.select.options[n] setter so that we don't crash if someone tries to set the value to an invalid type (i.e. not a HTMLOptionElement). sr=brendan@mozilla.org, r=pollmann@netscape.com 2001-01-10 05:11:05 +00:00
jst%netscape.com 699d3a6929 Fixing bug 64642. This is a regression caused in my large content code reorg/cleanup that I did a few weeks ago, SetDocument on a from control was was forwarding the call to the wrong base class, it was calling nsGenericElement::SetDocument() in stead of nsGenericHTMLElement::SetDocument() and that caused style attributes to not get reparsed when form controls were added to a document. r=pollmann@netscape.com 2001-01-09 02:53:33 +00:00
jst%netscape.com 2ab3b02548 Fixing bug 63943. Accessing .offsetXXX properties on elements must call FlushPendingNotifications() on the document and not only on the pres shell to make sure the sink flushes all its content so that frames exists for all elements. r=heikki@netscape.com, sr=rpotts@netscape.com 2001-01-09 01:26:05 +00:00
jst%netscape.com 34ec509fb4 Code cleanup, no bug. Make the implementations of methods whose return type is declared as NS_IMETHOD return NS_IMETHODIMP and not just nsresult. r=heikki@netscape.com 2001-01-09 00:03:42 +00:00
jst%netscape.com e664f14e29 Trivial code cleanup that removes the need for a kungFoDeathGrip. r=heikki@netscape.com 2001-01-08 23:43:56 +00:00
jst%netscape.com 20bffa53a7 Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com 2001-01-08 22:16:52 +00:00
jst%netscape.com d370359e69 Fixing regression introduced in my huge checkin a few weeks ago, backing out the change I made while doing some code cleanup/reorg 2001-01-05 23:26:05 +00:00
rods%netscape.com c81b2c3b26 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi%netscape.com 37534f2aac Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster 2001-01-03 23:37:28 +00:00
jst%netscape.com c362958cf3 Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org 2001-01-01 20:54:38 +00:00
dbaron%fas.harvard.edu 9430a92e06 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
blakeross%telocity.com 5883645a6f Fix 63721: removing extraneous code from nsHTMLButtonElement.cpp. It's Dead Code Removal week, so I'm just doing my part. r=jst sr=alecf 2000-12-27 08:41:29 +00:00
jst%netscape.com 71dde5c2c0 Removing unnecessary include files and forward declarations. 2000-12-26 01:21:25 +00:00
jst%netscape.com 7b3d01e9db Removing unused CID and doing some whitespace cleanup. 2000-12-26 01:01:41 +00:00
jst%netscape.com d0fd187bfa Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS 2000-12-26 00:39:42 +00:00
jst%netscape.com 6727dcb7c0 Fixing a change I overlooked in my last big checkin that caused a crash in some cases where forms were accessed from JS. r=jag 2000-12-24 01:52:05 +00:00
jst%netscape.com e600425247 More mac bustage fixes... 2000-12-23 13:32:28 +00:00
jst%netscape.com 2d9b923669 One more attempt at fixing the mac redness. 2000-12-23 12:57:59 +00:00
jst%netscape.com 9444e2ce66 Attempting to fix mac bustage. 2000-12-23 11:59:05 +00:00
jst%netscape.com 9e2b7ade05 Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com. 2000-12-23 10:56:31 +00:00
jst%netscape.com aad156274a Fix a refcounting screwup I caused in my last checkin. r=pavlov 2000-12-16 23:38:56 +00:00
jst%netscape.com d2ee134807 Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com 2000-12-15 05:48:19 +00:00
jst%netscape.com 21f9b3d8a4 Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org 2000-12-14 22:37:22 +00:00
vidur%netscape.com 01bf191f42 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
rods%netscape.com 2e059f583d smoketest blocker,
an event is cancelled when it is equal to nsEventStatus_eConsumeNoDefault
a=joki
2000-12-11 20:07:50 +00:00
rods%netscape.com 4b58e0289d removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460
2000-12-10 16:05:29 +00:00
hyatt%netscape.com d10778f295 Added Pref control for XBL forms.
r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:20:40 +00:00
blakeross%telocity.com d8b4e030d4 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard 2000-12-05 21:49:42 +00:00
dbaron%fas.harvard.edu f316e0c51b Fix leak of atom and fix return value propagation from SetMedia. b=58697 r=pierre@netscape.com sr=waterson@netscape.com 2000-12-02 15:53:42 +00:00
jst%netscape.com 9ffb7c034c Fixing bug 49597. Setting the 'checked' state on a dynamically created radio button that wasn't yet part of the document in JS was throwing an exception since our internal pres state code was generating a failure code when the input element didn't have a document. sr=vidur, r=pollmann 2000-11-28 03:41:50 +00:00
nhotta%netscape.com f49d7db175 Changed to convert anchor name as UTF-8 instead of Latin1 if that fails then convert it as document charset, bug 58819, r=erik, sr=jst. 2000-11-27 21:43:28 +00:00
hyatt%netscape.com 56d558b610 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
brade%netscape.com ef56b86d61 use inline methods rather than typecasting directly to floats to prevent rounding errors (bug #56022); r=jst; sr=buster 2000-11-15 10:54:41 +00:00
heikki%netscape.com da42f8f899 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
jst%netscape.com 44900ed58e Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki 2000-11-06 23:22:44 +00:00
hyatt%netscape.com b53cda604c Putting back 54150 on the trunk. ben,waterson. Finally found the reason it needs to be this way. 2000-11-04 09:10:48 +00:00
harishd%netscape.com 7c66338f99 27006 - Don't reload documents with POST form data.
r=rpotts,pollmann
sr=vidur
2000-11-01 20:25:33 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
blakeross%telocity.com a61eb4f00d Fix for 12056: ctrl+click on a link should open in new window, alt+click should save it. r=jst sr=brendan, alecf 2000-10-28 14:30:48 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst%netscape.com d4d77508ae Fixing rtm+ bug 57495. Making element.getElementsByTagName() case insensitive if called on an HTML element. r=pollmann, sr=vidur. 2000-10-27 09:01:33 +00:00
attinasi%netscape.com 0c357e6319 Fix was already approved for checkin on the branch, now updating trunk as well. b=56194, r=karnaze a=buster (for RTM bug 40340) 2000-10-26 00:34:08 +00:00
jst%netscape.com f5767882c1 Fixing rtm++ bug 56529. Necko was unescaping the content of URL's if a segment of the URL is requested (but not if the whole URL is requested), the DOM code used this unescaped string as is and that caused backwards compatibility problems. a=gagan&brendan, r=andreas.otte@primus-online.de 2000-10-24 04:56:10 +00:00
pollmann%netscape.com 54e2b01df6 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur 2000-10-24 04:35:25 +00:00
pollmann%netscape.com 44d1adbf72 Bugscape 2369: Don't hold onto frame reference / type across mInner::HandleDOMEvent, fixes crashes. r=rods,jst sr=vidur 2000-10-24 01:41:07 +00:00
locka%iol.ie a31f0aa954 Removed unused variables made obselete by previous checkin. b=56285 2000-10-19 18:56:56 +00:00
pollmann%netscape.com 87208694ab Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts 2000-10-19 10:25:49 +00:00
locka%iol.ie 5947aa93c8 Fix to content sink's handling of anchors. Flushes reflows before scrolling and uses the pres shell's scrolling code. b=56285, sr=vidur@netscape.com 2000-10-18 20:37:54 +00:00
hyatt%netscape.com 5e055a5f2d Fix for 56353. r=buster, r=waterson, a=brendan. Also reverting a style
change to a prop list for moz-binding to the state it was on the branch (just to
be compatible).
2000-10-18 08:03:24 +00:00
jst%netscape.com 1bc2495bff Fixing rtm++ bug 54121. Make sure to unroot the JS object before setting the script object to null to avoid referencing deleted memory later on in the GC. Thanks to sean@beatnik.com for testing and helping with the patch. a=waterson, r=brendan 2000-10-17 21:19:26 +00:00
kmcclusk%netscape.com 8e94cba562 Prevent flushing of pending events if painting or reflowing bug 56335 a=buster@netscape.com r=vidur@netscape.com 2000-10-17 05:07:39 +00:00
hyatt%netscape.com b5af19308f Fix for 56167. r=joki, a=waterson 2000-10-16 21:52:22 +00:00
harishd%netscape.com bd0d4ac743 56501 - Serializer changes in dealing with NOSCRIPT ( checkin for jst )
r=me
sr=scc
2000-10-15 17:33:11 +00:00
harishd%netscape.com 317893e085 56501 - Sink changes in dealing with NOSCRIPT content
r=jst
sr=scc,vidur
2000-10-15 17:31:09 +00:00
mstoltz%netscape.com 99a2b79580 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
jst%netscape.com d952c93575 Fixing rtm++ bug 54825. The form element cleanup code in the HTML sink was incorrectly adding the form element itself to it's parent event if it had already been added, this caused the content iterator to lock up when doing 'Find on this page'. sr=vidur, r=pollmann 2000-10-12 22:57:25 +00:00
buster%netscape.com 7f078398f2 bug 55250 (crash when align attribute is changed)
r=karanze
a=waterson
2000-10-12 20:43:18 +00:00
jst%netscape.com 09789e8ee0 Fixing rtm++ bug 52998. Form controls inside <noscript> were incorrectly added to the form even if javascript was enabled. sr=vidur, r=pollmann 2000-10-11 23:23:21 +00:00
jst%netscape.com 563eadb198 Fixing rtm++ bug 54892. The .offsetParent property on the BODY element was incorreclty returning its real parent in stead of null. sr=vidur, r=pierre 2000-10-11 23:11:28 +00:00
pollmann%netscape.com a2cf49269d Bug 54966, 54845, 55906: Prevent psm-glue from accidentally cancelling form submit for file: urls, javascript: urls, and submits to 127.0.0.1 r=javi,jst sr=mscott 2000-10-11 09:53:29 +00:00
attinasi%netscape.com ecabb80a7a Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster 2000-10-11 08:33:01 +00:00
buster%netscape.com d11af5d076 bug 29276 (text inside <label> tags within a table cell breaks out of table cell)
bug 1164 (ALIGN=MIDDLE and ALIGN=ABSMIDDLE values are not being supported)
bug 54119 (percentage (%) image (img) heights do nothing)
r=karnaze, rods, attinasi
a=waterson
2000-10-09 21:19:36 +00:00
pierre%netscape.com 543d81b5ef bug 47846: Crash opening mail message. r=attinasi+brendan, a=phil 2000-10-09 08:51:50 +00:00
jst%netscape.com b3d9cbac12 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
rods%netscape.com 47f8fdf71e decided it made sense to rename the arg from aName to aId to be less confusing.
Consider this part of my last checkin for Bug 54136.
2000-10-04 14:11:19 +00:00
rods%netscape.com 45342163b9 Renaming MatchName to MatchId and now it only compares against the element's id and also the name
Bug 54136, r=jst, a=buster
2000-10-04 14:04:15 +00:00
rods%netscape.com 5fcd33af27 Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster
2000-10-04 13:39:07 +00:00
rods%netscape.com c80b1b9d5e subtract off 2 point sizes for fonts for List and Button on Windows and make sure
it is zero or greater
Bug 53744, r=attinasi, sr=buster
2000-10-04 02:17:44 +00:00
bryner%uiuc.edu 3fcba76e2b Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.
2000-10-04 00:38:03 +00:00
dougt%netscape.com bfbbaa82b6 Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com 2000-10-01 05:24:00 +00:00
hyatt%netscape.com 3cee6bdb23 Fix for 53417. r=brendan, a=brendan 2000-09-27 20:23:49 +00:00
cmanske%netscape.com 8038f6e0f2 Fixing new content serializer's formatting to match behavior in current HTMLContentSink output. (This is a branch to be integrated later; not part of any current tip or 6.0 branch build) r/a=vidur 2000-09-27 19:23:36 +00:00
harishd%netscape.com 66f020d558 50965 [nsbeta3+ - PDTP1]
Making sure that textnodes are created for SCRIPT,STYLE,TITLE,XMP,TEXTAREA,PLAINTEXT,
in FragmentSink, for editor->HTML Source.

r=jst
a=waterson.
2000-09-26 19:19:28 +00:00
mozilla.BenB%bucksch.org 60384e2742 51285: Move |EnsureBlockDisplay| to make it less agressive. Patch by attinasi, r=buster 2000-09-23 17:59:20 +00:00
rods%netscape.com 59a4fba503 The font size for selects and buttons needs to reduce the font size by 2 points
from the default font size set in prefs
b=53744 a=buster
2000-09-23 00:30:04 +00:00
jst%netscape.com 50cb267dc7 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc 2000-09-22 10:18:07 +00:00
mscott%netscape.com 4285057062 Bug #51403, 52875 --> don't fall out with a failure just because we can't get a last
modification date for a document... r=a=waterson
2000-09-22 00:43:40 +00:00
pierre%netscape.com fb572bb67f fix related to the reconstruction of html.css (#6625) and to css system fonts (#1021): in quirks mode and on each platform, use the same fonts as Nav4 for edit fields, lists and buttons. r=rods a=buster 2000-09-21 10:21:23 +00:00
jst%netscape.com 31aca48aad Fixing nsbeta3+ 49112. Making with(someimageelement) { src=someurl; } work by dynamically defining the 'src' property in nsHTMLImageElement::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan 2000-09-21 02:42:46 +00:00
jst%netscape.com afe4b175f9 Fixing nsbeta3+ bug 52724. Fixing an oversight found by David Baron in HTMLDocument::createElement(), this makes document.createElement() be case insensitive. r/a=vidur, r=nisheeth 2000-09-20 05:12:44 +00:00
harishd%netscape.com 8ece07cb91 52013 - Block sink reentrance to avoid frame duplication.
49115 - Delay breaking the circularity, between parser & snk, with a death grip!!!

r=jst
a=vidur
[sheriff approved]
2000-09-19 22:35:50 +00:00
heikki%netscape.com e13fae3ffe Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
jst%netscape.com 9a938e886f Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann 2000-09-19 05:37:23 +00:00
jst%netscape.com 96a956c384 Fixing nsbeta3+ bug 43741. Making mozilla ignore document.open() calls that are executed while the document is being parsed, this is needed for backwards compatibility. r/a=vidur, r=joki 2000-09-19 05:11:59 +00:00
joki%netscape.com 7eb4f33a20 Fix for 30178, "hrefs override imagemap" and part of fix for 5693 by removing old hack to make :hover work on links. r:jst 2000-09-15 06:15:31 +00:00
rpotts%netscape.com 6f9f0f1cee Removed two bogus asserts... 2000-09-15 06:13:11 +00:00
rayw%netscape.com d39d9e6d59 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
morse%netscape.com 274bc5e8c8 bug 51338, cookie nag box not modal on meta-tag cookies, r=harishd 2000-09-14 18:59:47 +00:00
dbaron%fas.harvard.edu bf8a8ed6e7 Change the names of behavior and opacity DOM properties to MozBinding and MozOpacity, and make them work again with new CSS property names. r=jst, except for case change (Moz not moz) agreed on mozilla-style b=3935 2000-09-14 14:18:24 +00:00
mjudge%netscape.com a2fa9edcb5 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
pinkerton%netscape.com a20b67ad5f before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541. 2000-09-14 08:47:46 +00:00
jst%netscape.com 0031679c0b Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com 2000-09-14 05:19:00 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org 9243f9cdad if you want a pointer to characters, you're going to have to |.get()| it 2000-09-13 08:21:04 +00:00
scc%mozilla.org 983223fbc2 if you want a pointer to the characters, your going to have to |.get()| it 2000-09-13 04:47:36 +00:00
scc%mozilla.org d2b859ab77 if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
kandrot%netscape.com c0249a4636 Fix for bug #51944. This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
r=vidur
2000-09-13 00:05:04 +00:00
harishd%netscape.com dfdff8d6ba Removed the hack,in the sink, to limit nesting depth. This now
happens in the parser.

r=rickg/jst
2000-09-12 21:18:50 +00:00
akkana%netscape.com 1b0e97ed6b 36082: don't load contents of script tag if script evaluation is off. r=brendan 2000-09-11 22:27:53 +00:00
rods%netscape.com 8370535078 stripping CR/LF in href attrs on mouse over or mouse click
b=52119 r=harishd
2000-09-11 21:21:40 +00:00
vidur%netscape.com fae2208e28 Added missing HTML tags. r=jst 2000-09-10 07:04:30 +00:00
rods%netscape.com 6cf19df91a reverting back to using macro for impl of set/get of disabled attr
b=41252 r=attinasi
2000-09-09 22:18:53 +00:00
jst%netscape.com 585c9cdc89 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
pollmann%netscape.com 0bbeb76430 Bug 51856: Allow selection of just part of a text input or textarea to increase the karma around people who make typos. r=jst@netscape.com 2000-09-09 01:22:01 +00:00
pnunn%netscape.com c6b9835eb3 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
valeski%netscape.com fffc143b83 50188. ifdef debug'ing stderr output so we don't spew it in release builds. 2000-09-08 22:43:58 +00:00
pollmann%netscape.com 584c5f6ec7 Bug 49921: Fix leak of a CNavDTD (leak and fix found thanks to beard@netscape.com) r=jst@netscape.com 2000-09-08 04:52:57 +00:00
sfraser%netscape.com bcea862cd3 Fix the tree bustage. r=jst 2000-09-08 02:06:56 +00:00
dbaron%fas.harvard.edu 9b8dfea330 Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi
2000-09-08 02:05:09 +00:00
pollmann%netscape.com f51a223363 Bug 13652: select method should fire onselect handlers, blur should blur, r=jst@netscape.com 2000-09-08 01:46:00 +00:00
akkana%netscape.com f2a51fdcb9 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske 2000-09-07 18:40:14 +00:00
morse%netscape.com f1b7944434 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
hyatt%netscape.com 1cb2fa81af Patch to enable event.originalTarget on input fields. r=joki 2000-09-07 02:47:52 +00:00
ftang%netscape.com 8ab1d76a0b fix bug 50654. r=nhotta take care " in the charset 2000-09-06 20:41:12 +00:00
rods%netscape.com c87cab6d9d For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone
2000-09-06 14:02:44 +00:00
jst%netscape.com a076b1912a Fixing a cloneNode() regression in the HTML code, doing a deep clone on a element that didn't have a style attribute was failing to clone it's chil nodes. r=pollmann@netscape.com 2000-09-06 05:03:34 +00:00
dbaron%fas.harvard.edu 671cba18b2 Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi 2000-09-06 02:27:46 +00:00
dbaron%fas.harvard.edu aa9ed727b0 Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi 2000-09-06 02:15:18 +00:00
rods%netscape.com ebbdfb1d25 fixed so script can find out if an option is selected when no frame exists
no all DOM calls can be made on a select or an option with or without a frame
and the results will be correct
All the PresState info (for now) is kept in the select content, a couple of new
methods were added to nsISelectElement to make it easier for the option to
Get/Set its index
Bug 45760 r=kmcclusk
2000-09-05 13:37:16 +00:00
dbaron%fas.harvard.edu 584fb1ac9b Fix build warning by renaming variable. r=disttsc@bart.nl 2000-09-05 02:08:41 +00:00
beard%netscape.com b53741a3a4 fixing code that relied on implicit string construction (less than optimal temporary fix). r=scc 2000-09-02 07:21:57 +00:00
saari%netscape.com fd23bb710a fix for 46505, text inputs and text areas need to change their event targets when crossing the anonymous content boundry. r=hyatt 2000-09-02 04:59:44 +00:00
jst%netscape.com 35ad7d4bdf Tweaking the fix to nsbeta3+ bug 28277 so that the src property of the a JavaScript constructed image is correcly set at the time when the onload and onerror events fire. r=nisheeth@netscape.com 2000-09-01 23:23:35 +00:00
harishd%netscape.com 1b742b04f9 7670 - Enable NOSCRIPT.
r=jst
2000-09-01 18:17:43 +00:00
jst%netscape.com 88cb144fd9 Comment and whitespace change... 2000-09-01 08:24:00 +00:00
jst%netscape.com 0eb491f041 Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com 2000-09-01 07:05:08 +00:00
vidur%netscape.com 4a41eee18d Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
pollmann%netscape.com 48a020c304 Bug 49897: Only send focus and left click events from labels to target content r=jst@netscape.com 2000-09-01 00:48:47 +00:00
jst%netscape.com ef147e7941 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
rods%netscape.com c897d830f1 Notifying the doc that an attribute is changed is the wrong approach
Making "REFLOW" be the hint for when rows or cols attrs are changed
Not doing it for input text it seems to work fine without
b=50280
2000-08-30 21:59:53 +00:00
locka%iol.ie 8bd9e39869 Call to GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski 2000-08-30 11:37:06 +00:00
nisheeth%netscape.com 2b93b30dd8 - Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)
2000-08-30 00:35:43 +00:00
akkana%netscape.com 6814b8c6d4 Fix a warning I introduced yesterday, and add a safety check 2000-08-29 23:29:52 +00:00
rods%netscape.com 0dc10b0007 Moved the dispatch of the onChange to after where the property is set, this way it will have the "new" value
Removed macro impl of Set/GetSize and implemented it to notify the document that an attr has changd and the hint is reflow so when the size gets changed via script it changes size
b=50280,50436 r=kmcclusk
2000-08-29 01:50:31 +00:00
akkana%netscape.com a0a16c7782 Last checkin didn't fix 47309, so revert that part 'til we get a better fix 2000-08-29 00:18:53 +00:00
akkana%netscape.com 671e07e8fa Last checkin didn't fix 47309, so revert that part 'til we get a better fix 2000-08-29 00:17:44 +00:00
akkana%netscape.com aaf292bc9d 41868 and 45994: Call parser to determine inline vs. block. r=harishd 2000-08-28 23:47:11 +00:00
attinasi%netscape.com a9d1145d5f Fixed to handle ToInteger returning an error. b=29061 r=kmccluck@netscape.com 2000-08-28 23:44:05 +00:00
jst%netscape.com cfbdba7868 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00
warren%netscape.com 871bde6efa Bug 15623. Fixed registration of nsKeygenHandler. 2000-08-25 18:48:50 +00:00
rods%netscape.com ee903e1af4 changed mozoutline to -moz-outline
b=48973 r=ianh
2000-08-25 14:28:22 +00:00
waterson%netscape.com a6ad0e1bcd Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst 2000-08-25 06:03:49 +00:00
jst%netscape.com 834704bd40 Fixing nsbeta3+ bug 49548. Making the 'type' property on input elements default to 'text', and making the 'type' property of button elements be all lowercased. r=vidur@netscape.com 2000-08-25 01:57:28 +00:00
rods%netscape.com 316dba6bd7 Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
cltbld%netscape.com b7c62f6cd5 Fixing solaris bustage -jst,mcafee 2000-08-23 21:38:20 +00:00
jst%netscape.com ac02fbb497 Fix for Solaris bustage. 2000-08-23 20:41:13 +00:00
jst%netscape.com b3a4ade60d DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
rods%netscape.com ccdad88a18 adds base href/target info to a form
b=34656 r=pollmann,harishd
2000-08-23 10:29:49 +00:00
rods%netscape.com 4fa63b9d4b In NavQuirks mode it makes the default font for CSS3 fonts: button, field, caption sans-serif
b=33312 r=kmcclusk
2000-08-23 10:28:28 +00:00
jband%netscape.com da5359a4d4 Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi 2000-08-22 06:57:32 +00:00
jst%netscape.com 2d62b60d0c Fixing nsbeta3+ bug 44024. Expose the stylesheets in stye and link elements (DOM Level 2) as 'sheet' properties on the elements. r=harishd@netscape.com 2000-08-22 04:14:53 +00:00
ftang%netscape.com b69af3fd06 fix bug 21312. r=nhotta. Store the charset decision into the cache and reuse it later. 2000-08-21 23:16:43 +00:00
waterson%netscape.com 6c5396be46 Bug 46846. HandleEventForAnchors() call to QI() for nsILink rather than look for 'href' attribute; fix potential problems with document charset and image maps and <link> tags. (Really just an extension of cleanup for bug 10373) r=dbaron 2000-08-20 21:57:50 +00:00
warren%netscape.com 930a05de5a Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
scc%mozilla.org 301746a559 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
attinasi%netscape.com eb4de2b98e Fixed the application of the BodyFixupRule so that it is only created when the BODY element has the HTML element as its parent. b=17911 r=dbaron@fas.harvard.edu 2000-08-18 20:38:29 +00:00
jst%netscape.com c9d28389ff Fixing nsbeta3+ bug 31539. Adding support for the 4.x DOM property 'text' on links. r=pollmann@netscape.com 2000-08-18 07:46:58 +00:00
jst%netscape.com ffea2e495f Fxing nsbeta3+ bug 45680. Cloning an HTML element with a style attribute didn't clone the style declaration in the element so changing the style on the clone resulted in a style change for both elements. Also fixing a few memory leaks in nsHTMLTableElement. r=pollmann@netscape.com 2000-08-18 06:52:31 +00:00
waterson%netscape.com 2e1cdf3f0a Bug 29641. Set default content.notify.backoffcount to -1 (never). This doesn't really 'fix' the bug; however, it keeps us from getting into a situation where layout gets too much content crammed down its throat at once. r=vidur,nisheeth 2000-08-18 06:33:34 +00:00
pollmann%netscape.com b6cb936bcf Bug 47281: form.reset now generates a reset event, and the frame is notified from the event handling code. r=jst@netscape.com 2000-08-18 05:18:01 +00:00
ftang%netscape.com 600d7b5dfb *** empty log message *** 2000-08-18 00:47:03 +00:00
harishd%netscape.com c038757a83 bug 22886 - Relax refresh header paring, in the sink, a little bit.
r=pollmann
2000-08-17 20:55:48 +00:00
pierre%netscape.com 19cf82d1df 43420 + CSS3 update: renamed "text-align:-moz-default" into "text-align:start" 2000-08-17 13:28:18 +00:00
dbaron%fas.harvard.edu 4e2ac767eb Fix leak of strings used as hash table keys. r=waterson b=48880 2000-08-16 23:16:21 +00:00