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

4731 Коммитов

Автор SHA1 Сообщение Дата
aaronleventhal%moonset.net ee7a038786 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
smontagu%smontagu.org 781e83e333 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
bzbarsky%mit.edu 8915435c7a Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu d62b94b7ed Fix bustage, accidental checkin of work in progress :-( 2004-05-17 17:16:17 +00:00
roc+%cs.cmu.edu cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
bzbarsky%mit.edu 1156a05b85 Make sure to use the right parent style context (null) when reresolving style
for a root node with an XBL binding that includes scoped stylesheets.  Bug
243019, r+sr=roc
2004-05-15 05:11:53 +00:00
smontagu%smontagu.org 0e25456bf5 Update the table of Bidi character categories to Unicode 4.0.1: partial patch to Bug 240943 to match the 1.7 branch checkin. r=jshin, rs=blizzard. 2004-05-08 20:40:58 +00:00
jst%mozilla.jstenback.com 99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu 957f8ac62f Make table cell frame construction handle errors from children without
crashing.  Bug 237760, r+sr=roc
2004-05-07 19:45:41 +00:00
aaronleventhal%moonset.net 3f2e78bb29 Bug 242790. Tabbing, accessibility and other things broken because GetSubDocumentFor regressed. r=bryner, sr=jst 2004-05-07 11:57:10 +00:00
roc+%cs.cmu.edu e0fe2b43bd 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 56b3fc7a8c Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
roc+%cs.cmu.edu a438e873b5 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:41:19 +00:00
roc+%cs.cmu.edu a6dd695671 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu 44b2bd59f6 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 43221d7395 Subtract out the reflow hint from aMinChange when re-resolving out-of-flow
kids, in case they're not our descendants and need a reflow.  Bug 170644,
r+sr=dbaron
2004-05-05 00:34:22 +00:00
bzbarsky%mit.edu bb573d95f3 Make sure to not finish the reflow command hash till we've cancelled all
commands on shutdown.  Bug 242602, r+sr=dbaron
2004-05-04 21:59:56 +00:00
aaronleventhal%moonset.net 97fc90cefe Use win32 window class name corresponding to UI/content/general/hidden. r=ere, sr=roc 2004-05-04 12:39:42 +00:00
bryner%brianryner.com 7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu efb534bb2c Minor tweak to hashkey calculation. Bug 240934. 2004-05-02 19:56:06 +00:00
bzbarsky%mit.edu d6b523fd90 Switch AlreadyInQueue to use a hashtable (which is maintained sorta in parallel
with the reflow command list) instead of walking the array each time.  Bug
240934, r=roc, sr=brendan
2004-05-02 18:07:12 +00:00
bryner%brianryner.com 7d1dbeb3a8 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
roc+%cs.cmu.edu d1170ac0a9 Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron 2004-04-30 13:23:43 +00:00
jst%mozilla.jstenback.com c41e5c80b0 Fixing build warning. 2004-04-30 04:11:02 +00:00
jst%mozilla.jstenback.com 2b87de3ad8 This was apparently not the reason for the Tp hit, re-landing (bug 240543). 2004-04-30 04:06:30 +00:00
jst%mozilla.jstenback.com eb0803d1db Backing out the nsPresContext changes in my last checkin to see if that's what caused the increase in Tp. 2004-04-30 03:10:29 +00:00
jst%mozilla.jstenback.com 77c4322ab2 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
roc+%cs.cmu.edu aaea444448 Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it. 2004-04-28 17:48:02 +00:00
dbaron%dbaron.org b575df4492 Fix leak of content on all key and IME events. b=241591 r+sr=bryner 2004-04-26 23:19:50 +00:00
neil%parkwaycc.co.uk 90bb4e0093 Bug 241151 nsSpringFrame was a useless subclass of nsLeafBoxFrame r/sr=roc 2004-04-24 21:27:11 +00:00
bzbarsky%mit.edu d44c8e2932 Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron
2004-04-24 17:56:23 +00:00
roc+%cs.cmu.edu 6d1679954c Bug 234851. Minor performance optimization to make sure we only try overflow propagation for HTML BODY elements, not BODY elements from any XML namespace. r+sr=bzbarsky 2004-04-24 17:02:34 +00:00
bzbarsky%mit.edu 409de81840 When we push a pseudo cell frame, the block inside it needs to become the float
containing block.  Otherwise, floats inside this cellframe get very confused.
Bug 233094 and various dependencies, r+sr=dbaron
2004-04-24 16:00:46 +00:00
tor%cs.brown.edu 8728bb96ec Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 16:13:26 +00:00
tor%cs.brown.edu 868dd94ecb Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu b07ccf833c Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:55:11 +00:00
gerv%gerv.net f534a92d25 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
tor%cs.brown.edu 83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
dbaron%dbaron.org d82f0f7484 Forgot to initialize mQuotesDirty in constructor. b=24861 rs=tor 2004-04-16 19:06:51 +00:00
dveditz%cruzio.com 6e4e4e733e bug 240449 infinite loop tickled by some skins, r=bsmedberg, sr=dbaron, a=brendan 2004-04-14 08:19:27 +00:00
roc+%cs.cmu.edu da5fe85b4c Fix a few warnings. Patch by gautheri, r+sr=roc 2004-04-13 03:13:46 +00:00
roc+%cs.cmu.edu fa6f07df7c Fix build bustage 2004-04-13 03:04:05 +00:00
roc+%cs.cmu.edu 1ec2c3be37 Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron 2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu 849071b421 Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron 2004-04-13 02:56:03 +00:00
bryner%brianryner.com 0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
bzbarsky%mit.edu 4b89a4375c Make sure to null out mStyleSet if Init() fails, since the caller will delete
it in that case.  Bug 240240, r+sr=bryner
2004-04-13 00:27:29 +00:00
sicking%bigfoot.com 386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
bzbarsky%mit.edu c91a5ff88b Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
it later on.  Bug 231166, r+sr=dbaron
2004-04-12 22:42:50 +00:00
dbaron%dbaron.org 90369f8699 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 fcaa82359f 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 79a337c56b 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
bzbarsky%mit.edu 04b19c480d Change the way regression tests get the framestate to make it possible to mask
out irrelevant state bits as needed.  Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
2004-04-04 01:48:16 +00:00
dbaron%dbaron.org 2981d39de1 Fix crashes by making CreateContinuingFrame able to deal with a frame that already has a next-in-flow. b=140948 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=chofmann 2004-04-02 00:09:57 +00:00
bzbarsky%mit.edu ffb723d84a Fix assert. Bug 236921, r+sr=dbaron, a=chofmann 2004-03-31 03:13:54 +00:00
bzbarsky%mit.edu 809c099e33 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
bryner%brianryner.com ebb36d077c Fix following an image map link by pressing enter. Bug 214373, r+sr=jst, a=asa. 2004-03-22 18:13:11 +00:00
bryner%brianryner.com bb52c80973 Make GetFrameProperty return NS_IFRAME_MGR_PROP_NOT_THERE when the property is not found (instead of NS_ERROR_FAILURE). Fixes bug 236590. r+sr=dbaron, a=chofmann 2004-03-21 05:22:46 +00:00
dbaron%dbaron.org 41c16857c2 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu 8397ac8d8f Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
dbaron%dbaron.org 2ecaa27129 In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky 2004-03-10 00:28:17 +00:00
bsmedberg%covad.net 255960bb10 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
alex.fritze%crocodile-clips.com 1ccb810e48 Remove unused includes. SVG only - not part of default build. 2004-03-09 09:53:40 +00:00
bmlk%gmx.de ea9e726b8b 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 134fed8856 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
bzbarsky%mit.edu 4f498d0537 Make sure to fire XBL constructors on bindings attached to display:none nodes.
Bug 188496, r+sr=dbaron
2004-03-07 20:33:56 +00:00
roc+%cs.cmu.edu c7e522958e 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
roc+%cs.cmu.edu 991ce31fbe Bustage fix 2004-03-06 14:55:21 +00:00
roc+%cs.cmu.edu 143762ecfa Bug 235335. Additional changes. r+sr=bryner 2004-03-06 04:53:30 +00:00
roc+%cs.cmu.edu 8b6cbebaad Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner 2004-03-06 04:46:11 +00:00
bryner%brianryner.com ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
darin%meer.net c380c59f65 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
chanial%noos.fr 4e74ed990f Bug 235187: nsContextMenuInfo shouldn't use low-level API and remove presContext FindFrameBackground.
r=ccarlen, sr=bz
(file not used by the xul apps)
2004-02-28 02:00:23 +00:00
bryner%brianryner.com 72a54e4a5b Fixing runtime bustage from missing addref 2004-02-27 18:24:36 +00:00
bryner%brianryner.com ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu 476679f7f9 Position fixed backgrounds with respect to the viewport, not "nearest
scrollframe or viewport".  Bug 235768, r+sr=roc
2004-02-27 05:40:16 +00:00
bryner%brianryner.com 184b49fbb4 Try to fix some crashes from calling PresShell methods after Destroy() has called. Bug 235395, r+sr=roc. 2004-02-25 09:10:06 +00:00
bryner%brianryner.com bcd5a3470e Fixing AIX bustage 2004-02-24 00:36:35 +00:00
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu 8e85f2ae12 Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position. 2004-02-22 03:31:30 +00:00
dbaron%dbaron.org 5b6ae6e571 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
bryner%brianryner.com 5f7a8b383e 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 7c84914071 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
bzbarsky%mit.edu 3802922e91 Remove bogus method that makes backgrounds on the canvas unhappy. Bug 219302,
r+sr=roc
2004-02-20 00:39:09 +00:00
bzbarsky%mit.edu 44d7372cf8 Make fieldset splitting work so fieldsets taller than a page print. Bug
234015, r+sr=dbaron
2004-02-19 22:00:52 +00:00
tor%cs.brown.edu 1b99ebfbae 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
cbiesinger%web.de e073bfa038 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
dbaron%dbaron.org d1078e6485 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
neil%parkwaycc.co.uk eb9dd86bc5 checked in wrong file, sorry 2004-02-19 13:23:46 +00:00
neil%parkwaycc.co.uk bf3e577efc (on bsmedberg's advice) third time lucky? 2004-02-19 13:20:57 +00:00
bzbarsky%mit.edu 9513d305ed 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 d97dedc812 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
timeless%mozdev.org 4b56a45a39 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
bzbarsky%mit.edu 817f6d4f30 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 64ad19a801 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 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
dbaron%dbaron.org d303de959b Remove NS_STYLE_BORDER_STYLE_BLANK. r+sr=bzbarsky 2004-02-11 04:34:12 +00:00
bzbarsky%mit.edu 7077fb69a1 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 4b1b971ac8 Make sure proper computed values for root element display fixups end up in the style data so that other code looking at the style data doesn't break. b=233480 r+sr=bzbarsky 2004-02-09 06:56:24 +00:00
dbaron%dbaron.org 952d32ee39 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
alex.fritze%crocodile-clips.com 5c676d4a47 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
dbaron%dbaron.org 8b7d5f0145 Synthesized mouse moves shouldn't fire DOM mousemove events. b=20022 r=roc sr=bryner 2004-02-06 23:10:32 +00:00
bmlk%gmx.de cbc9e79487 col frames should not have child frames. bug 230138 r=dbaron sr=bzbarsky 2004-02-06 05:27:57 +00:00
bryner%brianryner.com 433c389ddf Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
dbaron%dbaron.org 474bdc807e 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 821786cb64 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
danm-moz%comcast.net a8c0e31042 that doesn't seem to be the problem. restoring over last revision. 2004-02-03 20:07:39 +00:00
danm-moz%comcast.net 4af7136524 disabling last checkin in an attempt to pin down the Tp regression 2004-02-03 17:16:05 +00:00
bzbarsky%mit.edu e792da8eeb Remove code that munges block widths inside table cells. Bug 232754,
r+sr=dbaron
2004-02-03 16:49:38 +00:00
danm-moz%comcast.net 96fd84fe48 set event being handled in the EventStateManager. bug 197919 r=bryner,jst 2004-02-03 02:23:08 +00:00
bryner%brianryner.com 4f69ec2c2e 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
hpradhan%hotpop.com a5975523b9 bug 232731 : misc cleanup in printing code 2004-02-01 12:10:57 +00:00
bryner%brianryner.com 42adb9f1be 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
bzbarsky%mit.edu d262adc092 Make sure file control frames always have a space manager. Bug 232017, r+sr=dbaron 2004-02-01 04:07:17 +00:00
bryner%brianryner.com 08f53379c4 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
bzbarsky%mit.edu fe7960ecb6 Fix XBL extension of XHTML namespaced nodes. Bug 176606, patch by hyatt,
r=jst, sr=bzbarsky
2004-01-31 19:09:47 +00:00
roc+%cs.cmu.edu ee86ab45fb Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron 2004-01-30 03:20:41 +00:00
dbaron%dbaron.org 1d022f0bcd Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r+sr=jst 2004-01-29 01:45:34 +00:00
bryner%brianryner.com bc74f0b352 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 88734d1060 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
jst%mozilla.jstenback.com ce1edc1dc9 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
dbaron%dbaron.org de731a8671 Reduce randomness in indentation and line wrapping. Whitespace changes only. 2004-01-22 21:58:28 +00:00
dbaron%dbaron.org f3af1a7aef Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +00:00
bryner%brianryner.com 23ecb8ff4e 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
bryner%brianryner.com ef5c330583 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
dbaron%dbaron.org 0fa1c23cee Process queued-up events after all types of reflow so we don't leak things referenced by the queues. b=231278 r=bzbarsky sr=roc 2004-01-21 04:15:00 +00:00
peterv%propagandism.org a75063695e Doh. Fixing bustage. 2004-01-18 15:20:00 +00:00
peterv%propagandism.org 8f4e566b42 Miscellaneous cleanup. r/sr=jst. 2004-01-18 14:53:32 +00:00
peterv%propagandism.org db653ec4e3 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
cbiesinger%web.de 4c4b23d5fe Bug 176637 Custom link colors not rendered correctly
patch by durbacher@gmx.de (Andreas Kunz) r=dbaron sr=bz
2004-01-18 14:44:43 +00:00
peterv%propagandism.org 379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
caillon%returnzero.com 619d905d92 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 c63fa8e7ea Refactor code that calls ComputeStyleChangeFor and handles the result. b=231027 r+sr=bzbarsky 2004-01-17 22:43:14 +00:00
tor%cs.brown.edu 6e0bbb9e6a Bug 113561 - handle tiling of images where the frame is smaller
than the container.  r=pavlov, sr=bryner
2004-01-16 23:28:51 +00:00
bzbarsky%mit.edu 6a1e5b77ff Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron 2004-01-16 03:05:00 +00:00
caillon%returnzero.com 3b526b4352 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 61d72a988d Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
dbaron%dbaron.org d33950dfac 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
dbaron%dbaron.org 9c4c615847 Remove NS_FRAME_HAS_LOADED_IMAGES state bit. b=201076 r+sr=bzbarsky 2004-01-13 01:18:51 +00:00
bryner%brianryner.com 2bddef83ba 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
bryner%brianryner.com d33dc031f2 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 99665b6c2c Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky 2004-01-11 04:29:09 +00:00
dbaron%dbaron.org 1bffaa3cce Ignore incremental reflows targeted inside a reflow root if the reflow root's parent has not yet been reflowed. (This could probably be made more general, but it's enough to fix the bug in question.) b=228156 r=roc sr=bzbarsky 2004-01-10 19:12:23 +00:00
roc+%cs.cmu.edu 9348803726 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 c000ae86e8 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
roc+%cs.cmu.edu 523cad9f9b Fix warnings about uninitialized 'result' in nsFrameTraversal. r+sr=brendan 2004-01-09 21:45:24 +00:00
roc+%cs.cmu.edu 3bfe589ac4 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 e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com 480c2c6e88 fixing debug bustage 2004-01-08 21:10:33 +00:00
bryner%brianryner.com 16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bzbarsky%mit.edu c9dd4109c2 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
dbaron%dbaron.org b451bb2ef9 Back out some incorrrect changes I just made. b=230270, 230339 r=bryner 2004-01-07 22:38:09 +00:00
bryner%brianryner.com e65d2d2fe5 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
dbaron%dbaron.org 8f7979ca79 Fix leaks of mCurrentEventContent. A few other little pieces of cleanup. b=230270 r+sr=bryner 2004-01-07 22:18:37 +00:00
alecf%flett.org 5cd7937058 fix for bug 209679 - remove reflow observer junk - r/sr=dbaron 2004-01-07 17:47:25 +00:00
bzbarsky%mit.edu bba32c2126 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
bryner%brianryner.com 080ad777b6 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com dfe3513814 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
scott%scott-macgregor.org c2df672e12 Bug #226325 --> Back out the fix for Bug #98564 as this opened us up to a regression where trailing stationary caret remnant left after backspace.
a=asa for 1.6b
2003-12-03 20:32:47 +00:00
neil%parkwaycc.co.uk 1a56f2a7d1 Bug 225885 nsPresShell::DoCopy does not work for embedding p=marco@gnome.org r=bz sr=bryner a=dbaron 2003-11-26 10:23:03 +00:00
dbaron%dbaron.org a012b34247 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 8ab11f1a38 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 4183787fa9 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
dbaron%dbaron.org e852c24b41 Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky 2003-11-17 00:35:17 +00:00
scott%scott-macgregor.org 54777f2e4f Bug #98564 --> caret overlaps the last character in textfield (if positioned after the last char).
Patch written by kin.


r=smontagu
sr=sfraser
2003-11-16 07:08:55 +00:00
bzbarsky%mit.edu 625796c41e Clarify when ReParentStyleContext should be called and remove more bogus style
parentage warnings.  Bug 217225, r+sr=dbaron
2003-11-13 04:31:04 +00:00
bzbarsky%mit.edu ce5cf4d481 Fix some bogus style parentage warnings. Bug 224867, r+sr=dbaron 2003-11-13 04:11:38 +00:00
dbaron%dbaron.org 0cf3066822 Comment was backwards (thanks bz). b=191699 2003-11-10 23:55:53 +00:00
dbaron%dbaron.org 8856db0238 Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc 2003-11-10 23:36:06 +00:00
hpradhan%hotpop.com 03e43cda2b 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 02325c6f3f 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 30d7e97120 Fix crash in DoCleanupFrameReferences. Bug 224091, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky, sr=dbaron
2003-11-05 04:40:52 +00:00
timeless%mozdev.org 90d07db2d1 Bug 224018 unused variables gDumpFileNameCnt, gDumpLOFileNameCnt in nsDocumentViewer.cpp
r=jst sr=jst
2003-11-03 13:17:00 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu 3e12d6bae8 Fix hang bug 218512. We don't want to be putting a frame into a framelist
twice, since that gives us a nice loop in the frame tree.  r+sr+a=dbaron
2003-10-27 05:58:23 +00:00
timeless%mozdev.org 0c124554b7 MOZ_TIMELINE - Bug 222134 2003-10-23 10:23:30 +00:00
bryner%brianryner.com 605cc06382 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
bzbarsky%mit.edu bde936f884 Fix crash when an SVG <foreignobject> suddenly needs a space manager. Bug
220165, r=alex@croczilla.com, sr=roc
2003-10-18 03:19:33 +00:00
uid502 089611c9cc Bug 222468. Make nsLayoutUtils::CompareTreePosition work even if the aCommonAncestor parameter is not, in fact, a common ancestor. 2003-10-17 14:10:02 +00:00
uid502 d521946094 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 189bbda3e5 More bug 214969 -- HTML nodes lie about their namespace, so check the
document's case-sensitivity instead.  r+sr=tor
2003-10-15 05:54:46 +00:00
bzbarsky%mit.edu 8bc8454c15 Only propagate the body background to the canvas in HTML documents; don't do it
for XHTML.   Bug 214969, r+sr=dbaron
2003-10-15 02:48:25 +00:00
bzbarsky%mit.edu 7e19a9767b 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
uid502 2b19fe5b64 Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order. 2003-10-15 00:49:03 +00:00
dbaron%dbaron.org d7a7c453f5 Remove reflow callbacks from the list as they are processed, to avoid crashes when reentering HandlePostedReflowCallbacks. b=220126 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=roc 2003-10-14 23:29:07 +00:00
dbaron%dbaron.org 3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
uid502 7eecd9a0ef Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu 90bce6cd8e 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
bzbarsky%mit.edu 2d7f67cb26 Don't scroll anchors entirely out of view when we click on them. Bug 195905,
r+sr=dbaron
2003-10-10 02:35:05 +00:00
bzbarsky%mit.edu 641223fdd9 Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
darin%meer.net 77642ae698 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 a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org 5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bryner%brianryner.com 82310bc4ec If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron. 2003-09-26 21:45:15 +00:00
bzbarsky%mit.edu 3ebb71a449 Make userContent.css come after the prefs sheet in the user sheet list (so that
rules in userContent.css can override prefs).  Bug 215668, r+sr=dbaron
2003-09-24 19:03:06 +00:00
uid502 1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
uid502 d0615f9350 Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron 2003-09-19 15:20:00 +00:00
mkaply%us.ibm.com 640cd0e4e3 #210269
r=dbaron, sr=dbaron
Checkin for roc - bandaid fix for nsXULElement pageload crash
2003-09-14 12:07:11 +00:00
bryner%brianryner.com 9d11b3c424 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
bryner%brianryner.com 2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
bryner%brianryner.com 7033b03af5 Stopping event propagation in the default event group should not stop it for the system event group. Bug 216237, r=caillon, sr=jst, a=mkaply. 2003-08-15 21:35:13 +00:00
caillon%returnzero.com 3092768ca0 214844 relatively positioned block w/ overflow:auto should be absolute pos. containing block
Patch by Mats Palmgren <mats.palmgren@bredband.net>
r+sr=dbaron@dbaron.org
a=asa@mozilla.org
2003-08-15 04:43:09 +00:00
caillon%returnzero.com 6bf3f88997 Bug 215842 - JavaScript resets fieldset absolute positioning.
Patch by Boris Zbarsky <bzbarsky@mit.edu>
r+sr=dbaron@dbaron.org
a=asa@mozilla.org
2003-08-15 00:04:40 +00:00
bzbarsky%mit.edu 05ebd8bdc1 Backing out last checkin, since a= is needed. 2003-08-09 22:19:49 +00:00
bzbarsky%mit.edu ea62a4c557 Fix bug 214844 -- rel pos blocks with overflow set should be containing blocks
for abs pos elements.  Patch by mats.palmgren@bredband.net (Mats Palmgren),
r+sr=dbaron
2003-08-09 21:41:39 +00:00
roc+%cs.cmu.edu 0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
rbs%maths.uq.edu.au 408bf58f3f Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron 2003-08-05 02:07:14 +00:00
caillon%returnzero.com 627a4c5b6d Fixing bustage 2003-07-30 09:09:30 +00:00
caillon%returnzero.com a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
dbaron%dbaron.org 005dd95167 Ensure that NS_FRAME_HAS_CHILD_WITH_VIEW is set correctly when something has a view and is inside a float inside the block part of a block-inside-inline split. b=213781 r+sr=bzbarsky 2003-07-25 22:04:00 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
smontagu%netscape.com 573892c784 Use a hashtable instead of searching an array, to make RemoveBidiContinuation() not be O(n^2). Bug 212827, r+sr=bzbarsky. 2003-07-24 18:33:50 +00:00
aaronl%netscape.com df20768272 Bug 192729. Tabs that are still loading or have error block all keyboard shortcuts. r=bryner, sr=roc+moz 2003-07-24 08:48:59 +00:00
brade%netscape.com e6dbb06ce4 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401 2003-07-21 19:51:34 +00:00
mkaply%us.ibm.com 58431f5d65 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-21 18:53:43 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com 9819e5e8fa Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:40:43 +00:00
caillon%returnzero.com 7495519180 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
dbradley%netscape.com 3b53e1dd6c Bug 179089 - crash in selection stuff loading a newsgroup message [@JS_GetPrivate] (Refactors and address release of null pointer). r=caillon, sr=jst 2003-07-14 14:28:59 +00:00
bzbarsky%mit.edu b69b2abd98 Backing out part of patch for bug 211128, since it regressed all sorts of
XBL-ish stuff.  r=stuff-is-broken sr=jag for the backout.
2003-07-14 05:35:09 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu f33cafd5a2 Remove redundant #include. 2003-07-12 18:10:51 +00:00
dbaron%dbaron.org f73d429e36 Add inline accessors for frame manager. b=208190 r+sr=roc 2003-07-12 00:48:16 +00:00
dbaron%dbaron.org 479a311594 Make GetStateBits const. b=208190 r+sr=roc 2003-07-12 00:46:52 +00:00
bzbarsky%mit.edu b471a3d41f Make it possible for overflow:auto/overflow:scroll frames to have
::before/::after content.  Bug 212145, r+sr=roc+moz
2003-07-11 23:19:12 +00:00
bzbarsky%mit.edu 9cb380a7ff Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
dbaron%dbaron.org d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
smontagu%netscape.com 1825bb79f2 Fix typo which caused Bidi caret movement regression. Bug 212372, r+sr=roc+moz 2003-07-11 21:00:26 +00:00
rbs%maths.uq.edu.au c95c35d2ca Stop animated images with Esc key or Stop button, b=70030, r=akkana, sr=jst 2003-07-11 20:19:34 +00:00
timeless%mozdev.org 9cbc1cb569 Bug 212346 nsCSSFrameConstructor.cpp:4182: warning: unused variable `class nsIView * listView'
r=bz sr=bz
2003-07-11 20:07:21 +00:00
caillon%returnzero.com 281e80fc6b Fixing compiler warnings. "Comparison is always false due to limited range of data type". No bug.
r+sr=bzbarsky@mit.edu
2003-07-09 06:42:14 +00:00
bzbarsky%mit.edu b2ba25b6fd Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
roc+%cs.cmu.edu c98e21aba3 Ongoing deCOMtamination. r+sr=dbaron 2003-07-05 15:04:34 +00:00
roc+%cs.cmu.edu fce6448474 Ongoing deCOMtamination. r+sr=dbaron 2003-07-05 14:36:03 +00:00
bzbarsky%mit.edu 0c5dc097d7 Don't bother reresolving style when empty stylesheets get added (eg from empty
<style> elements).  Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected.  Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
caillon%returnzero.com 3659da7f9c Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug. 2003-07-03 23:33:36 +00:00
roc+%cs.cmu.edu e324543a75 Ongoing deCOMtamination. r+sr=dbaron 2003-07-02 10:30:00 +00:00
dbaron%dbaron.org 45a4e99656 Fix mats's review comment as well. b=210873 r+sr=bzbarsky 2003-06-30 21:55:35 +00:00
dbaron%dbaron.org 7737491efe Ensure relatively positioned floats act as containing block for absolutely positioned elements by using (and adding a parameter to) nsCSSFrameConstructor::ConstructBlock. Remove ProcessBlockChildren, which no longer needs to be separate from ProcessChildren. b=210873 r+sr=bzbarsky 2003-06-30 21:48:07 +00:00
roc+%cs.cmu.edu 5d55c4535e Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
dbaron%dbaron.org 3be933897d Remove comment made obsolete by previous checkin. 2003-06-29 23:39:54 +00:00
roc+%cs.cmu.edu 91f9439805 Ongoing deCOMtamination. r+sr=dbaron 2003-06-29 03:43:05 +00:00
jkeiser%netscape.com 78ba276e17 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
roc+%cs.cmu.edu 33e4a9a297 Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron 2003-06-25 22:55:27 +00:00
rbs%maths.uq.edu.au a3601b3e47 Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky 2003-06-25 01:14:25 +00:00
jst%netscape.com 898a232581 Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org 2003-06-24 01:46:50 +00:00
bsmedberg%covad.net 1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu 6909e303db Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout 2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu a81f254443 Bug 190735. DeCOMtaminating nsIFrame and removing aPresContext parameters, in particular, the methods GetParent, GetContent, GetRect, GetOrigin, GetSize, SetRect, MoveTo, SizeTo, GetNextSibling, GetFrameState, SetFrameState, GetView, GetViewExternal, SetView, GetClosestView, GetParentWithView, AreAncestorViewsVisible, and GetWindow. For now we have compatibility wrappers, but soon we'll go through and change all the clients to use the new functions. r+sr=dbaron 2003-06-21 17:06:05 +00:00
caillon%returnzero.com 4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
dbaron%dbaron.org 51e6755ccd Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc 2003-06-20 01:22:44 +00:00
dbaron%dbaron.org b15c56da39 Fixing DEBUG-only bustage. 2003-06-20 01:05:04 +00:00
dbaron%dbaron.org d86c49e21c Fixing DEBUG-only bustage. 2003-06-20 00:54:57 +00:00
dbaron%dbaron.org e1e798d3f8 Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky 2003-06-19 23:52:58 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
dbaron%dbaron.org 6851bed075 Begin deCOMtamination of central objects by adding inline getters to get from one object to another. b=208190 r=roc sr=bzbarsky 2003-06-19 18:16:53 +00:00
bryner%netscape.com 29a5d1102b Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00
dbaron%dbaron.org 2b59f901f7 Handle state and attribute changes on elements without frames more efficiently, and keep the undisplayed map up to date. b=209733 r+sr=bzbarsky 2003-06-18 21:54:51 +00:00
dbaron%dbaron.org fe7914e2c9 Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky 2003-06-18 01:59:57 +00:00
alecf%flett.org b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
aaronl%netscape.com fccde7c7eb Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
bzbarsky%mit.edu 0d818d1da5 Use the cached IOService pointer when loading background images. Bug 123401,
r=dougt, sr=dbaron
2003-06-14 18:49:28 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
bryner%netscape.com e91426dae0 Comment-only fix. 2003-06-10 22:17:58 +00:00
dbaron%dbaron.org 9fd34ec767 Remove code that is not needed anymore (due to bug 141054) since the primary frame always contains the :before and :after frames. b=208870 r+sr=bzbarsky 2003-06-10 22:11:16 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
scott%scott-macgregor.org 380ff13568 Bug #201891 --> lazily instantiate CSSFrameConstructor::gXBLService in order to break a weird cycle
with the component manager that can cause two instances of the xbl service to be created.
r/sr=dbaron
2003-06-03 04:23:56 +00:00
dbaron%dbaron.org 1bc80bcc0c Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc 2003-06-01 20:18:53 +00:00
bmlk%gmx.de 838f8ce8ad infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron 2003-05-31 10:32:19 +00:00
timeless%mozdev.org 18c28cd6df Bug 205017 Uninitialized variables in layout/html/base/src/nsPresShell.cpp
r=dbaron sr=dbaron
2003-05-30 19:47:39 +00:00
jaggernaut%netscape.com 756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
smontagu%netscape.com 62b4d0e97f Fix rounding issue in DrawTile() and remove a bogus assertion. Bug 194791, Author=paper@animecity.nu, r=smontagu, sr=roc+moz 2003-05-29 23:29:37 +00:00
bzbarsky%mit.edu 8b80364217 Make some static data const in layout. Bug 204073, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:52:33 +00:00
leon.zhang%sun.com b1b7ead95d Bug 204005: optimize caret timer usage
r=sfraser sr=brendan
2003-05-26 07:03:29 +00:00
timeless%mozdev.org 22604cfbf6 Bug 206165 Unused variable `PRBool aCanCacheFrameOffset' in nsCaret::GetCaretRectAndInvert
r=sfraser sr=sfraser
2003-05-23 22:24:37 +00:00
timeless%mozdev.org 2ba082c8ae Bug 205363 Remove SendStatusNotification/nsIPrintStatusCallback
r=dbaron sr=dmose
2003-05-23 22:10:13 +00:00
dwitte%stanford.edu 270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
jkeiser%netscape.com 9ee03c08e4 Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa 2003-05-22 20:56:35 +00:00
roc+%cs.cmu.edu c26402a7ca Bug 206156. When we find a block inside an inline, reparent any views inside the new anonymous block and trailing inlines if the initial inline run had a view. r+sr=dbaron,a=asa 2003-05-22 01:40:16 +00:00
dbaron%dbaron.org 62ed6c115b Make ContentInserted handle appending after an inline that was split because it contains a block. b=141019 Based on patch by kin@netscape.com. r+sr=roc a=asa 2003-05-20 20:49:27 +00:00
dougt%meer.net 5042217cc2 Fixes CantRenderReplacedElementEvent memory leak. b=203596, r+sr=dbaron, a=asa@mozilla.org 2003-05-17 01:10:50 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org de72fd6d40 Oops, wrong tree. Backing out. 2003-05-15 03:36:05 +00:00
dbaron%dbaron.org 9029e25c56 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:32:08 +00:00
dbaron%dbaron.org f132e9126f Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa 2003-05-14 22:36:33 +00:00
roc+%cs.cmu.edu f601bd510e Bug 199897. Fix regression by being smarter about how we clip border painting to the dirty rect. r=bernd,sr=dbaron,a=asa 2003-05-14 00:44:38 +00:00
bryner%netscape.com 8dc3ad3076 Fixes for a number of focus problems:
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)

