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

9072 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu f79a6813af Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu 62f7fc6ea3 Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu b733dd59da Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
bzbarsky%mit.edu a3fa8cf8c9 Use a reflow (without forced repaint) hint for position struct changes. Bug
243882, r+sr=roc
2004-05-22 05:50:12 +00:00
jst%mozilla.jstenback.com 29795a5bfc Fixing bug 244300, patch by mozilla-bugzilla@future.shiny.co.il. Adding double inclusion protection to nsMutationEvent.h. r+sr=bzbarsky@mit.edu. 2004-05-21 21:54:32 +00:00
bzbarsky%mit.edu f396e147a2 Add suport for a "text/plain" first arg to document.open() (no support for any
other types, and none really planned).  Bug 73409, r+sr=jst
2004-05-21 21:32:11 +00:00
neil%parkwaycc.co.uk f4969ade01 Bug 187252 Provide ?? mechanism to insert literal ? in templates r=varga sr=ben 2004-05-21 19:41:33 +00:00
aaronleventhal%moonset.net c63c5dd0d1 Bug 243028. Tabbing broken when links have a subtree of nodes rather than just an image or text node. r=bryner, sr=darin 2004-05-21 18:33:07 +00:00
neil%parkwaycc.co.uk 6ceb001157 Bug 164249 Make it possible to ignore certain modifiers on XBL and key nodes (current syntax is modifiers="control any, shift") r=varga sr=bryner 2004-05-21 09:28:13 +00:00
neil%parkwaycc.co.uk 5c4c587c3c Bug 164249 Make it possible to ignore certain modifiers on XBL and key nodes (current syntax is modifiers="control any, shift") r=varga sr=bryner 2004-05-21 09:00:00 +00:00
bryner%brianryner.com cb6a85593a Ensure that mDocument is current before accessing it. Fixes some timing-related focus problems. Bug 241942, r+sr=jst, a=asa. 2004-05-20 07:17:03 +00:00
aaronleventhal%moonset.net 273397a135 Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc 2004-05-20 03:14:41 +00:00
peterv%propagandism.org cb97041d39 Fix for bug 243998 (Visiting the networkassociates, noggin, upromise crashes Mozilla & Firefox). r/sr=bz, a=tor. 2004-05-19 15:44:18 +00:00
bzbarsky%mit.edu c0180b506f Fix permissions check for CSS background images, again. Bug 243948, patch by
mvl@exedo.nl, r+sr=bzbarsky
2004-05-19 04:22:05 +00:00
jst%mozilla.jstenback.com 52a7e8f9cd Removing extra ';'. 2004-05-18 22:23:49 +00:00
jst%mozilla.jstenback.com 099c3e31f4 Fixing bug 241058 the 'real' way. Eliminating nsGenericElement::Init() in favor of passing the nsINodeInfo to the element constructors. Replacing near-duplicated code with some macros for easier maintentance. r+sr=bzbarsky@mit.edu 2004-05-18 20:58:12 +00:00
smontagu%smontagu.org b6b7cf8808 Update bidi data tables to Unicode 4.0.1 and add surrogate handling. Bug 240943, r=jshin, sr=rbs. 2004-05-18 11:01:49 +00:00
timeless%mozdev.org ded395653e Bug 242999 Crash while trying to GC [@ DOMGCCallback]
r=jst sr=jst
2004-05-18 04:00:47 +00:00
bzbarsky%mit.edu deb5f0e77e Fix serialization of selectors when namespaces are around to be smarter; fix
serialization of pseudo-elements to prepend '*' as needed.  Bug 173586,
r=glazou, sr=roc
2004-05-18 02:42:13 +00:00
danm-moz%comcast.net c9179b6a17 addref focus controller in deactivate event handler. bug 243112 code=crispin r=bryner,danm-moz 2004-05-17 23:36:34 +00:00
bryner%brianryner.com 0d70112e37 Fix regression bugs 242709 and 242949 by making sure to flush pending form submits after invoking script onclick handlers. r=bzbarsky, sr=brendan. 2004-05-17 22:05:41 +00:00
roc+%cs.cmu.edu f1f89a9129 Backing out 233441. 2004-05-17 16:29:13 +00:00
bzbarsky%mit.edu b99b4c4d2d Instead of setting inline style for every text input's anonymous div, have a
rule in forms.css to set the style.  Bug 243588, r+sr=dbaron
2004-05-15 05:09:37 +00:00
bzbarsky%mit.edu 0bca456f66 OK, read prtypes.h and actually do this _right_. Bug 191839. 2004-05-13 21:52:12 +00:00
bzbarsky%mit.edu ad5691b9c8 I guess the first fix was better after all.... Bug 191839. 2004-05-13 20:44:07 +00:00
mvl%exedo.nl fcfdee9d2d Didn't mean to check this in just yet 2004-05-13 20:09:10 +00:00
bzbarsky%mit.edu 565ae6d30d Slightly better bustage fix. Still bug 191839. 2004-05-13 20:06:04 +00:00
bzbarsky%mit.edu edb14b8008 Trying to fix Windows bustage. Bug 191839. 2004-05-13 20:04:41 +00:00
mvl%exedo.nl 2f908209a7 Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
bryner%brianryner.com e5321f6b5c nsCSSValue::Reset does not seem to be inlined with -Os, so adding NS_HIDDEN here as well. 2004-05-13 17:09:20 +00:00
roc+%cs.cmu.edu 1f65501541 Bug 242833. Make nsDOMEvent::GetClientX/Y handle cases where a subdocument's widget is not an ancestor of the event's widget. Also forward all mouse grabbing to the root view manager of a view manager hierarchy so that subdocuments can grab the mouse when an event occurs in an outer document. 2004-05-13 15:39:12 +00:00
cls%seawood.org 38329136a7 Make code more standards compliant to build with mingw gcc 3.4.0.
Bug #243273 r=bsmedberg sr=dbaron
2004-05-13 04:08:34 +00:00
bzbarsky%mit.edu 68f1885217 Don't reset the notification timer on every parse start/stop. This speeds up
flurries of little document.write calls a good bit.  Bug 242899, r=peterv,
sr=jst
2004-05-13 01:39:29 +00:00
jst%mozilla.jstenback.com 7133578356 Fixing regression bug 243345. Make nsITextContent::SetText() work with non-null terminated strings, and fix silly mistake in nsComboboxControlFrame::GetIndexOfDisplayArea(). Patch partly by bzbarsky@mit.edu, and partly by myself. r+sr=bzbarsky@mit.edu and jst@mozilla.jstenback.com 2004-05-13 01:12:10 +00:00
bryner%brianryner.com 6ad25a557c Apply NS_HIDDEN to nsCSSValue, nsRuleNode, and nsStyleContext based on profiling data showing that these functions have very high call counts. Bug 227537, r+sr=dbaron. 2004-05-12 21:20:09 +00:00
jst%mozilla.jstenback.com f66f34f18d Fix for bug 241058. Debug only crash due to nsCOMPtr's internal checks when QI'ing. r+sr=bzbarsky@mit.edu 2004-05-12 01:57:54 +00:00
jst%mozilla.jstenback.com 7fc0964a4b Fixing one more part of bug 243034. Avoid wasting time on string concatenation document.write() when we don't need to concatenate. r+sr=bzbarsky@mit.edu 2004-05-11 22:37:31 +00:00
bzbarsky%mit.edu e25e453311 Remove vestiges of <input type="browse">. Bug 242873, r+sr=peterv 2004-05-11 18:16:41 +00:00
caillon%redhat.com 8ce6c6f95a Fix bug 186540
document.createRange() doesn't properly initialize itself per DOM 2 Range/Traversal: "The initial state of the Range returned from this method is such that both of its boundary-points are positioned at the beginning of the corresponding Document, before any content. In other words, the container of each boundary-point is the Document node and the offset within that node is 0."
r+sr=jst@mozilla.jstenback.com
2004-05-10 20:04:58 +00:00
jst%mozilla.jstenback.com e0da461039 Fixing bug 243034. Prevent converting string data to UTF-8 only to store it in the cache when document.write()'ing. r+sr=bzbarsky@mit.edu 2004-05-09 21:37:32 +00:00
bzbarsky%mit.edu 62597d84ae Make sure to re-lookup the entry pointer if the table changed while we flush.
Supplement to bug 240633, r+sr=brendan
2004-05-08 06:07:04 +00:00
kyle.yuan%sun.com 273f8ca098 Bug 214843 Space doesn't scroll when link's child has focus
r=aaronleventhal, sr=jst, patch by neo.liu@sun.com
2004-05-08 02:55:41 +00:00
jst%mozilla.jstenback.com d247d3f525 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
caillon%redhat.com e9427f8f3a We need to also copy over mAppearance in the nsCSSDisplay copy constructor
r+sr=bzbarsky via irc; no bug.
2004-05-07 20:41:38 +00:00
bzbarsky%mit.edu b8329b342d Do a better job of flagging "reserved" names and don't flush till we know we're
not dealing with one of those in ResolveName.  Bug 240633, r+sr=jst
2004-05-07 20:02:40 +00:00
aaronleventhal%moonset.net a935600f4c Bug 242790. Tabbing, accessibility and other things broken because GetSubDocumentFor regressed. r=bryner, sr=jst 2004-05-07 11:57:10 +00:00
brade%comcast.net 225a6c2c20 Image alt text was not being emitted in plaintext serializer because it was inadvertently moved into a method where it would never be called; moving it back.
Written by Akkana, r=brade, sr=jst (bug 212177)
2004-05-06 17:11:27 +00:00
roc+%cs.cmu.edu e508d2a0ad Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
caillon%redhat.com d592c269c0 Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
tor%cs.brown.edu 3e1dc6d374 Bug 236313 - handle javascript URLs as img src. r=pavlov, sr=darin 2004-05-05 21:17:31 +00:00
pkw%us.ibm.com 775bdcada4 Bug 242704 - AIX debug build fails after recent AppendInt changes
r=jst@mozilla.jstenback.com, sr=darin@meer.net
2004-05-05 19:29:12 +00:00
peterv%propagandism.org bb736be6c9 Correct comments (mozilla/htmlparser -> mozilla/parser/htmlparser). 2004-05-05 14:08:34 +00:00
roc+%cs.cmu.edu 8d9033c380 Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList 2004-05-05 02:30:33 +00:00
bzbarsky%mit.edu 9d1ed0ca64 Add and use some convenience functions on nsCSSRect. Bug 208731, r+sr=dbaron 2004-05-05 00:43:50 +00:00
bzbarsky%mit.edu 4ea38635a4 Move presentation attributes into the UA level in non-HTML documents and a
separate preshint level in HTML.  Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
bryner%brianryner.com f9f55ca33e deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
silver%warwickcompsoc.co.uk b1a8081abb Bug 240962 - Move TryChannelCharset up to nsDocument, and use it for XML and XHTML documents.
r+sr=bzbarsky
2004-05-02 19:48:54 +00:00
bzbarsky%mit.edu 93dc1f1d2e Blink changes need to reflow. Bug 236897, r+sr=dbaron 2004-05-02 04:51:08 +00:00
ben%bengoodger.com 1663e8d7d6 242309 - implement nsIXULChromeRegistry::UninstallPackage for 170006 (extension manager) - requires changing nsIXULChromeRegistry::UninstallPackage to take an ACString like all the other uninstall methods. 2004-05-02 04:03:54 +00:00
timeless%mozdev.org 895b7d3f32 Bug 242212 Remove useless nsISecurityCheckedComponent code from nsXULTemplateBuilder
r=varga sr=shaver moa=jst
2004-05-01 00:59:51 +00:00
bryner%brianryner.com 7927c18306 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst. 2004-04-30 23:55:16 +00:00
sicking%bigfoot.com 41ea8c2129 Bug 241272: Reset so that the old value isn't leaked.
r/sr=bz a=asa
2004-04-30 22:03:09 +00:00
jst%mozilla.jstenback.com af670b2ce3 Fixing silly leak introduced by my fix for bug 240543. 2004-04-30 21:22:46 +00:00
jst%mozilla.jstenback.com 6c2d1698e8 Checking in patch by smaug@welho.com. Fixing bug 242151. Making document.body work right in XHTML documents when the body is a frameset element. Also fixing a compiler warning while I'm at it. r+sr=jst@mozilla.jstenback.com 2004-04-30 17:44:53 +00:00
roc+%cs.cmu.edu b7ad4d88d0 Fixing bustage. 2004-04-30 15:14:41 +00:00
aaronleventhal%moonset.net f19fae9846 Bug 138069. Make -moz-user-focus work for any html element. r+sr=bryner 2004-04-30 14:05:27 +00:00
roc+%cs.cmu.edu 0aedeb74bc Fixing bustage in content/svg/document/src 2004-04-30 01:18:34 +00:00
jst%mozilla.jstenback.com ca74706604 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu f6cb839216 Backing out content-location support. See bug 238654 and dependencies/dups for
reasons.  r+sr=darin
2004-04-29 21:10:05 +00:00
bzbarsky%mit.edu 0278942d48 Make sure content lists don't look at "anonymous nodes" (nodes that are
anonymous descendants of the root of the list).  Bug 240851, r=sicking, sr=jst
2004-04-29 21:07:44 +00:00
timeless%mozdev.org 8dd729d5d3 Bug 241646 Shift+Mousewheel (scrollwheel) behavior backwards, unintuitive not correctable with configuration
patch by sand@blarg.net r=bryner sr=roc
2004-04-29 07:01:50 +00:00
sicking%bigfoot.com 2b59d6285d Bug 241924: Use SetValueInternal so we don't get caught in security checks.
r/sr=bz
2004-04-29 00:52:53 +00:00
bzbarsky%mit.edu f4439f7df0 Implement "replace" argument for document.open(). bug 164821, r+sr=jst 2004-04-28 01:40:39 +00:00
cbiesinger%web.de 459c58c689 bug 241092, make nsIStreamLoaderObserver usable in javascript, by changing its
argument from a string to an octet array
r=bryner sr=darin
2004-04-27 16:06:00 +00:00
bzbarsky%mit.edu 8d004584b6 Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
bsmedberg%covad.net 02373a0bb0 Bug 141090 - New profiles do not display current theme w/ check flag
patch by jerry.tan@sun.com r=me sr=bryner
2004-04-24 17:05:23 +00:00
mkaply%us.ibm.com 2bc46bee24 #211438
r=bryner, sr=bzbarsky
Patch from Rich Walsh - fix misidentification of anchor containing text blocks as anchors during drag/drop
2004-04-23 13:52:50 +00:00
brendan%mozilla.org 4f32d680a7 Forgot to serialize/deserialize JSRegExp.cloneIndex, and rev XUL FastLoad file version (240404, r+sr=shaver). 2004-04-22 16:00:48 +00:00
bmlk%gmx.de 6892b7e96c remove unused files bug 240559 r/sr=bzbarsky 2004-04-22 04:27:54 +00:00
bzbarsky%mit.edu 668a56226d Drag from one frame to another should not load anything, like most drags within
a single page.  Bug 53376, r+sr=jst
2004-04-22 03:16:18 +00:00
bmlk%gmx.de 5b682d1c14 Remove unused functions bug 240559 r/sr =bzbarsky 2004-04-21 15:49:29 +00:00
dbaron%dbaron.org a00b1a816a Call AddBaseTagInfo for LINK, META, SCRIPT, and STYLE elements, and also call SetContentID for META elements. b=241128 r+sr=jst 2004-04-20 23:41:56 +00:00
bzbarsky%mit.edu e76f2f86ac Fix HasAttributeDependentStyle to not assume that class and ID attributes are
named "class" and "id".  Bug 240766, r+sr=dbaron
2004-04-20 19:48:20 +00:00
bzbarsky%mit.edu 1bec34f862 Pretttyprinted "special root" documents shouldn't load styleshets or execute
scripts.  Bug 230579, r=sicking, sr=peterv
2004-04-20 17:12:48 +00:00
timeless%mozdev.org f15e12c3c4 Bug 64485 [Linux] Intellimouse Explorer Backwards and Forwards button support
changes per bryner for r=bryner sr=roc
2004-04-20 05:14:40 +00:00
neil%parkwaycc.co.uk 39c2c47f50 Bug 240562 Remove unused variable p=gautheri@noos.fr r=glazou sr=roc 2004-04-19 22:31:12 +00:00
bryner%brianryner.com edf943927e Fix shift+tab in mail compose (bug 240504). r=neil, sr=jst 2004-04-19 17:48:34 +00:00
timeless%mozdev.org d73b004d73 Bug 64485 [Linux] Intellimouse Explorer Backwards and Forwards button support
patch by sand@blarg.net r=bryner sr=roc
2004-04-19 15:48:14 +00:00
bzbarsky%mit.edu 3d8d255e66 Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
r+sr=dbaron
2004-04-18 20:10:09 +00:00
gerv%gerv.net 85ce8c146b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
gerv%gerv.net 6635d16530 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
bryner%brianryner.com 4f8b5bf9d4 deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst. 2004-04-18 00:28:47 +00:00
gerv%gerv.net 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
varga%nixcorp.com 5026248834 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
darin%meer.net 25d84ac621 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
bzbarsky%mit.edu 4cba32786b Make nsXULElement::GetChildNodes use the same (live) node list that
nsGenericElement uses.  Bug 240633, r+sr=jst on the C++ changes, r=neil, sr=jst
on the JS changes.
2004-04-15 22:14:39 +00:00
sicking%bigfoot.com 7ae433a315 Bug 240264: Don't try to store three bits of data in a pointermember, only two are safe.
r/sr=jst
2004-04-15 21:24:30 +00:00
cbiesinger%web.de d4e1da55f3 Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu 846feff665 Make getElementsByAttribute be an nsContentList so that it's got that live
DOMNodeList goodness that all nodelists should have.  Change some JS to not
break, and some other JS to be a little more efficient with the new world of
lazy listness.  Bug 240186, r=neil on the JS changes, r=jst on the content
changes, sr=jst
2004-04-15 01:51:32 +00:00
caillon%redhat.com 30de5768cb Remove a bogo assert, and explicitly mention when exceptions are thrown here.
219506, r+sr=jst
2004-04-14 20:12:54 +00:00
bzbarsky%mit.edu d273b7afe8 Clear the namespace stack on a well-formedness error, since we're clearing our
state then.  Bug 239546, r=sicking, sr=peterv
2004-04-14 19:31:33 +00:00
sicking%bigfoot.com 42aed85fe0 Forgot to fix copy'n'paste license-errors from bug 238327. Not part of default build. 2004-04-14 16:52:48 +00:00
sicking%bigfoot.com 86d7f72757 Fix typo in checkin for bug 238327. Not part of default build. 2004-04-14 16:43:57 +00:00
dveditz%cruzio.com d27a8470ac bug 240449 infinite loop tickled by some skins, r=bsmedberg, sr=dbaron, a=brendan 2004-04-14 08:19:27 +00:00
bzbarsky%mit.edu e14f9b528d Fixing Windows bustage. Bug 76994. 2004-04-14 05:53:49 +00:00
bzbarsky%mit.edu a8f8507102 Remove GenericElementCollection; convert consumers to nsContentList for extra
lazy goodness. Bug 76994, r=sicking, sr=jst (forgot this change the first
checkin).
2004-04-14 04:29:17 +00:00
bzbarsky%mit.edu 0e6fe7c836 Remove GenericElementCollection; convert consumers to nsContentList for extra
lazy goodness.  Bug 76994, r=sicking, sr=jst
2004-04-14 04:26:00 +00:00
bzbarsky%mit.edu e69acab219 Make sure to apply our styles to our anonymous content no matter what the
page's style language is.  Bug 234761, r=sicking, sr=jst
2004-04-14 02:05:52 +00:00
jst%mozilla.jstenback.com 180aec7c1c Fixing bug 240321. Making XHTML documents default to UTF8 in stead of trying to autodetect or what not. r+sr=bzbarsky@mit.edu 2004-04-13 22:28:16 +00:00
bzbarsky%mit.edu b5886c67ae Make nsXULDocument use the post-redirect URI as the document URI for non-chrome
and non-resource channels, the way all other documents do.  Bug 240358, r+sr=jst
2004-04-13 18:02:28 +00:00
sicking%bigfoot.com fdef38b20b Bug 236479: Kill nsMappedAttributes::GetAttribute.
Patch by Wladimir Palant (trev@gtchat.de)

