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

2818 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu eb7dd859c2 Refix copy/paste of XHTML to treat it like it does XML -- as plaintext-only
content, since we can't actually copy/paste XML usefully.  Bug 270145, r+sr=jst
2004-12-01 22:43:56 +00:00
dbaron%dbaron.org 21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
bzbarsky%mit.edu 5d84790d77 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc
2004-12-01 03:28:44 +00:00
dbaron%dbaron.org c21915db9d Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky 2004-11-30 19:24:34 +00:00
bzbarsky%mit.edu da145480c7 Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron
2004-11-30 18:30:58 +00:00
dbaron%dbaron.org e2aa2edb92 Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner 2004-11-30 06:04:04 +00:00
mvl%exedo.nl 524ad594d5 Implement DOM 3 isDefaultNamespace()
bug 270640, patch by smaug@welho.com, r+sr=jst
2004-11-28 10:57:22 +00:00
roc+%cs.cmu.edu c59dda520c Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
bryner%brianryner.com 29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
dbaron%dbaron.org 4b47c345dd Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc 2004-11-24 22:05:36 +00:00
bzbarsky%mit.edu 095f0fe791 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu 6b78bd4a5e deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
bzbarsky%mit.edu 4425275728 Expose the content-disposition header on documents (via nsIWindowUtils), and
use it for save as.  Bug 263697, r=biesi, sr=jst, a=asa
2004-11-18 20:50:16 +00:00
shaver%mozilla.org af61b217ff Bug 267352: make sure frame construction events are flushed before starting
to print, to fix regression (form inputs print blank) from 228557. r=darin,
sr=jst, a=roc.
2004-11-17 16:38:01 +00:00
tor%cs.brown.edu a4fd23d276 Bug 269891 - crash in stroke-dasharray sharing. r+sr=bzbarsky 2004-11-15 04:43:11 +00:00
timeless%mozdev.org fb483e6b15 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
bryner%brianryner.com d37af99b29 Add a beginAddingChildren notification to XTF (bug 268691). r+sr=jst 2004-11-09 23:59:24 +00:00
tor%cs.brown.edu 4dc9eba112 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz 2004-11-09 18:19:28 +00:00
neil%parkwaycc.co.uk 2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
jst%mozilla.jstenback.com 6784b07eea Landing workaround for bug 124750. Don't let DOM calls focus elements in hidden tabs. r+sr=bryner@brianryner.com 2004-11-04 01:24:05 +00:00
bryner%brianryner.com 501e430b34 Reduce string copying from nsGenericHTMLElement::GetHrefURIForAnchors (bug 267506). r+sr=jst. 2004-11-03 19:44:59 +00:00
bzbarsky%mit.edu 7fd8feb31d Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
jst%mozilla.jstenback.com 05e17f4cd7 Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org 2004-11-02 19:52:32 +00:00
dbaron%dbaron.org 976fc758a4 Remove nsIStyleRule::GetStyleSheet (and move it to nsICSSRule). b=266991 r+sr=bzbarsky 2004-10-31 17:33:50 +00:00
bzbarsky%mit.edu e7cc653157 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron
2004-10-27 02:19:43 +00:00
aaronleventhal%moonset.net 99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
bzbarsky%mit.edu a2afb45863 "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2004-10-24 18:34:50 +00:00
bzbarsky%mit.edu 4f7fb2d525 Make setting attributes via attribute nodes in HTML correctly lowercase the
attr name.  Bug 264644, r=sicking, sr=peterv
2004-10-24 17:18:27 +00:00
bzbarsky%mit.edu 2895167f89 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky
2004-10-24 17:10:32 +00:00
dbaron%dbaron.org 23bc4069c3 Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:43:49 +00:00
dbaron%dbaron.org 52771912ef Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:32:21 +00:00
daniel%glazman.org 458fe99083 fixes inconsistent selection schemes in HTML tables; b=261385, r=Neil, sr=roc 2004-10-20 15:24:11 +00:00
jst%mozilla.jstenback.com 10a929d4cb Backing out the fix for bug 73605 now that bug 17003 is fixed (was fixed quite some time ago). r=jonas@sicking.cc, sr=jst@mozilla.org. 2004-10-19 22:56:30 +00:00
peterv%propagandism.org 9bf7cae37a Fix for bug 239873 (DOMStringList interface not matching DOM Level 3). r/sr=jst. 2004-10-19 17:20:14 +00:00
peterv%propagandism.org ca1bfd6167 Protect against a crash, part of bug 261450 (Mozilla crashes when changing DOM Nodes [@ nsRange::TextOwnerChanged]). r/sr=bz. 2004-10-19 15:16:51 +00:00
jst%mozilla.jstenback.com 08b3a16535 Re-enabling the fix for bug 69070 and optimizing some string code in caps that was for sure part of the reason for the Tp regression, and use CheckLoadURIWithPrincipal() to be more correct. r+sr=bzbarsky@mit.edu 2004-10-15 16:34:58 +00:00
peterv%propagandism.org 1716f47e5d Fix for bug 264309 (Consolidate CloneNode implementation macros). r/sr=jst 2004-10-15 14:42:14 +00:00
tor%cs.brown.edu 1d8fcac4c6 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
jst%mozilla.jstenback.com 96cd535991 Disable the security check in nsContentUtils::CanLoadImage() to see if that's what costs us 2% per yesterday. 2004-10-14 22:24:07 +00:00
jst%mozilla.jstenback.com bc60433e87 Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu 2004-10-13 23:16:58 +00:00
dbaron%dbaron.org dc1efc09e8 Store the visible area so other callers of InitialReflow use the right size rather than 0x0. b=227361 r+sr=roc 2004-10-13 21:59:26 +00:00
bzbarsky%mit.edu 65b5f30c68 Fix XML serializer to use default namespaces when possible instead of outputing
unneeded namespace prefixes.  Also fix possible correctness issues with the
prefixes it generates.  Bug 263225, r=peterv, sr=rbs
2004-10-13 01:16:06 +00:00
aaronleventhal%moonset.net ca0cd1c767 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs 2004-10-13 01:12:14 +00:00
bzbarsky%mit.edu 204153db3a Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.
2004-10-11 16:29:42 +00:00
bzbarsky%mit.edu 976f8eab47 Fix up uses of GetOwnerDoc/GetCurrentDoc to use the right one, with an eye
towards general sanity on the one hand and sXBL/XBL2 on the other.  Bug 263200,
r+sr=peterv
2004-10-11 16:14:27 +00:00
aaronleventhal%moonset.net b81f44f034 Nit - fixing comment for checkin to bug 24676 2004-10-10 02:50:43 +00:00
aaronleventhal%moonset.net a65d784429 Bug 24676. Support -moz-outline-radius. r=bzbarsky, sr=roc 2004-10-10 00:51:42 +00:00
bzbarsky%mit.edu 9e0265ff6d Fix spelling in comment. 2004-10-09 21:37:57 +00:00
bzbarsky%mit.edu 67e81a846a Fix ComparePoints() to be faster (helps with things like innerHTML). Bug
262764, r+sr=peterv
2004-10-09 21:02:16 +00:00
roc+%cs.cmu.edu 6c4ebb2c18 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky 2004-10-09 01:39:21 +00:00
alex%croczilla.com f877ee870e Wrap GetXTFServiceWeakRef in #ifdef MOZ_XTF to fix non-xtf builds. 2004-10-07 21:23:52 +00:00
alex%croczilla.com 1fce2c4058 Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu ae19bafe08 Don't go through presshells to get to our window; just use the global object.
This fixes various issues that could bite display:none iframes, in particular
bug 262998.  r+sr=jst
2004-10-06 20:24:18 +00:00
bzbarsky%mit.edu 8266fddc46 Fix "normal" and "-moz-initial" values for "content" to do the right thing.
Bug 262624, r+sr=dbaron
2004-10-06 00:45:42 +00:00
mats.palmgren%bredband.net fab37c78b3 Fallback to using the ID attribute when NAME is empty for XUL iframes. b=254284 r=neil.parkwaycc.co.uk sr=bzbarsky 2004-10-01 18:32:18 +00:00
bzbarsky%mit.edu 432e6d1817 Add debug MaxDifference() function to style structs and add some asserts in
style context code to catch structs that are returning unexpected or bogus
hints.  Bug 258910, r+sr=dbaron
2004-10-01 03:33:05 +00:00
bzbarsky%mit.edu e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
jst%mozilla.jstenback.com 03052a2f27 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org 2004-09-23 23:39:16 +00:00
bsmedberg%covad.net 7561fa5d5b Merge bug 246014 from the aviary branch, splitting nsIXULChromeRegistry into a separate piece for seamonkey-only methods. Original Firefox patch r=bryner sr=ben seamonkey merge r+sr=jst 2004-09-21 20:19:48 +00:00
dbaron%dbaron.org feb3d9aee8 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc 2004-09-21 04:41:08 +00:00
db48x%yahoo.com aa17b33cca fixes bug 260293: TreeWalker root (currentNode) with no visible descendants goes astray
patch by Alex "WeirdAl" Vincent <ajvincent@gmail.com>, r=sicking, sr=bz
2004-09-21 04:13:52 +00:00
neil%parkwaycc.co.uk 6a4f37de6b Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
neil%parkwaycc.co.uk 52fee980c1 Fix regression from previous checkin, CloneContent needs to be virtual so that nsTextNode can override it r+sr=jst over irc, no bug 2004-09-16 21:45:38 +00:00
jst%mozilla.jstenback.com fc931b93e2 Fixing bug 259206. Force local documents to always be loaded as XML to fix problem with XML prettyprinting not working if the system incorrectly sets bogus mimetypes for .xsl files (as Fedora Core 2 happens to do). r+sr=peterv@propagandism.org 2004-09-16 19:18:51 +00:00
cbiesinger%web.de 62572e7531 forgot to check this in as part of Bug 258411 2004-09-16 14:20:54 +00:00
cbiesinger%web.de f3e06d119c Bug 258411 - fixing regression from bug 250342: wrong z-order for frames
r+sr=roc
2004-09-16 13:02:54 +00:00
peterv%propagandism.org 1a88732b51 Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2004-09-16 12:39:49 +00:00
dbaron%dbaron.org a0bf92722f Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
dbaron%dbaron.org 5f62984111 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky 2004-09-14 17:26:35 +00:00
bzbarsky%mit.edu 15ac643742 Make sure to addref out param. Bugs 258121 and 247712, r+sr=peterv 2004-09-14 15:06:56 +00:00
bryner%brianryner.com 2c7c1c9fb0 Support properties on documents (bug 253888). r+sr=jst. 2004-09-14 04:21:29 +00:00
roc+%cs.cmu.edu 44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
mats.palmgren%bredband.net d42ee7d038 Use the ID attribute (and not NAME) for FRAME/IFRAME/OBJECT in XHTML. b=183683 r+sr=bzbarsky 2004-09-12 23:34:00 +00:00
bmlk%gmx.de 002c0c28fc changing the border-collapse mode needs to cause a reframe as we have two different types of cellframes depending on the mode, bug 254053 idea=bz, r/sr=dbaron 2004-09-11 06:13:47 +00:00
dbaron%dbaron.org 1e28ab3636 Use sheet URI instead of base URI. b=258708 r+sr=bzbarsky 2004-09-10 19:01:04 +00:00
dbaron%dbaron.org 96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu df42e726bc Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu a8a6ecf161 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org 9e2cdf2204 Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
bryner%brianryner.com 708eab16dc Bustage fix for HPUX (bug 239465) - |explicit| may only be used for converting constructors. r=dbaron. 2004-09-05 19:13:25 +00:00
dbaron%dbaron.org 3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org 9984902fd6 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
cbiesinger%web.de 6fef9f4542 Bug 250342 Views should not inherit from nsISupports
r+sr=roc
2004-09-04 15:49:20 +00:00
dbaron%dbaron.org ee55fda1f1 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org 31bf95ea38 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org 8b8587dcc0 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
bryner%brianryner.com dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
bryner%brianryner.com e14abad4f9 Restoring previous failure code, follow-up to bug 257596 2004-09-01 18:02:04 +00:00
mvl%exedo.nl a6b86054b1 fix third-party checks for images loaded as source of an iframe, by making sure there is a requestingLocation
bug 254510, r=jst, sr=bz
2004-09-01 17:12:18 +00:00
jst%mozilla.jstenback.com bc321b52bc Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
neil%parkwaycc.co.uk 52912b39d2 Bug 135928 Range.surroundContents doesn't work on a single text node p=kin r=jfrancis sr=jst extracted from the otherwise bitrotted patch in bug 58974 2004-09-01 16:18:31 +00:00
aaronleventhal%moonset.net 1f5edcb856 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
bryner%brianryner.com 4c15468e7d Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bryner%brianryner.com d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org 00a887382c Fix debug bustage. b=72747 2004-08-26 19:12:05 +00:00
dbaron%dbaron.org 5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
peterv%propagandism.org f000eed21d Fix for bug 256514 (Links don't work in documents created via XSLT). r/sr=jst. 2004-08-25 14:17:40 +00:00
bryner%brianryner.com 69a0c87bd1 Trying to fix AIX bustage by making nsIDocument dtor non-virtual. r=dbaron. 2004-08-25 00:30:47 +00:00