Summary of the changes:
- Don't require a frame to be present for focus events.  This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent.  We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().

r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00
jst%netscape.com fba31f0405 Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com 2003-05-09 20:42:49 +00:00
brade%netscape.com 0f98e1c43e api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365 2003-05-09 18:30:02 +00:00
smontagu%netscape.com 1d28d1dc0e Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2003-05-08 18:38:19 +00:00
bzbarsky%mit.edu 48c50e8f7c Fix scroll state restoration when going back to URL with anchor. Bug 204364,
r=jkeiser, sr=dbaron, a=asa
2003-05-06 05:46:46 +00:00
varga%netscape.com 7967318ca3 Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
bzbarsky%mit.edu 04d9b57f42 Make sure to flush reflows before trying to scroll so that frame coordinates
will be up-to-date.  Bug 186149, r=peterv, sr=jst, a=asa
2003-04-26 01:13:28 +00:00
bzbarsky%mit.edu 0b19a3bbf0 Pass the content parent frame to ConstructTableFrame so the view that's created
goes in the right place in the z-ordering.  Bug 203086, r+sr=roc, a=asa
2003-04-26 01:08:35 +00:00
bzbarsky%mit.edu 03a2ec9100 Fix crash on closing windows that are in the middle of loading standalone
images.  Bug 202895, r=bryner, sr=jst, a=asa
2003-04-24 22:44:48 +00:00
bzbarsky%mit.edu d3b47fec8c Don't check for :before/:after on frames that have pseudo-style-contexts. Bug
202917, r+sr=dbaron
2003-04-23 00:43:03 +00:00
jst%netscape.com 8f24979ea4 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
sfraser%netscape.com 352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
bzbarsky%mit.edu 476c30fdff Make sure that Init() failures for image frames don't mean no alt text. Also
fixes a crasher when reframing fixed-pos frames.