r=sicking sr=jst
2004-04-13 16:45:59 +00:00
bryner%brianryner.com 10b4b82e6a Fix lack of caret in add email account wizard (bug 214306). The problem here was that when ShiftFocusInternal was given an explicit starting point, it was calling SetFocusedContent() for that node, which updated mCurrentFocus but not gLastFocusedContent. That violated the "invariant" that the active ESM's mCurrentFocus is the same as gLastFocusedContent, causing confusion later in SendFocusBlur(). This is fixed by making ShiftFocusInternal and GetNextTabbableContent not rely on mCurrentFocus being set to the starting content, which avoids the inconsistency. r=neil, sr=dbaron. 2004-04-13 10:27:50 +00:00
bryner%brianryner.com 76b5d475eb Fix lack of caret in add email account wizard (bug 214306). The problem here was that when ShiftFocusInternal was given an explicit starting point, it was calling SetFocusedContent() for that node, which updated mCurrentFocus but not gLastFocusedContent. That violated the "invariant" that the active ESM's mCurrentFocus is the same as gLastFocusedContent, causing confusion later in SendFocusBlur(). This is fixed by making ShiftFocusInternal and GetNextTabbableContent not rely on mCurrentFocus being set to the starting content, which avoids the inconsistency. r=neil, sr=dbaron. 2004-04-13 09:39:16 +00:00
timeless%mozdev.org d50a4d54b3 Bug 239372 ESM caches profile preferences and constantly gets others
r=bryner sr=bz
replacement was a bit too global
2004-04-13 07:09:54 +00:00
timeless%mozdev.org 492beea450 Bug 239372 ESM caches profile preferences and constantly gets others
r=bryner sr=bz
2004-04-13 06:41:35 +00:00
jst%mozilla.jstenback.com 37999b600a Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org. 2004-04-13 03:21:50 +00:00
roc+%cs.cmu.edu 93ceed6057 Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron 2004-04-13 03:03:18 +00:00
sicking%bigfoot.com 5a024ce5cf Bug 238450: Remove files no longer used. Not part of build 2004-04-13 02:07:02 +00:00
sicking%bigfoot.com b515c48e1b Bug 238450: Forgot to add file. Not part of build
r=afri
2004-04-13 01:47:40 +00:00
bzbarsky%mit.edu 3b28a5fb4c Fix some misspelled comments. Bug 106386, patch by Alex Vincent
<ajvincent@juno.com>, r+sr=bzbarsky
2004-04-13 01:27:25 +00:00
bryner%brianryner.com 62c142565c More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
bzbarsky%mit.edu 52e2013908 Use IsContentOfType instead of nsIDOMNode::type to check for an element. Bug
237213, r+sr=jst
2004-04-13 00:23:22 +00:00
bzbarsky%mit.edu 7b4e01edd8 Make mutation events not be cancelable. Bug 117128, r+sr=bryner 2004-04-13 00:21:27 +00:00
sicking%bigfoot.com f0b0915f53 Bug 238450: Implement nsIDOMSVGStylable and make class-selectors work for svg-elements.
r/sr=jst for classinfo changes
r=afri for the rest  (not part of build)
2004-04-12 23:48:42 +00:00
jst%mozilla.jstenback.com ea09951b26 Fixing bug 240122. Making the document.body setter do the right thing, and be faster and less bloaty. Also deCOMtaminate accesskey code in nsGenericHTMLElement. r+sr=bzbarsky@mit.edu 2004-04-12 23:30:01 +00:00
sicking%bigfoot.com 8af734bf75 Bug 238327: Implement the svg:style element.
Changes to svg-only files r=afri  (not part of build)
Changes to transformiix files r=peterv sr=jst
Changes to other files r/sr=jst
2004-04-12 23:21:42 +00:00
bzbarsky%mit.edu 5685596b84 Do less QIing of events in WalkHandlersInternal. Bug 237453, r=sicking,
sr=peterv
2004-04-12 22:49:13 +00:00
sicking%bigfoot.com 6ce4fac4be Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
bzbarsky%mit.edu 54bc744311 Make <frame> elements own their own content viewer/docshell/dom like iframes
already do.  Refactors some code the two shared into a superclass.  Bug 170588,
r+sr=jst
2004-04-12 22:47:24 +00:00
sicking%bigfoot.com db35ca6d16 Bug 236873: Let more elements share classes to save codesize.
r/sr=jst
2004-04-12 22:25:17 +00:00
dbaron%dbaron.org f331c5a265 Fix SVG bustage. b=239008 2004-04-12 22:14:16 +00:00
dbaron%dbaron.org ad713a3eaf De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner 2004-04-12 21:56:09 +00:00
dbaron%dbaron.org 21a5e14d4e Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky 2004-04-12 21:54:45 +00:00
dbaron%dbaron.org b2e0bd26a0 Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861 2004-04-12 21:53:22 +00:00
cbiesinger%web.de 8d14e41cc6 bug 236707 ARABIC COMMA's Joining Class is wrong
patch by Behnam Esfahbod <behnam@esfahbod.info> r=smontagu sr=rbs a=mkaply
2004-04-10 14:21:41 +00:00
caillon%redhat.com 626eea0b43 Bug 219829
Allow mixing length and percentage values with keyword values for the background-position property, which is now allowed per section 14.2.1 of CSS 2.1
r+sr=dbaron
a=asa
2004-04-10 05:08:02 +00:00
jst%mozilla.jstenback.com ea21d2ad3b Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org 2004-04-10 00:25:01 +00:00
bzbarsky%mit.edu d246d9dee9 Fix handling of deleteRow(-1) by table sections (bring it in line with what
tables do).  Bug 239566, r+sr=jst, a=asa
2004-04-09 21:05:27 +00:00
bzbarsky%mit.edu 6de8f0577c Cloned script nodes should not reexecute the script. Bug 127016, r=sicking,
sr=jst, a=asa
2004-04-09 21:04:25 +00:00
dbaron%dbaron.org 83b3616457 Add -moz- prefix to :first-node and :last-node. b=141397 r+sr=bzbarsky a=chofmann 2004-04-07 23:25:06 +00:00
bzbarsky%mit.edu 9f90d84ad3 Relanding bug 238654 in a way that hopefully builds. r=sicking, sr=darin,
a=chofmann.
2004-04-06 00:57:13 +00:00
bzbarsky%mit.edu 619239f690 Backing out to fix Windows bustage. 2004-04-05 15:43:21 +00:00
bzbarsky%mit.edu 28fc219f6c Disable content-location support when dealing with servers known to send out
bogus content-location headers.  Bug 238654, r=sicking, sr=darin, a=chofmann.
2004-04-05 15:02:48 +00:00
bzbarsky%mit.edu 1b10be9412 Fix more bustage. Bug 239079. I wish gcc would at least warn on this or
something instead of merrily compiling it....
2004-04-03 19:01:38 +00:00
bzbarsky%mit.edu 2eb475c80c Fixing debug build bustage. Bug 239079. 2004-04-03 17:47:26 +00:00
bzbarsky%mit.edu 3c83dc43ba Fix ID selector parsing to check for a valid identifier. Bug 239079,
r+sr=dbaron, a=chofmann
2004-04-03 17:18:45 +00:00
m_kato%ga2.so-net.ne.jp 33ba46e453 Port issue for WinXP 64bit b=229722 r+sr=jst 2004-04-03 08:53:36 +00:00
darin%meer.net ecb1ce6fe2 landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron 2004-04-01 19:44:17 +00:00
bzbarsky%mit.edu fb237dfd07 Make enter on file inputs submit form. Bug 111689, r+sr=jst, a=choffman 2004-04-01 00:56:58 +00:00
neil%parkwaycc.co.uk 95f54f82ba Bug 235217 Crash removing the last row from an rdfliner r=varga sr=darin a=chofmann 2004-03-31 22:13:18 +00:00
bzbarsky%mit.edu fcf9c28348 Fix possible crash due to misuse of nsCOMPtr. Bug 238005, r=caillon,
sr=peterv, a=asa
2004-03-31 15:15:59 +00:00
bzbarsky%mit.edu 79a2f3c0ec Fix bug 236921. This makes the root node's style context have no parent, makes
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root.  r=caillon, sr=dbaron, a=asa
2004-03-29 16:00:38 +00:00
darin%meer.net 54ef7d9d2a landing patch for bug 238219 "nsIDocument changes cause Adobe SVG plugin to crash" r=bryner sr=jst a=dbaron 2004-03-29 04:07:13 +00:00
jst%mozilla.jstenback.com f65db6acde Checking in for trev@gtchat.de. Fixing bug 238409. Regression in attribute parsing. r=bugmail@sicking.cc, sr=jst@mozilla.org, a=asa@mozilla.org 2004-03-26 01:44:44 +00:00
neil%parkwaycc.co.uk 9f9e1e57f2 Bug 227646 Tabbing to move focus doesn't work at end of top chrome doc r/sr=bryner a=chofmann 2004-03-25 09:10:53 +00:00
bsmedberg%covad.net 1600a1f372 Re-landing bug 237407 with crash-fix. r/sr=dbaron+brendan a=asa+mkaply 2004-03-23 18:26:43 +00:00
bsmedberg%covad.net 62de9e9c2c Backing out bug 237407 because of tbox orange that I can't easily diagnose. 2004-03-22 15:03:32 +00:00
bsmedberg%covad.net 433c136767 Bug 237407 - classic theme scrollbars & buttons leak into modern, when starting with the profile manager - r+sr=dbaron a=asa for 1.7 2004-03-22 12:58:01 +00:00
jst%mozilla.jstenback.com 65246eb6da Fixing bug 228774. Make our XUL code not crash when dealing with empty datasources. r=bugmail@sicking.cc, sr=bzbarsky@mit.edu, a=chofmann@mozilla.org 2004-03-19 21:58:55 +00:00
brade%comcast.net ab9c01e037 fix for bug 237103; implement QueryCommandIndeterm; patch by Alexandre Tr��mon; r=brade, sr=jst; a=chofmann 2004-03-19 14:17:51 +00:00
dbaron%dbaron.org 1121eb36dd Prevent a label's for content from being another label (or itself), which can lead to crashes. b=237357 Patch from Rene Pronk <r.pronk@its.tudelft.nl>. sr=dbaron r=jst a=chofmann 2004-03-15 22:28:41 +00:00
sicking%bigfoot.com 6ac7779482 Bug 237291: Make Init() on svg-elements take a nodeinfo so that we only have one Init callchain. Not part of build.
r=afri a=tor
2004-03-15 22:27:14 +00:00
bzbarsky%mit.edu 58d63a095b Make sure that the document -> node -> imgRequest -> channel -> listener ->
document cycle is always broken OnStopRequest.  Bug 237153, r+sr=jst, a=dbaron
2004-03-14 18:20:38 +00:00
dbaron%dbaron.org b90fcdc8b2 Tweak nsRuleNode::GetStyleData and GetParentData and annotate with NS_LIKELY and NS_UNLIKELY. b=237042 r+sr=bzbarsky a=chofmann 2004-03-14 17:11:38 +00:00
mconnor%myrealbox.com 3face38ce7 bug 237262 nsAttrAndChildArray::ReplaceChildAt() should addref before releasing, patch by Wladimir Palant (trev@gtchat.de), r=sicking, sr=bz, a=dbaron 2004-03-13 01:17:02 +00:00
alex.fritze%crocodile-clips.com b7a0512856 debug build bustage fix (bug#237169). r/sr=peterv 2004-03-12 11:17:38 +00:00
dbaron%dbaron.org f92415768a DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
sicking%bigfoot.com 11f5ac3b78 Bug 237071: Make height-attribute on tr-elements work again.
r/sr=jst a=dbaron
2004-03-11 23:38:58 +00:00
bzbarsky%mit.edu 67671e4852 Fix leak when a window holding an image document is closed before the image
finishes loading.  Bug 237153, r+sr=jst, a=race between dbaron and brendan.
2004-03-11 20:47:51 +00:00
sicking%bigfoot.com 6fcd42e796 Bug 237071: Make start-attribute on ol-elements work again.
r/sr=jst a=tor
2004-03-11 20:13:25 +00:00
bzbarsky%mit.edu c97233a924 Fix bug 237002 -- mis-ordering of content inserted at the beginning of an
insertion point.  r+sr=jst, a=chofmann
2004-03-10 23:53:09 +00:00
jst%mozilla.jstenback.com 9b10aac055 Fixing regression bug 236796. Make the content iterator mark itself done if it can't find the next node (as can be the case when dealing with anonymous content). r+sr=bzbarsky@mit.edu, a=chofmann@mozilla.org 2004-03-10 23:32:05 +00:00
caillon%redhat.com b4bfdb2aa2 Bug 236946
Remove a few QIs in nsXULElement, and other cleanup.
r+sr=jst
2004-03-10 01:34:55 +00:00
jst%mozilla.jstenback.com c7e9ff636c Fixing bug 236270. Protect the content iterators from broken selection code that creates ranges starting in 'real' dom nodes, and ending in anonymous dom nodes. r+sr=bzbarsky@mit.edu 2004-03-09 23:57:56 +00:00
bzbarsky%mit.edu 548b1d9ba5 Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron 2004-03-09 23:22:02 +00:00
bzbarsky%mit.edu 9ecca91a90 Don't crash on bogus URIs passed to removeBinding. Bug 236809, r+sr=jst 2004-03-09 23:08:53 +00:00
bsmedberg%covad.net b107850633 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz 2004-03-09 19:59:09 +00:00
bryner%brianryner.com 82e01f4cf4 Make sure the canvas focus border is removed any time a content node within the document becomes focused. Bug 235522, r=danm, sr=darin. 2004-03-09 19:34:34 +00:00
sicking%bigfoot.com 1aef143832 Don't export non-existing file. Not part of build 2004-03-09 09:24:11 +00:00
bryner%brianryner.com 217fba8bc9 Support styling treerows differently for odd and even rows via properties (bug 235337). r=varga, sr=bzbarsky 2004-03-09 09:01:46 +00:00
sicking%bigfoot.com 98fc229cd5 Bug 236491: Make svg use new attribute-code.
r=afri on svg-changes (not part of build)
r/sr=jst on nsAttrValue changes (ifdef MOZ_SVG)
2004-03-09 08:44:53 +00:00
bmlk%gmx.de b149d43c9a implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron 2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu de1d1b0866 Fixing build bustage. 2004-03-09 04:28:14 +00:00
bzbarsky%mit.edu 684f965503 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
dbaron%dbaron.org 1679443f82 Fix bogus assertion. r+sr=bryner 2004-03-09 00:52:54 +00:00
sicking%bigfoot.com 6a556ea98b Bug 236619: Fix serializing style-attributes.
r/sr=bryner
2004-03-09 00:51:56 +00:00
sicking%bigfoot.com 565de27231 Bug 233111: Make nsIDOMSVGElement only be inherited by leafclasses.
SVG only, not part of build.

r=afri
2004-03-08 17:32:16 +00:00
timeless%mozdev.org 69df93b398 Bug 217907 nsRange::IsIncreasing caused nsVoidArray::ElementAt(index past end array)
r=caillon sr=jst
2004-03-08 07:33:00 +00:00
roc+%cs.cmu.edu d162445909 Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky 2004-03-07 18:04:24 +00:00
peterv%propagandism.org bbdb3bd09f Fix for bug 233907 (document.createElementNS() doesn't throw NAMESPACE_ERR when given a namespace-invalid name.). r/sr=jst. 2004-03-06 16:00:23 +00:00
roc+%cs.cmu.edu 1313df0dfa Bug 235335. Additional changes. r+sr=bryner 2004-03-06 04:53:30 +00:00
roc+%cs.cmu.edu 3367d05d49 Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner 2004-03-06 04:46:11 +00:00
caillon%redhat.com 62f79d4fe2 Bug 86193
Add a preference allowing users to prevent sites from cancelling the contextmenu event, so right click will always bring up a context menu if the pref is set.
r=jst sr=bryner
2004-03-06 02:58:08 +00:00
sicking%bigfoot.com 1775c22dcc Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst
2004-03-06 00:22:03 +00:00
sicking%bigfoot.com 4fd7bf2f12 Bug 236612: Kill nsGenericContainerElement.
r/sr=jst
2004-03-05 23:13:50 +00:00
bsmedberg%covad.net 896ecff40f Bug 235866 - add xulelement.builder.refresh and dynamically respond to changes in the datsources="" attribute. r+sr=bryner 2004-03-05 04:32:55 +00:00
sicking%bigfoot.com 70084d0d39 Fix build bustage 2004-03-04 18:30:53 +00:00
sicking%bigfoot.com 953f045479 Bug 236472: Fix 3 warnings.
r/sr=tor
2004-03-04 18:04:29 +00:00
chanial%noos.fr 91c3eb4cb6 Bug 118296: implement NS_THEME_MENUBAR, NS_THEME_TOOLBAR, NS_THEME_MENUPOPUP and NS_THEME_MENUITEM (GTK2)
r=bryner, sr=roc
2004-03-04 04:55:31 +00:00
sicking%bigfoot.com e0a252e4f5 Bustage fix from previous patch. 2004-03-04 03:26:38 +00:00
sicking%bigfoot.com 849211d4f5 Try to fix bustage by casting through PRUint16 2004-03-04 03:00:25 +00:00
sicking%bigfoot.com a7e784578a fix build bustage 2004-03-04 02:34:46 +00:00
sicking%bigfoot.com c01d1847b8 Bug 75659: Make charoff support percent values in DOM. (charoff isn't supported yet by layout).
r+sr=jst
2004-03-04 02:18:44 +00:00
sicking%bigfoot.com 050843a6e0 Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
r=caillon sr=jst
2004-03-04 02:06:28 +00:00
roc+%cs.cmu.edu 5ad05872ea Bug 215567. Make 'auto' bottom/right in clip rects give the rect NS_MAXSIZE so we don't think a cliprect is empty when it isn't. 2004-03-03 03:34:03 +00:00
bzbarsky%mit.edu 806cad4c39 Move CreateCDATASection, CreateProcessingInstruction, and CreateEntityReference
up to nsDocument so they're available in XHTML documents.  Bug 69840, r+sr=jst
2004-03-02 22:39:46 +00:00
bzbarsky%mit.edu d5e0e6bd19 Make the binding manager deal with ContentInserted and ContentReplaced
notifications in a more reasonable (though still not completely correct) way.
Last touches on bug 233191, idea suggested by hyatt, r+sr=jst
2004-03-02 22:28:48 +00:00
sicking%bigfoot.com de1b178ccd Remove unused file.
r/sr=jst
2004-03-02 16:49:17 +00:00
darin%meer.net 1d2d419885 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com 397549f842 fixing windows bustage 2004-02-27 17:43:15 +00:00
bryner%brianryner.com d6b0d386ee deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
alex.fritze%crocodile-clips.com 234b03e787 Fix for bug #233419: Communicate parent chain changes on svg element to full child tree; use appropriate default values for missing context in nsSVGLength. Not part of default builds - SVG only. 2004-02-27 01:00:33 +00:00
jst%mozilla.jstenback.com 38156c069e Fixing bug 170416. Make sure strings are null-terminated before passing them to nsIOutputStream::Write(). r+sr=dbaron@dbaron.org 2004-02-27 00:28:29 +00:00
bzbarsky%mit.edu 6f88dc7dfb Make Click() work on image inputs. Bug 96595, patch by basic@mozillanews.org,
r=bzbarsky, sr=jst
2004-02-26 23:01:45 +00:00
alex.fritze%crocodile-clips.com c16352f313 Implement nsSVGTransform::GetValueString() for nsIDOMSVGTransform::SVG_TRANSFORM_MATRIX case. Not part of default build - SVG only. 2004-02-26 15:44:32 +00:00
jst%mozilla.jstenback.com 7ce5402510 Fixing regression crasher bug 235209. Make sure we have a strong reference to a nsIScriptContext we're touching *after* we've executed scripts on it. r=danm-moz@comcast.net, sr=bzbarsky@mit.edu 2004-02-26 02:35:30 +00:00
jst%mozilla.jstenback.com 6c6eb77cec Fixing bug 233137. Work around the problem with reparenting XPConnect wrappers for XUL elements by just not doing it, like we used not to before the fix for bug 197427 was checked in. r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2004-02-25 23:57:28 +00:00
bryner%brianryner.com 28078e9835 Trivial change to not run the nsFont default ctor here. r+sr=dbaron. 2004-02-25 23:15:11 +00:00
alex.fritze%crocodile-clips.com 0c688cf1c7 Make sure path segs get deleted from correct array on parse failure. Not part of default builds - svg only. 2004-02-25 22:28:23 +00:00
dbaron%dbaron.org 8fb0d9c6da Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst 2004-02-25 21:04:50 +00:00
sicking%bigfoot.com 8219076cd8 Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
r=peterv sr=jst
2004-02-24 23:55:18 +00:00
sicking%bigfoot.com 103bd04956 Bug 235435: Don't crash when serializing a XUL prototype document without a root. Fixes regression from bug 195350
r/sr=jst
2004-02-24 23:36:44 +00:00
mkaply%us.ibm.com cb9a9770ea #234412
r=pedemont, sr=dbaron
Add divide by zero check to rulenode
2004-02-24 23:15:18 +00:00
bzbarsky%mit.edu 3c089e404e Set prevValue for DOMCharacterDataModified Mutation events. Bug 117131,
r+sr=peterv
2004-02-24 23:10:38 +00:00
dbaron%dbaron.org fe75e6498c Attempt to fix Windows bustage. 2004-02-24 07:37:36 +00:00
dbaron%dbaron.org fd7b04962f Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc 2004-02-24 06:48:25 +00:00
bzbarsky%mit.edu 2f227e1eeb Don't error out of sending empty file inputs on MacOS. Bug 199053, r+sr=jst 2004-02-24 02:54:12 +00:00
bryner%brianryner.com 4b17555763 Fixing AIX bustage 2004-02-24 00:36:35 +00:00
bryner%brianryner.com 745944525d Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
dbaron%dbaron.org 8b81db7e6f Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst 2004-02-20 21:38:31 +00:00
jst%mozilla.jstenback.com 09b4fb5ea6 Checking in for roland.mainz@nrubsig.org, bug 234982. Making print errors always be reported to the user. r+sr=roc@ocallahan.org 2004-02-20 20:59:55 +00:00
jst%mozilla.jstenback.com f218d03481 Fixing bug 233142. Correct event default action prevention logic to match what we used to do before bug 226462 was fixed. r=bzbarsky@mit.edu, sr=bryner@brianryner.com. 2004-02-20 20:46:22 +00:00
sicking%bigfoot.com 580557c74f Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
r=bryner sr=jst
2004-02-20 19:00:43 +00:00
bryner%brianryner.com 41c3b9355c Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
roc+%cs.cmu.edu 7dfdbffda0 Bug 230697. Extend MOZ_FORCE_PAINT_AFTER_ONLOAD so that CSS background image loads delay firing of the onload event. r+sr=bz 2004-02-20 06:00:35 +00:00
darin%meer.net 8bc9bba9d5 landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.
2004-02-20 01:53:23 +00:00
bzbarsky%mit.edu 905b64bdaa Make the plaintext serializer properly handle CDATA nodes. Bug 234427, patch
by Sebastian Redl <wasti.redl@gmx.net>, r=akkana, sr=bzbarsky
2004-02-20 00:10:36 +00:00
bzbarsky%mit.edu 69833527e4 Reset ourselves to the new URI when doing a Load(), instead of resetting to
null.  Bug 233952, r+sr=jst
2004-02-19 23:10:47 +00:00
bzbarsky%mit.edu d91647a802 Fix windows bustage. Bug 232132 2004-02-19 23:00:44 +00:00
bzbarsky%mit.edu 087e3c1545 Make property compilation use dependent strings instead of copying the method
bodies and move some duplicated code into a superclass.  Bug 232132,
r=timeless, sr=bryner
2004-02-19 22:24:41 +00:00
sicking%bigfoot.com 8662843478 Bug 232480: Fix warnings caused by earlier patch in same bug as well as a few random other warnings.
r=peterv sr=jst
2004-02-19 22:16:16 +00:00
bzbarsky%mit.edu db964821d9 Give events created with createEvent a time-of-creation timestamp. Bug 116088,
r+sr=jst
2004-02-19 22:10:23 +00:00
tor%cs.brown.edu e4f437d0e6 Bug 234752 - Print code returns NS_OK in cases where it should return
an error.  Patch by roland.mainz@nrubsig.org, r+sr=roc.
2004-02-19 21:58:40 +00:00
bzbarsky%mit.edu bb4d3d4227 nsAttributeTextNode should always be anonymous. Bug 234613, r+sr=jst 2004-02-19 21:55:18 +00:00
bzbarsky%mit.edu 154b92a753 Add null checks to some DOM methods. Bug 234331, r+sr=jst 2004-02-19 21:54:12 +00:00
bzbarsky%mit.edu 09e02b6789 Remove redundant CheckLoadURI function in nsXMLElement. Bug 41907, r+sr=jst 2004-02-19 21:51:10 +00:00
bzbarsky%mit.edu 0a478e926e Don't crash on null nodes passed to renameNode. Bug 233955, r+sr=jst 2004-02-19 21:45:59 +00:00
darin%meer.net 416ce44647 bustage fix r=dbaron 2004-02-19 21:01:29 +00:00
cbiesinger%web.de bb8f20a832 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
dbaron%dbaron.org 0168550440 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
dbaron%dbaron.org 920e4ac889 Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky 2004-02-19 18:02:20 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com 41643eed69 Make script-created DOM events get dispatched to the system event group just like user events. This fixes firing keypress events at a form input, since editor listens for keypresses using the system event group. Bug 213144, r+sr=bzbarsky, a=chofmann. 2004-02-16 08:50:56 +00:00
bzbarsky%mit.edu d60de8d9fe Change the refcounting model for XBL stuff as follows:
1)  nsXLBDocumentInfo owns all prototype bindings and deletes them in its
    destructor
2)  Everyone else just has weak refs to prototype bindings
3)  nsXBLBinding holds a weak ref to the proto binding and a strong ref to
    the document info
