336 Commits

Author SHA1 Message Date
myk%mozilla.org
36365b7ebe bug 405483: explicitly sync devicecontext scale to prescontext scale upon prescontext initialization, fixing bug where web pages would either be too small (with scrollbars in the middle of the viewport) or too big (with scrollbars offscreen) when loaded if the previous page loaded in that tab had a non-default full zoom value; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@239964 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 04:54:30 +00:00
myk%mozilla.org
45246316d8 bug 385224: optimize performance of site-specific preferences; r=mconnor,roc
git-svn-id: svn://10.0.0.236/trunk@239920 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 08:35:23 +00:00
bzbarsky%mit.edu
107d1cc76a Don't allow presentational attributes to set colors if the "don't use document
colors" pref is set.  Bug 400452, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@239524 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 03:46:43 +00:00
reed%reedloden.com
3c0bf67b74 Bug 391868 - "Page Source very small with meta charset=windows-1258" [p=chris@pearce.org.nz (Chris Pearce) r+sr=dbaron a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@237624 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 22:54:18 +00:00
dbaron%dbaron.org
2183eba510 Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc
git-svn-id: svn://10.0.0.236/trunk@237429 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 23:11:02 +00:00
dbaron%dbaron.org
dc83743c9a Destroy the old rule tree *after* processing the change list, in case the change list has frame reconstructs in it. Patch from Eli Friedman <sharparrow1@yahoo.com>. r+sr+a1.9=dbaron b=389744
git-svn-id: svn://10.0.0.236/trunk@236951 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-30 19:23:48 +00:00
sharparrow1%yahoo.com
ecd53983ef Bug 391494: full page zoom causes scrollbars to be cut off. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233024 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 17:46:59 +00:00
mozilla%weilbacher.org
fa3f2e9691 Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232993 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 00:13:44 +00:00
dbaron%dbaron.org
9f31e99715 Add nsPresContext and nsEventStateManager to cycle collection. b=385376 r=Olli.Pettay sr=jst a=jst
git-svn-id: svn://10.0.0.236/trunk@231854 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 21:25:25 +00:00
sharparrow1%yahoo.com
a52b780012 Bug 389720: zooming frameset is poor. r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231605 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 20:38:35 +00:00
roc+%cs.cmu.edu
11a415bfd1 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231046 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 09:47:45 +00:00
sharparrow1%yahoo.com
46080bf88d Bug 4821: Implement page zoom (backend). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@231009 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 03:34:16 +00:00
sharparrow1%yahoo.com
cf85fbccb8 Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@230941 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 17:14:14 +00:00
dbaron%dbaron.org
d6e7785ed1 Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226544 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:10:32 +00:00
sayrer%gmail.com
5c7b4937f1 Bug 375434. cleanup constructor in nsPresContext.cpp. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224754 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-19 19:11:42 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
sharparrow1%yahoo.com
49d3da9757 Bug 371238 Fix uninitialized variable in nsPresContext::GetContainer. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220762 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 22:09:14 +00:00
sharparrow1%yahoo.com
2135fb9303 Bug 369698: fix dynamic changes to layout.css.dpi pref. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220172 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 09:04:25 +00:00
sharparrow1%yahoo.com
279cfa170d Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220085 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
33cb7eb6cb Bug 369690: nsPresContext::mImageLoaders uses wrong key; r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219911 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 20:44:10 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +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
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
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
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
0f73e11291 Coalesce native theme change notifications to deal with the dozens of them we
get when the GTK theme changes.  Bug 352096, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@209833 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 04:36:03 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
bzbarsky%mit.edu
75e1d26292 Handle the minimum font size being changed to 0 correctly. Bug 327054, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206836 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 16:43:20 +00:00
Olli.Pettay%helsinki.fi
2d2e3002a1 Bug 346119, update PresContext's document when PresShell is changed, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@205031 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 06:22:19 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
masayuki%d-toybox.com
bb38c2225d Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@194136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 16:37:58 +00:00
sharparrow1%yahoo.com
b1c51e04df Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
sharparrow1%yahoo.com
6de1b08e94 Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Trémon, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 01:19:28 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
sharparrow1%yahoo.com
4faf77261e Bug 331415: some printing code cleanup. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
dbaron%dbaron.org
e92900026b Always use the UI direction for the scrollbar side, which is what we used to do in the most common case, but make it a pref. b=330863 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193001 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 00:48:03 +00:00
cvshook%sicking.cc
825f8563f9 Relanding patches that (hopefully) don't affect Tdhtml
git-svn-id: svn://10.0.0.236/trunk@192885 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 00:09:50 +00:00
cvshook%sicking.cc
e2c22d1f10 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +00:00
pavlov%pavlov.net
39afaa56de draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@192499 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 21:42:50 +00:00
cvshook%sicking.cc
b044116c80 Bug 325426: Only use baseURI to resolve relative uris. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@191956 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 05:01:16 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
761f0bdb87 use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@187959 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 09:31:45 +00:00
neil%parkwaycc.co.uk
ee9ce4336b Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst
git-svn-id: svn://10.0.0.236/trunk@185568 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 12:02:44 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
smontagu%smontagu.org
cedba21351 Reflow when Bidi options are changed. Bug 80352, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184540 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-13 09:55:09 +00:00
bzbarsky%mit.edu
d006208790 Move the document's bidi state to actually live on the document, and remove
dependencies on nsPresContext in form submission.  Fixes bugs 100533, 180861,
293171.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 22:45:49 +00:00
smfr%smfr.org
7dd0965ac3 Fix bug 303987: long delays after resetting font prefs. Use a zero-delay timer to coalesce multiple pref callbacks in the pres context into one update. r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@178752 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:52:16 +00:00
cbiesinger%web.de
c41020b640 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177690 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:54:22 +00:00
dbaron%dbaron.org
8b93b2aa52 Fix coverity uninitialized variable warnings in layout. b=288092 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@171357 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 01:50:56 +00:00