This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED).  This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.

Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
bzbarsky%mit.edu f09182206c Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
pseudos.  Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions.  Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
bryner%netscape.com b5af164b7c Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc. 2003-04-21 23:01:36 +00:00
bzbarsky%mit.edu 361ffc144f Fix for annoying assert. Bug 202717, r+sr=rbs 2003-04-21 04:09:51 +00:00
leon.zhang%sun.com 526c0515e9 Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
sfraser%netscape.com c2827fb6e7 Bug 193053: drag and drop-related changes to allow for the dragging and copying of image bits, and to allow dragging into the file system. r=pinkerton/brade, sr=bryner/bz. 2003-04-18 20:20:04 +00:00
brade%netscape.com bf11f4765e copy hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:16:36 +00:00
kmcclusk%netscape.com 8dd596f747 Prevent status bar from painting synchronously to prevent flicker. b=129844 r=jkeiser sr=kin 2003-04-16 02:01:12 +00:00
aaronl%netscape.com 83deafd111 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf 2003-04-15 08:45:55 +00:00
leon.zhang%sun.com c5e44e7d6e Patch for bug 35296:SetCaretEnabled() takes too long
r/sr=sfraser
2003-04-13 08:38:57 +00:00
bryner%netscape.com d36a919a95 Remove nsScrollFrame and frame constructor support for it. Remove dlldeps.cpp for layout, it's not necessary. Bug 201457, r+sr=roc. 2003-04-11 08:26:42 +00:00
bryner%netscape.com 3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
roc+%cs.cmu.edu 12c5a8aa8b Bug 201300. Get rid of document observer from nsGfxScrollFrame. r+sr=bz 2003-04-09 11:27:09 +00:00
roc+%cs.cmu.edu 3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
roc+%cs.cmu.edu d21b664b22 Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
bzbarsky%mit.edu 8563b14941 Fix crash bug 200774 -- placeholders for fixed or abs pos things need to have
block parents.  r+sr=roc
2003-04-05 21:35:35 +00:00
bzbarsky%mit.edu 36a26eca9c No need for two separate document viewer constructors. Bug 158804, r=peterv, sr=jst 2003-04-04 22:37:52 +00:00
sfraser%netscape.com 28c61bb42b Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
sfraser%netscape.com 55a823d10e Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron 2003-04-03 22:32:50 +00:00
bzbarsky%mit.edu cde8938427 ComputeStyleChangeFor does not need to put all the in-flows into the
changelist.  Propagate the "current" toplevel change as the min change as we go
down the in-flow and special sibling list.  Bug 166205, r+sr=dbaron
2003-04-03 21:51:06 +00:00
heikki%netscape.com b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
bryner%netscape.com 96f30a0c40 Improve logic for focusing the DOM window on page loads to deal with the
document of a previously focused iframe still being present.  Fixes bug
170811, clicking a link in an iframe which loads in a parent window causes
loss of focus.  r=saari, sr=jst.
2003-04-03 08:14:51 +00:00
henry.jia%sun.com a873e7e743 Patch for bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin
2003-04-02 05:48:09 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
jst%netscape.com b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
alecf%netscape.com 8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
darin%netscape.com 06db7d7b43 backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
bmlk%gmx.de 1072447013 dont clip composite borders, bug 197086 r/sr=roc+moz 2003-03-24 10:17:25 +00:00
roc+%cs.cmu.edu 4f81dc78d1 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:57:22 +00:00
peterlubczynski%netscape.com b5850784ea Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
alecf%netscape.com b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
dbaron%dbaron.org f9e45e853e Make nsSpaceManager::ClearRegions reset mLowestTop as well. b=198485 r+sr=roc 2003-03-21 03:11:47 +00:00
heikki%netscape.com 0ee437d7ac Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv. 2003-03-19 23:45:42 +00:00
bzbarsky%mit.edu 2c56e0638e Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
bryner%netscape.com f93f9b19d2 Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky. 2003-03-18 23:41:44 +00:00
bzbarsky%mit.edu 596066a1d9 Fix crash on having a <xul:listbox> in a plain XML document. Bug 197234,
r=sicking, sr=jst
2003-03-18 21:18:26 +00:00
bzbarsky%mit.edu 605874dcea Make imgRequestProxy hold a weak ref to its listener, to prevent reference
cycles.  Bug 196797, r=pavlov, sr=jst
2003-03-17 16:09:02 +00:00
bzbarsky%mit.edu fef48cc2d0 Fix a few inefficient callers of getElementsByTagName. Bug 191589,
r=neil@parkwaycc.co.uk, sr=jst
2003-03-15 16:30:09 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
bzbarsky%mit.edu b55d3bdb7f Remove some style-data-clearing functions that no one uses and that don't do
the right thing anyway.  Bug 169989, r+sr=dbaron
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org 3069e2548c Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky 2003-03-13 15:29:36 +00:00
roc+%cs.cmu.edu 210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
dbaron%dbaron.org 1db55eaf76 Remember the lowest floater top for CSS2 9.5.1 rule 5 (a float cannot be higher than earlier floats) on the space manager rather than the block reflow state so that it works across blocks sharing the same space manager. Save and restore it in the space manager's PushState and PopState to fix incremental reflow bug (177331). b=196919 r+sr=roc+moz Change PRIntn to PRInt32. b=115153 r+sr=bzbarsky 2003-03-11 23:56:49 +00:00
bmlk%gmx.de b3aae54563 clip the border at the dirty rectangle, bug 86249 r+sr=roc+moz 2003-03-11 15:15:08 +00:00
jkeiser%netscape.com f95c2249fa Fix ISINDEX crash (bug 191974), r=aaronl@netscape.com, sr=dbaron@dbaron.org 2003-03-11 06:53:49 +00:00
aaronl%netscape.com 20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00