dbaron%dbaron.org
927d56bf63
Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218565 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:53:47 +00:00
roc+%cs.cmu.edu
633e4df4a0
Bug 363813. When inserting frames into a list of out-of-flow frames, finding the correct position by comparing positions in the content tree doesn't always work, in particular when the frames are for anonymous content. So compare the positions of placeholders in the frame tree, which should always work (if we're careful). r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218557 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:48:24 +00:00
dbaron%dbaron.org
7d1d28c9e8
Make non-box frames use nsITheme methods concerning size, border, and padding, so that non-boxes with appearance set will obey the platform-specific theme. b=366722 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218555 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:31:07 +00:00
roc+%cs.cmu.edu
d641d76b28
Bug 366001. Remove old reflow batching API, it's not effective or needed. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218554 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:28:33 +00:00
roc+%cs.cmu.edu
ae08389d4d
Bug 363813. Ensure that floating first-letter frames get inserted in the right place in the list of new floated items. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218543 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 21:20:33 +00:00
bzbarsky%mit.edu
c709bbabd8
Fix GetLastChildFrame to deal with bidi splitting of inlines. Bug 366967,
...
r=uri, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218523 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 18:53:11 +00:00
dbaron%dbaron.org
09ccc1e701
Fix error tracking size of circularly linked list of counters, causing mis-sorting. b=367220 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218502 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 09:24:19 +00:00
dbaron%dbaron.org
5e37eb9b0f
Fix potentially uninitialized nsresult return value, regression from deCOMtamination patch. b=330305 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218493 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 05:16:13 +00:00
roc+%cs.cmu.edu
164c104354
Bug 333659. Relanding new nsLayoutUtils APIs --- shouldn't affect current code. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218485 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 02:37:19 +00:00
roc+%cs.cmu.edu
4f42d74394
Backing out text landing.
...
git-svn-id: svn://10.0.0.236/trunk@218456 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e2373f9a14
Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts
...
git-svn-id: svn://10.0.0.236/trunk@218447 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 20:51:52 +00:00
uriber%gmail.com
f45d42ada7
Abort early from ReorderFrames in case of an empty line frame, to avoid crashing later. bug=367015, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@218426 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 07:09:49 +00:00
uriber%gmail.com
2147de52fc
Don't bidi-split line frames. bug=364839, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@218277 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 18:20:28 +00:00
bzbarsky%mit.edu
dda20a2b0f
ConstructDocElementFrame can return null if the XBL hasn't loaded yet. Handle
...
that XBL loading later by changing how XBL triggers the frame construction and
making it possible to recreate the doc element hierarchy even if there is no
doc element frame. Bug 366207, r=sicking, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218268 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 03:32:31 +00:00
bzbarsky%mit.edu
8c351facb0
Implement the proposed Web Apps 1.0 API for changing the selected style sheet
...
set, querying the available sets, etc. Bug 200930, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218215 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 19:32:31 +00:00
jst%mozilla.org
0530ef12c6
Fixing bug 366393. Attempt to schedule GC between pageloads when possible rather than slowing down page load with GC calls while loading. r+sr=bugmail@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@218180 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 00:02:58 +00:00
mats.palmgren%bredband.net
e7c2c3f107
Plug a leak of nsDirectionalFrames. b=365909 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217904 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 21:02:05 +00:00
bmlk%gmx.de
3185892a10
remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 2. attempt r=rbs sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@217677 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 07:18:54 +00:00
mats.palmgren%bredband.net
76ca4d6f76
Print Preview crash when accessing print engine data before it's fully created. b=365003 r=sharparrow1 sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217586 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 10:53:11 +00:00
mats.palmgren%bredband.net
159c9722a0
Crash [@ nsPrintEngine::PrintPreview] when trying to print preview a display:none iframe. b=365004 r=sharparrow1 sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217579 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 08:13:56 +00:00
bzbarsky%mit.edu
50334acdc0
Be consistent about what percentage border-radius is a percentage of. Bug
...
364861, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217559 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:23:51 +00:00
bmlk%gmx.de
d73e2e993c
backout of bug 243159, rtest is necessary before checkin
...
git-svn-id: svn://10.0.0.236/trunk@217538 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 11:27:31 +00:00
masayuki%d-toybox.com
fa284ddafc
Bug 287624 ? round CSS border widths to nearest pixel r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217460 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:21:43 +00:00
bmlk%gmx.de
627a20a258
remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 r=rbs sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@217459 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:00:12 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
roc+%cs.cmu.edu
408d24ae4a
Bug 363813. Reparent style contexts for special-siblings because they may depend on our frame's style context. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217304 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 20:03:09 +00:00
timeless%mozdev.org
3ea4e560e3
Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
...
r=darin
git-svn-id: svn://10.0.0.236/trunk@217292 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:03:23 +00:00
mats.palmgren%bredband.net
14e7266121
Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217227 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 03:52:34 +00:00
mats.palmgren%bredband.net
277be83fff
Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217122 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 13:20:18 +00:00
mats.palmgren%bredband.net
34a45a87f6
Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217089 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 14:06:42 +00:00
Olli.Pettay%helsinki.fi
aec65575d1
Bug 336574, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216997 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 00:23:39 +00:00
dbaron%dbaron.org
866a194991
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
neil%parkwaycc.co.uk
df888d713e
Bug 363444 Small objects sometimes incorrectly scrolled into view r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216954 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 20:43:59 +00:00
sayrer%gmail.com
c87c7f7b73
Bug 363506. Can not build nsDocumentViewer.cpp with --disable-printing. Patch by Andreas Lange <mozilla@lange.cx>. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216911 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 23:00:52 +00:00
sharparrow1%yahoo.com
bbc7755ab2
Bug 361844: Printing cleanup; r+sr=roc. Changes the way the presentation is managed for print preview, plus many smaller cleanups.
...
git-svn-id: svn://10.0.0.236/trunk@216817 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-10 08:05:05 +00:00
kjh-5727%comcast.net
2674b6e768
Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@216801 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 17:18:56 +00:00
dbaron%dbaron.org
1ca9f3f372
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net
b1edb47875
Fix a Print Preview crash. b=362708 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216733 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 03:44:11 +00:00
bzbarsky%mit.edu
25c459209d
Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
bzbarsky%mit.edu
e1eaaf62ed
Make ReconstructDocElementHierarchy work correctly even if we first blew away a
...
pseudo which had the root as its content. Bug 343293, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216439 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:35:55 +00:00
Olli.Pettay%helsinki.fi
174edaba72
Bug 360731, Back and Forward buttons on mouse no longer work, also Bug 330938, r=emaijala, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216247 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 11:09:53 +00:00
cvshook%sicking.cc
a326e22147
Bug 328468: Back out bug 323098 to fix mutations of xbl content. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@216118 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:17:53 +00:00
roc+%cs.cmu.edu
6b01227e23
Bug 324963. Keep a list of active popups to help us dispatch mouse events to them ... moving handling of 'always on top' popups towards a view-less world. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@216116 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:09:13 +00:00
bzbarsky%mit.edu
48639c6889
Use DrawImage instaed of DrawTile when drawing a background and the entire
...
rect to be painted fits inside a single tile (either because we're no-repeat or
because the dirty rect is small enough). Bug 359392, r=vlad, sr=roc, a=vlad
for 1.9a1 landing.
git-svn-id: svn://10.0.0.236/trunk@216109 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 21:58:13 +00:00
roc+%cs.cmu.edu
fb4c6fb984
Bug 130078. Reverting fix because of regressions. We'll have to come back to this again :-(.
...
git-svn-id: svn://10.0.0.236/trunk@215729 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:12:52 +00:00
martijn.martijn%gmail.com
cb46a225ca
Fix small issue with patch for bug 361334 (Onbeforeunload dialog has too many line breaks), r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@215690 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:41:11 +00:00
martijn.martijn%gmail.com
da67508251
Bug 361334 - Onbeforeunload dialog has too many line breaks, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@215597 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 23:57:21 +00:00
bzbarsky%mit.edu
ee561228eb
Back out bug 354600 to fix regressions.
...
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
sayrer%gmail.com
1173d9db39
bug 361005. remove nsCRT::strdup from layout. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@215393 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:49:06 +00:00
Olli.Pettay%helsinki.fi
08df7735f7
Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
...
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00