4)  The document info is what's stored in the chrome cache.

to prevent crashes.  Bug 226692, r=timeless, sr=bryner, a=brendan
2004-02-15 19:24:42 +00:00
bzbarsky%mit.edu d6fb75b9c7 Make sure to retarget events when they leave native anonymous content. Also
make sure that native anonymous content is marked so (this way clicking on a
url()-created image in :before won't have an <img> node as a target).  Bug
233286, r+sr=bryner, a=dveditz
2004-02-15 04:45:18 +00:00
dbaron%dbaron.org d78e8a45b5 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
timeless%mozdev.org 633ac2bcf3 1.148 <jst@mozilla.jstenback.com> 09 Jan 2004 15:54
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission.
Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
Fix MOZ_TIMELINE r+sr=bz
Not part of the build
2004-02-13 22:19:50 +00:00
peterv%propagandism.org c4cd02b8bf Fix stupid error from fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r/sr=jst, a=choffman. 2004-02-12 16:40:40 +00:00
jst%mozilla.jstenback.com d576bb7676 Fixing bug 206859. Don't allow drag & drop into file inputs. r=caillon@aillon.org, sr=bryner@brianryner.com, a=chofmann@mozilla.org 2004-02-11 21:31:53 +00:00
bzbarsky%mit.edu 4d40400018 Fix hang bug 232368. Patch by Mats Palmgren <mats.palmgren@bredband.net>,
r=bzbarsky, sr=bryner
2004-02-11 07:47:06 +00:00
bzbarsky%mit.edu 09e79ec17b Fix bug 232798 -- make sure to set the link handler on the prescontext to null
when destroying the document viewer.  r+sr=jst
2004-02-11 06:48:37 +00:00
jst%mozilla.jstenback.com 6ca4c1a78e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bryner%brianryner.com b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
jst%mozilla.jstenback.com ae49f5a091 Fixing regression bug 233753. Making document.createElement() create HTML elements again when called on an HTML document. r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2004-02-11 02:22:43 +00:00
sicking%bigfoot.com a78ca8f7dd Bug 232989: Fix crash due to bad refcounting in nsDOMAttribute
r+sr=bryner
2004-02-11 02:02:39 +00:00
sicking%bigfoot.com 65d14b7bf0 Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst
2004-02-11 00:09:59 +00:00
sicking%bigfoot.com 8638287526 More bug 232480: Forgot to make nsGenericHTMLElement forward to it's new parentclass
r/sr=peterv
2004-02-10 20:04:57 +00:00
sicking%bigfoot.com 955a4a45ec Bug 232480: Make nsGenericHTMLElement inherit nsGenericContainerElement and kill the concept of leaf vs. container elements. Also remove unused argument to CopyInnerOf
r=peterv sr=jst
2004-02-10 19:36:43 +00:00
mvl%exedo.nl f008ef89d7 Add a way to manually show a single blocked pop-up window. Pass the features of the window.open() call in DOMPopupBlockedEvent.
Bug 198846, r=danm, sr=jag
2004-02-10 18:22:23 +00:00
peterv%propagandism.org 10d0a7ba8c Fix warnings. 2004-02-10 13:17:48 +00:00
peterv%propagandism.org 830c240dc2 Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst. 2004-02-10 10:58:13 +00:00
sicking%bigfoot.com 19ba87419f Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
r=bz sr=jst
2004-02-10 09:08:06 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bzbarsky%mit.edu 20bef6960b Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
by pushing the relevant helpers up to nsGenericElement..  Remove referrer code
in nsSVGDocument, since nsDocument handles that.  Bug 233370,
r=alex@croczilla.com, sr=jst
2004-02-09 20:48:20 +00:00
dbaron%dbaron.org f916d83bd2 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
cbiesinger%web.de 910395d42e Bug 84123 Image information is shown on title bar only after image is completely loaded
call UpdateTitleAndCharset in OnStartContainer, that's the earliest time at
which we have the image dimensions.
r=varga sr=bzbarsky
2004-02-08 20:58:38 +00:00
dbaron%dbaron.org a2710c647c Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:43:50 +00:00
dbaron%dbaron.org 8e8930d3ac Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:22:47 +00:00
dbaron%dbaron.org 55db119e9b Fix crashes caused by out-of-bounds access to gLexTable and some other bugs. b=233399 r+sr=bzbarsky 2004-02-08 07:29:42 +00:00
bzbarsky%mit.edu 42ba5fd813 Fix bug 233197. r+sr=jst 2004-02-07 19:38:10 +00:00
alex.fritze%crocodile-clips.com 910659d1c9 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
hpradhan%hotpop.com 6da139214f Bug 193223 : Make the add() method on html option collections
more compatible with IE. r+sr=jst
2004-02-07 11:40:30 +00:00
jst%mozilla.jstenback.com 778692772c Fixing regression bug 233191. Make sure we fire the correct document notifications when inserting/appending children to a DOM node through the DOM APIs. r=mscott@mozilla.org, sr=bzbarsky@mit.edu 2004-02-06 02:26:10 +00:00
jst%mozilla.jstenback.com 075957d311 Fixing bug 197427. Making insertBefore, appendChild, replaceChild, and removeChild() work correctly on XUL elements by sharing the implementation with nsGenericElement. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2004-02-05 06:48:30 +00:00
bryner%brianryner.com d4f13c3ba7 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
tingley%sundell.net 23b7aefd42 bug 232854: RemoveBroadcastListenerFor wasn't removing listeners properly.
r=varga sr=bzbarsky
2004-02-05 01:08:07 +00:00
dbaron%dbaron.org a31b1523c3 Improve serialization of new margin/padding properties (and fix CSS parsing errors). b=74880 r+sr=bzbarsky 2004-02-05 00:19:19 +00:00
dbaron%dbaron.org 3cc68a7a25 Relanding changes for bug 74880. 2004-02-04 08:16:19 +00:00
dbaron%dbaron.org efdb93e9d9 Backing out part of changes to see which part is causing performance problem. b=74880 2004-02-04 08:03:40 +00:00
dbaron%dbaron.org 1992d6919c Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky 2004-02-04 06:10:56 +00:00
dbaron%dbaron.org b506c7e4d8 Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner 2004-02-04 00:11:59 +00:00
jst%mozilla.jstenback.com f082a6d5c8 Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com 2004-02-03 23:23:10 +00:00
danm-moz%comcast.net e5582e74d7 that doesn't seem to be the problem. restoring over last revision. 2004-02-03 20:07:39 +00:00
danm-moz%comcast.net db0c085744 disabling last checkin in an attempt to pin down the Tp regression 2004-02-03 17:16:05 +00:00
danm-moz%comcast.net a98a5490c3 add accessor and mutator for event currently being handled. bug 197919 r=bryner,jst 2004-02-03 02:22:01 +00:00
dbaron%dbaron.org 2940eb1647 Make debugging code compile on gcc. Fix warnings. b=232711 r+sr=bryner 2004-02-02 22:42:29 +00:00
bryner%brianryner.com 05a0e4f624 Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
sicking%bigfoot.com 1539ec27ce Bug 231199: Make hashing of mapped-attributes be case sensitive to improve performance, and enable possible codesharing with xul and svg in the future.
r=peterv sr=jst
2004-02-02 22:00:36 +00:00
hpradhan%hotpop.com 84a5a671ab remove unused variable, fix warning (follow up to checkin for bug 229575) 2004-02-01 12:17:19 +00:00
hpradhan%hotpop.com 75bee2c1db bug 232731 : misc cleanup in printing code 2004-02-01 12:10:57 +00:00
bryner%brianryner.com f67839e02e More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
bryner%brianryner.com 0ea3c127ae Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
dbaron%dbaron.org 3c943347cf Add missing CPP_THROW_NEW to fix HP-UX bustage. b=195350 2004-01-30 23:26:29 +00:00
sicking%bigfoot.com b174c837c9 Doh! This is what i ment to do. (Bug 195350) 2004-01-30 22:26:24 +00:00
sicking%bigfoot.com 5293b3bcec More bug 195350 work. Try to improve performance and reduce mallocs by letting buffer for mapped attributes be inline allocated.
r=caillon sr=jst
2004-01-30 22:08:23 +00:00
jst%mozilla.jstenback.com 1804c4910c Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
neil%parkwaycc.co.uk 5f16f4645b Don't retarget events that are bubbling back out of content anonymous to the original target b=196755 r=bryner sr=jst 2004-01-29 21:14:53 +00:00
jst%mozilla.jstenback.com a1067e1862 Making nsDocument::RetrieveRelevantHeaders() non-virtual now that noone overrides it. Bug 202636, suggested by psolanki@myrealbox.com, r+sr=jst@mozilla.jstenback.com 2004-01-29 20:52:06 +00:00
bsmedberg%covad.net 34cd8e8bdf Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
jst%mozilla.jstenback.com 36e6edb041 Fixing bug 227263. Making document.domain return null in stead of throwing an exception when there's no domain to return. r+sr=peterv@propagandism.org. 2004-01-28 23:44:08 +00:00
dbaron%dbaron.org 78533f969d Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
hpradhan%hotpop.com b0106235cd bug 229575 : refactor some code that was common between
the xml and html content sinks into nsContentSink
r=sicking sr=jst
2004-01-28 12:14:17 +00:00
hpradhan%hotpop.com 08548ef3b2 bug 232035 : fix leak and cleanup some stuff in printing code r=dbaron sr=jst 2004-01-28 11:17:14 +00:00
bryner%brianryner.com fd6fed0d82 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
bzbarsky%mit.edu e679e963b2 Make sure to not return uninitialized stuff. Bug 232317, r+sr=jst 2004-01-27 22:24:02 +00:00
bzbarsky%mit.edu ecd8c8058c If compilation of a prototype member fails, destroy all prototype members
before bailing.  Bug 232095, r+sr=bryner
2004-01-27 21:18:00 +00:00
jst%mozilla.jstenback.com b93150920c Fixing bug 232133. Cleaning up nsHTMLSelectElement a bit. r+sr=bzbarsky@mit.edu. 2004-01-27 16:20:38 +00:00
jst%mozilla.jstenback.com b73f25bae6 Fixing bug 202636. Patch by psolanki@myrealbox.com. Adding document.referrer to all document types. r+sr=jst@mozilla.jstenback.com 2004-01-27 04:41:12 +00:00
bzbarsky%mit.edu 1100669bd5 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
sicking%bigfoot.com ccfa77b688 Fix bustage from bad casing in #include 2004-01-26 19:32:48 +00:00
sicking%bigfoot.com 3de34f8d76 More bug 195350 work: Make html use new nsAttrAndChildArray class.
r=caillon sr=jst
2004-01-26 19:22:05 +00:00
ere%atp.fi 7619e4406b Fix for bug 231001: [rte] HTMLArea (Midas) broken since 20040114
r=brade
sr=bz
2004-01-26 09:48:50 +00:00
hpradhan%hotpop.com 502d3e6a09 bug 231233 : nsPrintData.h cleanup r+sr=jst 2004-01-24 07:23:56 +00:00
jst%mozilla.jstenback.com d62aed44c4 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk f97835d45d Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron 2004-01-23 13:31:07 +00:00
jst%mozilla.jstenback.com 3ae37720b3 Removing unused variable (bug 230947). Patch bygautheri@noos.fr, r+sr=jst@mozilla.jstenback.com 2004-01-22 22:20:54 +00:00
pkw%us.ibm.com d7557a2b15 Bug 231104 - Checkin for Bug 195350 causes AIX build to segfault on startup.
r=bugmail@sicking.cc, sr=tor@acm.org
2004-01-22 21:58:57 +00:00
dbaron%dbaron.org b3ce2d47b0 Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +00:00
bzbarsky%mit.edu e933bb5c3c Move the methods for handling inline style and attribute style sheets up to
nsDocument.  Bug 230947, r+sr=jst
2004-01-22 03:35:09 +00:00
bzbarsky%mit.edu 944248d5d9 Make image inputs that got replaced by alt text still submit .x and .y (submit
empty strings).  Bug 122238, r+sr=jst
2004-01-22 03:26:17 +00:00
bryner%brianryner.com 93f6dc27e6 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
dbaron%dbaron.org 0648a43142 Fix leak regression by restoring code that gets the script context from the prototype document for compiling event handlers that are going to be stored in the prototype. b=231384 r=brendan sr=bryner 2004-01-21 21:11:29 +00:00
bzbarsky%mit.edu 4ed327c237 Backing out the last change since it has no effect on Ts and increases
codesize. Bug 224765.
2004-01-21 15:36:28 +00:00
bryner%brianryner.com 290494e26b Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
bzbarsky%mit.edu 309b4ebad5 Oops, forgot this change. Bug 224765 2004-01-21 05:06:42 +00:00
bzbarsky%mit.edu 167e4eed82 Attempt to fix Ts regression from bug 224765. r+sr=darin 2004-01-21 05:03:10 +00:00
dbaron%dbaron.org 0d3378e7d3 Send ContentStateChanged notifications for the checked state with correct BeginUpdate and EndUpdate calls and even when there is no frame, except during element construction. b=231081 r=bzbarsky sr=jst 2004-01-21 04:28:57 +00:00
bzbarsky%mit.edu d0124fc38d When a method has an empty body, don't drop the rest of the binding because of that.
Bug 231324, r+sr=bryner
2004-01-18 23:38:31 +00:00
peterv%propagandism.org 172440f1a9 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
peterv%propagandism.org 58d379eef9 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup) - share CreateElement. r=caillon, sr=jst. 2004-01-18 11:59:21 +00:00
peterv%propagandism.org b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
peterv%propagandism.org 512c8d9a90 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 10:22:22 +00:00
caillon%returnzero.com 652f6388a7 Bug 230976.
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
2004-01-18 02:42:27 +00:00
dbaron%dbaron.org 739ce46d2f Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky 2004-01-18 01:12:58 +00:00
bzbarsky%mit.edu 774747e4a0 Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst 2004-01-17 20:04:26 +00:00
sicking%bigfoot.com 048c504b30 Bug 195350: Fix regression from earlier patch in same bug: make html-attributes be case-insensitive again.
r=caillon sr=peterv
2004-01-16 22:44:33 +00:00
pkw%us.ibm.com 08b8effbe7 Bug 231104 - Checkin for Bug 195350 causes AIX build to segfault on startup.
r=bugmail@sicking.cc, sr=tor@acm.org
2004-01-16 21:04:12 +00:00
sicking%bigfoot.com aac9995dfb Fix to landing of bug 195350. Shuffle the right memory.
r/sr=tor
2004-01-15 23:10:45 +00:00
caillon%returnzero.com a3db938038 Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron 2004-01-15 22:06:39 +00:00
dbaron%dbaron.org b7fcfdfbcc Remove bogus assertion (decl should be null for elt.style, if there's no style attribute). r+sr=bzbarsky 2004-01-15 21:00:35 +00:00
sicking%bigfoot.com b53de3a06a Fix HP-UX bustage 2004-01-15 20:02:25 +00:00
sicking%bigfoot.com 32a19f4b04 Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
r=caillon sr=jst
2004-01-15 17:07:27 +00:00
timeless%mozdev.org 29174e3255 Bug 190826 nsIRDFNodeList is not used
r=jag sr=bz
2004-01-15 08:39:11 +00:00
dbaron%dbaron.org 95c1a4e503 Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
bryner%brianryner.com 8b90ab243e Consolidate SetEnabled and SetDisabled; make sure both of them clear the rule cascade on the rule processors. Bug 230651, r+sr=bzbarsky. 2004-01-15 03:26:56 +00:00
caillon%returnzero.com b23b4264ef Correcting the usage of mozAutoDocUpdate here, see bug 230283.
r+sr=bzbarsky over irc.
2004-01-15 03:18:03 +00:00
timeless%mozdev.org 69ec5cdd87 Bug 229804 CSS Errors in content/x?l/tests
patch by bc@bclary.com r=heikki sr=dbaron
2004-01-15 03:08:01 +00:00
dbaron%dbaron.org b46ca5eba2 Add support for -moz-image-region to getComputedStyle. b=220717 r=bzbarsky sr=ben 2004-01-15 02:25:08 +00:00
dbaron%dbaron.org fc75487666 Fix copy constructor so -moz-image-region inherits correctly. b=220717 r=bzbarsky sr=ben 2004-01-15 02:24:17 +00:00
dbaron%dbaron.org 33b9f7e963 Make HasMutationListeners less repetitive by making the repeated part its own function. b=230938 r+sr=jst 2004-01-15 02:21:32 +00:00
bryner%brianryner.com de4ae44711 When checking whether whitespace should be stripped, look at the element's namespace instead of using IsContentOfType(). This makes things work correctly when MOZ_XUL is not defined and XUL elements are just XMLElements. Bug 230877, r+sr=jst. 2004-01-14 21:33:01 +00:00
brendan%mozilla.org 8a6b9b4def Remove trailing whitespace. 2004-01-14 20:18:54 +00:00
dbaron%dbaron.org 5adbb6a8c9 Implement CSS3 indirect adjacent sibling combinator (~). Roughly identical patches independently written by Daniel Glazman <daniel@glazman.org>, Bradley Baetz <bbaetz@acm.org>, and me. r+sr=dbaron b=135141 2004-01-14 20:12:03 +00:00
bsmedberg%covad.net 173d271bc3 Re-landing bug 229285 - There was a misplaced close-brace in nsXULDocument.cpp that was causing problems non-chrome XUL documents. 2004-01-14 18:03:25 +00:00
bsmedberg%covad.net b791f1c831 Backing out bug 229285 until I can figure out the orange with the -chrome file:///blah scenario. 2004-01-14 15:26:08 +00:00
bsmedberg%covad.net 7615b1313d Bug 229285 - separate nsIXULOverlayProvider from nsIXULChromeRegistry
r=bryner sr=hyatt
2004-01-14 13:30:55 +00:00
dbaron%dbaron.org f0a3a7da49 Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +00:00
bryner%brianryner.com 4ff3150fb4 Fix titlebar updating when using tabs (bug 230829). r+sr=dbaron. 2004-01-14 01:33:47 +00:00
bzbarsky%mit.edu c0550f5c74 Forgot a file. Bug 211376. 2004-01-13 23:53:23 +00:00
bzbarsky%mit.edu d42f0893fe Use weak presshell ptr, since we can. More on bug 230380 2004-01-13 23:24:41 +00:00
bzbarsky%mit.edu 75c2b9acde Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu c4f4038c7d Fix crash bug 230380. Patch by isaachh@mailc.net (Isaac Hwak Han), r=bryner, sr=jst 2004-01-13 20:50:57 +00:00
bzbarsky%mit.edu ccd7a90165 Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00
bryner%brianryner.com 6c1dc8beab Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky. 2004-01-13 02:19:28 +00:00
bzbarsky%mit.edu 0e655ce02d Don't allow pseudos that are supposed to be functions to pass through as ident
tokens.  Bug 230704, r+sr=dbaron
2004-01-12 23:56:18 +00:00
bzbarsky%mit.edu bfec061dfd Minor cleanup in XBL. Bug 230591, r+sr=bryner 2004-01-12 23:43:59 +00:00
jshin%mailaps.org 26e1b7acd6 bug 230104 : fall back to ISO-8859-1 in the script loader when charset name is not recognized or no Unicode decoder is available (r=smontagu, sr=bz) 2004-01-12 20:41:58 +00:00
bryner%brianryner.com a135ce4d60 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
bzbarsky%mit.edu d83869e0ab Fix regression bug 230620. r+sr=dbaron 2004-01-11 22:03:41 +00:00
bryner%brianryner.com 378b0bba29 Revert nsAutoPtr usage here at least until we better understand the bloat. Bug 64116, sr=bzbarsky. 2004-01-11 09:34:07 +00:00
dbaron%dbaron.org 1a8048a611 Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky 2004-01-11 04:29:09 +00:00
neil%parkwaycc.co.uk 7f7adc5185 Bug 229526 Don't trim whitespace in <label> <description> or non-XUL r/sr=hyatt 2004-01-10 23:40:54 +00:00
bzbarsky%mit.edu f483bf4eb0 Don't leave garbage on the namespace stack in failure cases. Bug 230360,
r=sicking, sr=jst
2004-01-10 21:43:32 +00:00
roc+%cs.cmu.edu 4ce233447a Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com cf8eb4f045 Followup for the fix for bug 226522. Undo the part of the change that incorrectly made a bunch of methods in nsGenericHTMLElement virtual. r+sr=dbaron@dbaron.org 2004-01-10 04:42:06 +00:00
bzbarsky%mit.edu 4f04752672 Don't use HTML rules to parse (redundantly) media strings in CSS @import
rules.  Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +00:00
jst%mozilla.jstenback.com 546a730aa4 Eliminate unnecessary (and incorrectly declared) IsContentOfType() method from nsHTMLSharedLeafElement. r+sr=dbaron@dbaron.org 2004-01-10 01:48:32 +00:00
jst%mozilla.jstenback.com 216aa9d2ca Undoing part of a change that was made by mistake in my last checkin (bug 226522), and eliminating the use of NS_METHOD on method declarations in nsGenericHTMLLeafElement and nsGenericHTMLContainerElement. r+sr=dbaron@dbaron.org. 2004-01-10 01:44:10 +00:00
dbaron%dbaron.org 1c56f1361b Fix UMR by filling in out parameter in IsEnabled. b=230536 r+sr=bzbarsky 2004-01-10 00:19:59 +00:00
jst%mozilla.jstenback.com 4ab234b8be General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
jst%mozilla.jstenback.com 08a38d2790 Fixing bug 230283. Don't notify the document about insertion of the document element when there is no document element. r=jonas@sicking.cc, sr+a=dbaron@dbaron.org. 2004-01-09 22:55:13 +00:00
bryner%brianryner.com 632559f54a Fix printing crash regression (bug 230516). r=bzbarsky, sr=dbaron 2004-01-09 22:54:09 +00:00
roc+%cs.cmu.edu c70c9c9de3 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu 2a50602bc0 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
dbaron%dbaron.org 60d1eb6ada Better refcount logging for subclasses of nsXULPrototypeNode. b=230368 r+sr=bryner 2004-01-09 00:01:05 +00:00
cbiesinger%web.de 45487502ad bug 230343, support CSS2.1 cursor:progress
r+sr=dbaron
2004-01-08 21:27:56 +00:00
bryner%brianryner.com 83f9b1e537 Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bzbarsky%mit.edu d37d9a3e5f Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
bzbarsky%mit.edu 31be2e0036 Make sure to not leave bogus namespaces on the stack. Bug 230236, r+sr=jst 2004-01-08 04:25:43 +00:00
bzbarsky%mit.edu 1795acd56f Add Content-Location header support. Bug 109553, r=jst, sr=darin 2004-01-08 04:04:16 +00:00
dbaron%dbaron.org 07c8d2aef6 Fix backwards captions on print error dialogs (printing vs. print preview). b=230342 Patch from Isaac Hwak Han <isaachh@mailc.net>. r+sr=dbaron 2004-01-08 01:24:09 +00:00
bryner%brianryner.com 9c81944cb6 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
bzbarsky%mit.edu 877f2f8567 Forgot to address a review comment... Bug 223799. 2004-01-07 16:29:05 +00:00
bzbarsky%mit.edu 65bd665f41 Better enforcement of XBL's containment rules and better error-reporting. Bug
223799, r=timeless, sr=bryner
2004-01-06 18:30:45 +00:00
bzbarsky%mit.edu a98357b26a Make HTMLButtonElement.type writable. Bug 228174, r+sr=jst 2004-01-06 17:22:08 +00:00
bzbarsky%mit.edu db378ea4f9 Nodes with an id but not in a form should not be accessible via
document.forms["foo"].bar.  Bug 207481, r+sr=jst
2004-01-06 17:14:58 +00:00
caillon%returnzero.com 92dd05b9a3 Move the nsISupports branch up to avoid asking the binding manager for an nsISupports; tinderbox orange fix.
r+sr=bzbarsky
2004-01-06 03:07:57 +00:00
caillon%returnzero.com d76a4d1dd0 Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bzbarsky%mit.edu cfba092448 Make changes to "align" attribute of <legend> trigger reflow. Bug 109280, r+sr=dbaron 2004-01-06 00:01:54 +00:00
bzbarsky%mit.edu 51ae8865ab Make AdjustComputedWidth/Height take a boolean that tells it whether to account
for box-sizing; sometimes we don't want to.  Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
bzbarsky%mit.edu f3555cf1da Make generic DOM datanodes implement GetBindingParent in a semi-useful way so
that event retargeting works (bug 97634, bug 183878).  Also remove some code
that's no longer needed now that we have retargeting.  r=bryner, sr=jst
2004-01-05 23:52:57 +00:00
bzbarsky%mit.edu 3adb94642b Clear mResources backpointer when the resources are destroyed. Bug 226744,
r=bryner, sr=jst
2004-01-05 23:46:00 +00:00
bzbarsky%mit.edu 10ba235d3f Make checkbox and radio also submit by clicking the submit button, like text
inputs do.  Bug 190559, r+sr=jst
2004-01-05 23:39:50 +00:00
bzbarsky%mit.edu 0bd88053bc Make sure to create unique proto chains as needed instead of reusing incorrect
protos.  Bug 127418, r=hyatt, sr=brendan
2004-01-05 23:19:58 +00:00
dbaron%dbaron.org b63b8ca336 Fix two case-sensitivity issues with attribute selectors. b=229172 Patch from Gilles Durys <mozbug@durys.net>. r+sr=dbaron 2003-12-30 17:58:17 +00:00
dbaron%dbaron.org ef2caf0a83 Remove no-longer-needed hook for inspector. b=224164 2003-12-29 19:17:22 +00:00
dbaron%dbaron.org fae5e6db4e Fix overuse of inlining in nsCSSValue. r=bryner b=224165 2003-12-29 19:07:53 +00:00
dbaron%dbaron.org 8e545ec02a Add a correct comment. 2003-12-29 16:39:50 +00:00
bryner%brianryner.com 73561d1e28 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
hpradhan%hotpop.com dade597dd0 bug 229183 : Eliminate an unnecessary QI r+sr=jst 2003-12-25 10:30:48 +00:00
hpradhan%hotpop.com 1c54b5b129 bug 229182 r+sr=jst 2003-12-25 10:25:12 +00:00
bryner%brianryner.com 5aeafaa8a6 deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
hpradhan%hotpop.com 8c41240ea6 backing out last two checkins since they had no effect on Tp 2003-12-24 13:43:25 +00:00
hpradhan%hotpop.com a77a58966b bug 229163 : One more attempt to try and fix perf regression r=sicking sr=jst 2003-12-24 11:03:19 +00:00
hpradhan%hotpop.com 7bd11e3242 bug 229163 : Going back to using an nsISupportsArray
to try and fix perf regression r=sicking sr=jst
2003-12-24 07:45:06 +00:00
peter%propagandism.org a9ca4bdf33 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 15:48:14 +00:00
peter%propagandism.org 79b0f21971 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 15:41:10 +00:00
cbiesinger%web.de 8d3b2b011f Bug 227567. make clientHeight work more like msie
patch by mats.palmgren@bredband.net r=bzbarsky sr=jst
2003-12-22 13:35:39 +00:00
bsmedberg%covad.net a262c9b4f7 bug 219233 - Unfork nsIChromeRegistry.idl (not the impl, just the interface) and move it into content/base/public until we can get a more fine-grained separation of that interface in to GRE/non-GRE pieces. r/sr=hyatt+jst
I couldn't do a CVS move of nsIChromeRegistry.idl, sorry... it was added on a branch earlier. The old CVS log/blame can be found at mozilla/rdf/chrome/public/nsIChromeRegistry.idl
2003-12-22 05:23:10 +00:00
jst%mozilla.jstenback.com ac9e9761a9 Fixing bug 226462. Eliminating the aReverseReturnResult argument from nsIScriptContext::CallEventHandler(). r=caillon@aillon.org, sr=brendan@mozilla.org. 2003-12-21 18:01:19 +00:00
bryner%brianryner.com 7264501b7b Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
bmlk%gmx.de 8f220b9fdd oops, the last patch was done by Boris Zbarsky and it was for bug 155957 2003-12-20 12:19:41 +00:00
bmlk%gmx.de 60303543bc look into wrapper frames for inputs with :after and :before bug 15597 r/sr=dbaron 2003-12-20 12:15:48 +00:00
sicking%bigfoot.com 08b5dc0e2a Bug 228124: Deal with documents without root-element in xml prettyprinter.
Patch by jst. r=me sr=bz
2003-12-16 19:33:09 +00:00
bzbarsky%mit.edu 32c2d4a53e Second part of logic-fixup for bug 225837. Patch by jst, r+sr=bzbarsky,
a=dbaron
2003-12-10 15:16:11 +00:00
neil%parkwaycc.co.uk 4842365f8d Bug 225207 Focused element is scrolled into view when switching tab r=caillon sr=bryner a=dbaron 2003-12-07 09:44:40 +00:00
bzbarsky%mit.edu 5cd4d641b2 Make sure to reframe when the "rules" attribute changes, since tables cache all
sorts of border-collapse stuff across reflows.  Bug 226593, r=bernd, sr=dbaron,
a=brendan
2003-12-04 06:26:15 +00:00
dbaron%dbaron.org 516bd8ea54 Fix problems when using generic font when the parent font is not generic but the closest ancestor with a generic font used the same generic. Miscellaneous cleanup. b=226871 r+sr=bzbarsky a=brendan 2003-12-02 22:24:32 +00:00
jst%mozilla.jstenback.com bae1a69be1 Fixing logic goofup in my nsIContent::GetTag() deCOMtamination patch. r+sr=bzbarsky@mit.edu, a=dbaron@dbaron.org 2003-12-02 22:18:40 +00:00
bzbarsky%mit.edu 9284fd2343 Fix issues with radios that have identical name and id (and multiple nodes in
the doc with the same id!  bad!).  Bug 183940, r+sr=jst, a=dbaron
2003-11-25 02:34:05 +00:00
dbaron%dbaron.org cd013628a9 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
roc+%cs.cmu.edu 1e75e9884d Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa 2003-11-21 10:45:24 +00:00
jst%mozilla.jstenback.com 09b8388f44 Fixing bug 224952. Making uri attributes default to empty string in stead of null for compatibility with IE. r=caillon@aillon.org, sr=bzbarsky@mit.edu, a=dbaron@dbaron.org 2003-11-21 00:59:15 +00:00
jst%mozilla.jstenback.com 9fb3702121 Fixing mac bustage. 2003-11-19 02:23:25 +00:00
jst%mozilla.jstenback.com c26b5779ba Fixing mac bustage. 2003-11-19 02:02:56 +00:00
jst%mozilla.jstenback.com 6380d7fd12 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
caillon%returnzero.com e819607622 Followup to 225411
XHTML as XML documents need to support the document.xml* DOM 3 attributes
r+sr=peterv
2003-11-18 22:07:53 +00:00
sicking%bigfoot.com 55a8f06201 Bug 223012: Make xul fully case sensitive.
r=bryner sr=jst
2003-11-18 18:20:03 +00:00
dbaron%dbaron.org 7ce2f6b952 Scale fixed line-heights when the minimum font size pref kicks in. b=158868 r+sr=bzbarsky 2003-11-18 05:53:22 +00:00
jst%mozilla.jstenback.com a743394ec7 Re-landing fix related to regression bug 147811. Make declaring on* functions trigger the event listener registration code so that event handlers get registerd by simply declaring a global (or whatever the scope) function with the name of a event handler. r=caillon@aillon.org, sr=brendan@mozilla.org. 2003-11-18 01:59:51 +00:00
bzbarsky%mit.edu f60775e3a4 Fix build bustage. I wonder why my gcc didn't catch this... 2003-11-17 21:41:13 +00:00
bzbarsky%mit.edu c0076cd8c6 Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner 2003-11-17 21:03:32 +00:00
dbaron%dbaron.org 9df4925bda Remove unneeded chromeOverride variable. b=225936 r+sr=bzbarsky 2003-11-17 04:10:55 +00:00
bzbarsky%mit.edu 54e4d504ae Be a little smarter about handling the mess that is broken images. Only look
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload.  Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
bzbarsky%mit.edu 5d2f30714a Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron 2003-11-16 02:06:38 +00:00
bzbarsky%mit.edu 74b98017ac -moz-initial, not initial. Use CSS keyword table to prevent this happening
again.  Bug 120903, r+sr=dbaron
2003-11-16 01:12:50 +00:00
bryner%brianryner.com a9d415efad No need to keep an owning reference to an element's NodeInfo if we already have an owning reference to the element. Bug 225825, r=bz, sr=jst. 2003-11-15 21:29:07 +00:00
alex.fritze%crocodile-clips.com 01968627d4 Fix style attribute, broken by bug #7639 checkin. (SVG only - not switched on in default builds) 2003-11-15 11:08:07 +00:00
bryner%brianryner.com bcab4355a5 it's been a long day 2003-11-15 09:20:33 +00:00
bryner%brianryner.com 360d6d221d Fixing some SVG bustage 2003-11-15 08:53:35 +00:00
bryner%brianryner.com 09fafe0935 fix debug build bustage 2003-11-15 08:46:23 +00:00
bryner%brianryner.com a183fc45be Fixing orange (hopefully). Don't dereference a pointer in the same call where it's passed as getter_AddRefs, because that will null it out first. For now, I'm keeping a strong reference to the node info manager at these call sites since it's not clear to me that it's guaranteed to stay around after the NodeInfo is released. 2003-11-15 08:16:23 +00:00
bryner%brianryner.com aae0d0f085 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst. 2003-11-15 05:27:37 +00:00
bzbarsky%mit.edu 120e8ae881 Don't reframe when "float: left" changes to "float: right"; just reflow. Bug
55967, r+sr=dbaron
2003-11-14 22:55:46 +00:00
caillon%returnzero.com 240c088368 Bug 225411; updating DOM 3 Core's Document.xml*
r+sr=jst
2003-11-14 11:10:11 +00:00
dbaron%dbaron.org ba8abce8d4 Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky 2003-11-13 22:48:05 +00:00
bzbarsky%mit.edu c3cc6e8767 Fix bug 225565 by looking at the actual control type. r+sr=peterv 2003-11-13 18:38:41 +00:00
bzbarsky%mit.edu b56da8ba84 Treat bogus "type" values as "text" consistently. Bug 225103, r+sr=peterv 2003-11-13 05:16:06 +00:00
jst%mozilla.jstenback.com c9061a1c2a Silly whitespace cleanup. 2003-11-13 04:15:25 +00:00
jshin%mailaps.org 0cafb292fd bug 222346 : streamline JS script loading code (deleegate charset alias resolution to GetUnicodeDecoder()) (r=smontagu, sr=bz) 2003-11-12 19:51:12 +00:00
bzbarsky%mit.edu bb435c6b86 Make cloneNode() copy the current value and checked properties for inputs. Bug
197294, r+sr=jst
2003-11-10 23:46:29 +00:00
hpradhan%hotpop.com ee5309d55e bug 223108 : Syntax error when loading non-existant external javascript file
r+sr=bzbarsky
2003-11-10 05:53:48 +00:00
hpradhan%hotpop.com 4fcc50d839 bug 218297 : disabled property of input elements is not stored in history
r=jkeiser sr=jst
2003-11-10 05:52:29 +00:00
timeless%mozdev.org 12b256b648 Bug 225120 Remove compiler warnings
patch by arne.anka@stupido.com r=dbaron sr=bz
2003-11-09 22:51:28 +00:00
bzbarsky%mit.edu f39bd1e34f document.config has become document.domConfig to prevent backwards-compat
issues.  Bug 222733, r+sr=jst
2003-11-08 19:30:30 +00:00
sicking%bigfoot.com 30fc41a1e0 Fix build bustage by taking the bug 224331 into account. 2003-11-07 17:07:03 +00:00
sicking%bigfoot.com 4059f5332e Bug 213445: Treat not having mParent *or* not having mDocument as not being in the documnt to fix radiobuttons created through sinks other then the html-sink.
r=bryner sr=jst
2003-11-07 16:53:46 +00:00
sicking%bigfoot.com 12232b9727 Bug 224856: Fix nsGenericDOMDataNode::AppendTextTo by not relying on mText.Get1b() being nullterminated
r=peterv sr=jst
2003-11-07 16:46:15 +00:00
bryner%brianryner.com dee4596823 Attempting to fix Windows bustage 2003-11-07 10:16:36 +00:00
bryner%brianryner.com cc7596e3f1 Inline nsIContent::GetParent() and GetDocument(). Also, remove unused return value on SetParent(). Bug 224331, r=sicking, sr=jst. 2003-11-07 09:47:23 +00:00
bzbarsky%mit.edu 2c3f28dc3a Strip quotes from inside col/row-specs (where there should be no quotes to
start with, but some sites just code like that).  Bug 224598, patch by
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
2003-11-07 04:26:30 +00:00
bzbarsky%mit.edu fb0a974be6 Fix crash bug 118685. Patch by mats.palmgren@bredband.net (Mats Palmgren),
r=bryner, sr=dbaron
2003-11-07 03:35:05 +00:00
timeless%mozdev.org e31b85c754 Bug 224901 oom crash in MakeContentObject for form controls
r=dbaron sr=dbaron
2003-11-06 23:10:45 +00:00
bzbarsky%mit.edu 71b6cca92b Hold a strong ref to the node we plan to remove, since we want to use it after
removing it from the tree.  Bug 221494, r+sr=jst
2003-11-05 17:54:46 +00:00
bryner%brianryner.com 5784af7a5b Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
bzbarsky%mit.edu dd390ca189 Fix parsing regression bug 224737. Patch by mats.palmgren@bredband.net (Mats
Palmgren), r+sr=bzbarsky
2003-11-05 04:51:17 +00:00
dwitte%stanford.edu 989442c6ea removing redundant variable as a result of my previous checkin. 2003-11-04 23:15:22 +00:00
dwitte%stanford.edu f4cc4a66e9 remove support for dom.disable_cookie_{get,set} prefs.
b=223782, r=jst,caillon, sr=alecf,darin (yes really, four reviews).
2003-11-04 22:44:51 +00:00
bzbarsky%mit.edu e77100207e Correctly ignore adjacent type selectors with no combinator. Bug 224188,
r+sr=dbaron
2003-11-04 03:16:10 +00:00
bzbarsky%mit.edu 05d1dbab0a Refactor child element handling such that we don't duplicate event-firing code
all over (now we just do it in nsGenericElement and nsXULElement).  Bug 223349,
r=sicking, sr=peterv
2003-11-04 02:15:28 +00:00
bzbarsky%mit.edu 96055357ca Fix crash when frameset is wiped out before onload events on all subframes have
fired.  Bug 212563, r+sr=jst
2003-11-04 02:01:23 +00:00
timeless%mozdev.org fd97de95f0 Bug 224018 unused variables gDumpFileNameCnt, gDumpLOFileNameCnt in nsDocumentViewer.cpp
r=jst sr=jst
2003-11-03 13:17:00 +00:00
peter%propagandism.org fd3004d408 Additional fix for bug 224313 (). 2003-11-03 09:18:29 +00:00
scott%scott-macgregor.org c4a6e412ba Bug #224313 --> crashes when clicking on mail/news accounts. Patch by Peter van der Beken.
sr=dbaron
2003-11-03 06:49:02 +00:00
dbaron%dbaron.org a498e320e4 Clamp -moz-opacity to the range [0.0,1.0]. b=224478 r+sr=roc 2003-11-02 22:40:43 +00:00
peter%propagandism.org 0c55888e97 Restoring fix for bug 224231, didn't affect btek's Tp. 2003-11-02 15:16:24 +00:00
peter%propagandism.org d7a67ab4b2 Back out a part of the fix for bug 224231 to see if it affects btek's Tp. 2003-11-02 13:51:42 +00:00
uid502 f60aa658cf Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
peter%propagandism.org 816b00b6cc Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502 50383ff50a Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
peter%propagandism.org 08e8d2f39b Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst. 2003-10-30 13:47:29 +00:00
peter%propagandism.org 45a960de1f Fix for bug 223751 (documentType's nodeValue should be null). r/sr=jst. 2003-10-30 12:24:28 +00:00
dbaron%dbaron.org 18982145d0 Backing out previous checkin. 2003-10-30 05:11:21 +00:00
dbaron%dbaron.org 063555105b Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner 2003-10-30 04:34:01 +00:00
dbaron%dbaron.org 9033d75209 Attempt to fix Windows bustage. b=167262 2003-10-30 03:34:58 +00:00
caillon%returnzero.com 50c8451a33 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
dwitte%stanford.edu 48e1ec0204 remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin
2003-10-30 02:59:31 +00:00
caillon%returnzero.com 9bf5dc5c62 Ensure that content can always grab a security manager and namespace manager.
Bug 223373; r+sr=bzbarsky
2003-10-30 02:53:08 +00:00
bzbarsky%mit.edu 0495bdb4fa Remove no-longer-used nav4algorithm code and corresponding debug code. Bug
223155, r+sr=dbaron
2003-10-30 02:19:15 +00:00
bzbarsky%mit.edu 38f1930059 Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
attributes to HandleStartElement.  Update callees as needed.  Bug 223470,
r=sicking, sr=peterv
2003-10-30 02:17:50 +00:00
bzbarsky%mit.edu 24dc3bab0e Make attr() parsing have better error reporting and bail on attr(*|foo). Bug
223746, r+sr=dbaron
2003-10-30 02:06:12 +00:00
timeless%mozdev.org 61783f20d3 Bug 124218 if kCSSRawKeywords gets out of sync with eCSSKeyword_COUNT nsCSSKeywords::AddRefTable might crash in DEBUG code
r=bz sr=bz
2003-10-30 01:59:15 +00:00
dbaron%dbaron.org a51b7b4593 Add missing null terminator to fix crash. b=224039 Patch from Adam James Fitzpatrick <ajfitzpatrick@lurking.org>. r+sr=bzbarsky,dbaron 2003-10-30 01:53:53 +00:00
dbaron%dbaron.org 06ca12003f Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky 2003-10-30 01:51:00 +00:00
dbaron%dbaron.org 4fd72ff1cd Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky 2003-10-30 01:45:37 +00:00
dbaron%dbaron.org 2319e1e03e Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky 2003-10-30 01:40:33 +00:00
bryner%brianryner.com c4d3dbdd6c Don't set mCurrentFocus to null after firing a blur if the blur handler focused something. Bug 147927, r=blizzard, sr=jst, a=sspitzer 2003-10-27 19:52:49 +00:00
sicking%bigfoot.com b3ff999e6a Bug 222667: Add newlines between root-nodes in serializer rather then encoder.
r=peterv sr=jst
2003-10-23 22:24:21 +00:00
timeless%mozdev.org b00d54137b MOZ_TIMELINE - Bug 222134 2003-10-23 10:23:30 +00:00
caillon%returnzero.com b3ef713aff Fixing bustage -- bryner forgot to update these files
Bug 222134
2003-10-22 06:41:30 +00:00
bryner%brianryner.com a0e219b348 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com de3d3fbf61 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
peter%propagandism.org 870a883e8f Additional fix for bug 56764 (Document appendChild, insertBefore fail to throw HIERARCHY_REQUEST_ERR when inserting Text Nodes). r=sicking, sr=jst. 2003-10-21 19:33:31 +00:00
bzbarsky%mit.edu 334969fb54 Treat BeginUpdate/EndUpdate pairs as a batch, instead of flushing tags on any
BeginUpdate call.  Bug 222864, r=peterv, sr=jst
2003-10-21 16:23:27 +00:00
bzbarsky%mit.edu 321b58e88d Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
varga%nixcorp.com 0f42747ce0 Changing my email address. 2003-10-21 15:35:57 +00:00
peter%propagandism.org 0626ddaef4 Fix for bug 56764 (Document appendChild, insertBefore fail to throw HIERARCHY_REQUEST_ERR when inserting Text Nodes). r=sicking, sr=jst. 2003-10-21 12:27:00 +00:00
bzbarsky%mit.edu cbd8c0b032 Make XML prettyprinting work again. Bug 222539, r=sicking, sr=peterv 2003-10-20 19:33:46 +00:00
uid502 b83221b617 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu c9db7359a7 Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu d50940452f Adding support for DOM3 DOMStringList and DOMNameList. Bug 217159,
implementation by peterv, classinfo changes by me, r/sr=me on peterv's changes,
r/sr=peterv on my changes, r=caillon on the whole thing, sr=jst
2003-10-16 00:44:20 +00:00
sicking%bigfoot.com 910d4e886d Bug 199613: Don't put textnodes in the root of the document when parsing XML and XUL since the DOM doesn't allow that.
r=peterv sr=jst
2003-10-15 20:10:47 +00:00
bzbarsky%mit.edu 92ccceaf8d Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
dbaron%dbaron.org c844883c1b Forgot to address review comment. b=221531 r+sr=bzbarsky 2003-10-14 21:06:58 +00:00
dbaron%dbaron.org 13596c7a33 Miscellaneous cleanup of selector matching code:
* remove extra |if| around loop, and convert it from |while| to |for|.
 * remove extra test for |result|
 * rename |curdata| -> |prevdata| and |newdata| -> |data|.
 * use |IsContentOfType| instead of |GetTag|
b=221531  r+sr=bzbarsky
2003-10-13 21:54:33 +00:00
dbaron%dbaron.org fb5dcec631 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
bzbarsky%mit.edu f7143a2333 Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst
2003-10-11 00:27:45 +00:00
neil%parkwaycc.co.uk e49b147dce Bug 161452 Tree content and builder views may need to recheck empty status after children are removed based on patch by kyle yuan r=varga sr=bryner 2003-10-10 08:39:35 +00:00
dbaron%dbaron.org 831e32541e Bustage fixes for bug 221316 no longer needed thanks to bug 221525. 2003-10-07 23:21:50 +00:00
cls%seawood.org 650ad3bf45 what dbaron said 2003-10-07 22:43:54 +00:00
dbaron%dbaron.org 0810949538 Fix HP-UX and AIX bustage. b=221316 2003-10-07 22:15:26 +00:00
neil%parkwaycc.co.uk 51da79949c Bug 221288 XUL tree builder abuses tree batching r=jan sr=alecf 2003-10-07 15:49:50 +00:00
bzbarsky%mit.edu ca7587571d Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
bzbarsky%mit.edu 3df92168d1 Better output on null URIs. 2003-10-06 02:56:27 +00:00
bzbarsky%mit.edu 73180d5126 Fix debug DumpRegressionData method to not crash on null uris for things like
mBinding, mBackgroundImage, etc
2003-10-06 02:16:20 +00:00
darin%meer.net 325b3c6de7 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
bzbarsky%mit.edu 3e7e15b053 Useless test for unsigned >= 0. Bug 221292, patch by
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
2003-10-05 23:46:55 +00:00
bzbarsky%mit.edu 0e34b81adf Fix bogus loop test that would never let the loop terminate. Bug 221289, patch
by tenthumbs@cybernex.net, r+sr=bzbarsky
2003-10-05 18:12:14 +00:00
hpradhan%hotpop.com dbb2c2e5b5 still bug 218837 : backing out all the backouts. they did not work. 2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com e6bbdada91 One final attempt to fix Tp regression from bug 218837 2003-10-05 10:20:56 +00:00