Commit Graph

406 Commits

Author SHA1 Message Date
Robert O'Callahan
0b542b46ed Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe 2010-08-13 21:55:54 +12:00
Boris Zbarsky
4de28566f3 Bug 577607 part 3. Use the main doc refresh driver for resource documents and the parent document's refresh driver for documents that are not roots of their type. r=roc, a=joe 2010-08-11 17:05:27 -04:00
Robert O'Callahan
d9b5206b2b Backed out changeset b7900afb72e5 2010-08-12 11:31:29 +12:00
Boris Zbarsky
856571db1a Bug 577607 part 3. Use the main doc refresh driver for resource documents and the parent document's refresh driver for documents that are not roots of their type. r=roc, a=joe 2010-08-11 17:05:27 -04:00
Robert O'Callahan
163349d538 Bug 579262. Fix logic around mNeedsToUpdatePluginGeometry so we don't miss updating geometry for some plugins. r=tnikkel 2010-07-20 13:29:29 +12:00
Timothy Nikkel
eaf04d25f4 Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
Craig Topper
dcd5047456 Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz 2010-07-18 16:39:20 +02:00
Robert O'Callahan
8ff43c1e7b Bug 564991. Part 29: Sort plugins so they get moved in the best order. r=karl 2010-07-16 09:08:08 +12:00
Robert O'Callahan
1df5a7ec56 Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad 2010-07-16 09:08:08 +12:00
timeless@mozdev.org
792133b46f Bug 577993 mark debug code in InsertFontFaceRule and nsStyleAnimation::ComputeDistance
r=dbaron

--HG--
extra : rebase_source : a8b1ed0732f8f06a192dbcc485dffe0bb10d4a50
2010-07-15 15:55:05 +03:00
Jonathan Kew
1341e3f276 bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
Timothy Nikkel
976046bf62 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Doug Turner
e72f127e78 Bug 576055 - MayHavePaintEventListener fails for e10s message manager. This was part of bug 549223, but somehow it was lost in a merge. r=dougt 2010-06-30 21:04:29 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Daniel Holbert
ed05c57d55 Bug 574750: Use size_t for counter, in loops over contents of an nsCSSValue::Array. r=bz 2010-06-25 12:38:57 -07:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Doug Turner
3ad0032930 Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Doug Turner
fe405e740c merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Timothy Nikkel
86591e5c58 Bug 553359. Address review comments. 2010-05-22 13:55:41 -05:00
L. David Baron
cfa59de4bb Don't bother with 16-bit reference count and index in nsCSSValue::Array. (Bug 574059) r=bzbarsky 2010-06-24 14:53:44 -07:00
Olli Pettay
078f01ee1d Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Olli Pettay
fe69412640 Bug 571438 - MayHavePaintEventListener fails for non-e10s message manager, r=jst 2010-06-16 14:43:36 +03:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Timothy Nikkel
ac0c03fe97 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Timothy Nikkel
5337327603 Backed out changeset ae2093359899 (Bug 553359) for tsvg_opacity regression. 2010-04-11 19:26:41 -05:00
Timothy Nikkel
20d7ad6361 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Timothy Nikkel
b515e7c583 Merge back out of changeset 3a27158cbdd6 (bug 222436) to try to fix tsvg_opacity regression. 2010-04-11 00:11:52 -05:00
Timothy Nikkel
a79353a133 Backed out changeset 3a27158cbdd6 (bug 222436) to try to fix tsvg_opacity regression. 2010-04-11 00:11:26 -05:00
Timothy Nikkel
c24322509e Merge back out of changeset b4fcd21cb6e5 (bug 553359) to try to fix tsvg_opacity regression. 2010-04-11 00:08:37 -05:00
Timothy Nikkel
17be279bff Backed out changeset b4fcd21cb6e5 (bug 553359) to try to fix tsvg_opacity regression. 2010-04-11 00:07:52 -05:00
Craig Topper
d5dc8fa89d Bug 253889: Even more nsIPresShell deCOMtamination. r=roc 2010-04-10 16:15:22 -04:00
Timothy Nikkel
54602f07cb Bug 222436. Simplify nsPresContext::BidiEnabled. r=roc 2010-04-10 13:03:40 -05:00
Timothy Nikkel
2f82809725 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Timothy Nikkel
51038eecce Bug 222436. Simplify nsPresContext::BidiEnabled. r=roc 2010-04-10 13:03:40 -05:00
Doug Turner
9e52c27932 merge from mozilla-central. no merges required 2010-03-23 02:53:35 -07:00
Markus Stange
5fb3e948bb Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Markus Stange
4a997d3554 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Daniel Holbert
56c3c6778a Bug 537139 followup: Call RestyleForAnimation() instead of SMILOverrideStyleChanged(), to avoid triggering CSS Transitions from SMIL changes. r=dbaron 2010-03-11 22:03:49 -08:00
Jason Duell
a5f74621b1 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner
85bd4fb391 Merge with mc 2010-03-17 10:37:32 -07:00
Doug Turner
f295d7422b Merge 2010-03-12 15:20:36 -08:00
Doug Turner
d08632917d Merge with mc 2010-03-08 10:09:55 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Doug Turner
5daaf36bf1 Merge 2010-03-01 15:36:51 -08:00
Olli Pettay
16e965be16 Bug 549223 - [E10s] MozAfterPaint events aren't activated when event listener is added to tabChildGlobal, r=bsmedberg 2010-03-01 16:47:27 +02:00
Daniel Holbert
627f47b186 Bug 540090: Add method nsIDocument::HasAnimationController, to let us check for active SMIL animation without triggering lazy construction. r=roc 2010-03-02 23:09:51 -08:00
Michael Ventnor
25bc9c7d85 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Daniel Holbert
e84b322109 Bug 537139: Prevent SMIL animation from triggering CSS transitions. r=dbaron 2010-03-01 11:31:45 -08:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
John Daggett
c9a6678562 Bug 504698. Force Cleartype rendering of content on XP based on pref (follow-on). r=jkew 2010-06-09 09:33:13 +09:00
Craig Topper
980fd2992c Bug 253889: DeCOMtaminate nsIPresShell - IsReflowLocked(). r=roc
--HG--
extra : rebase_source : 46adf0d5ad41602276c8bcded46e7dae0f399da9
2010-03-31 08:43:27 -04:00
Craig Topper
faf3e638bb Bug 555888 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : fd3a575d23d76c0adeed53ae6b83268484988014
2010-03-31 13:09:11 +02:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Dão Gottwald
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Mats Palmgren
fa91c35561 Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc 2010-01-26 14:10:12 +01:00
Robert O'Callahan
df694cae49 Bug 534433. Destroy all nsImageLoaders when the prescontext is torn down. r=mats 2010-01-14 15:30:05 +13:00
Robert O'Callahan
04a613495c Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats 2009-10-08 16:01:15 +13:00
L. David Baron
8483573833 Add nsPresContext::EnsureSafeToHandOutCSSRules. (Bug 536379) r=bzbarsky 2009-12-31 10:56:33 -05:00
L. David Baron
179ee34b4d Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-23 14:10:31 -05:00
L. David Baron
8ee9665a58 Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky 2009-12-23 14:10:30 -05:00
Benjamin Smedberg
c2bbf9c677 Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron
6294ba95b7 Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-23 06:35:45 -05:00
L. David Baron
262ab8b4d1 Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky 2009-12-23 06:35:45 -05:00
L. David Baron
eae023b6a3 Backout revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382. 2009-12-22 15:46:23 -05:00
L. David Baron
d0934f9f1f Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron
c4c186dd89 Make nsRefreshDriver reference-counted instead of being a sub-object of the pres context. (Bug 531585) r=bzbarsky 2009-12-21 16:46:24 -05:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
L. David Baron
e3330c4996 Null check mShell in nsPresContext::MediaFeatureValuesChanged. (Bug 528832) r=bzbarsky 2009-11-17 13:11:15 -08:00
Robert O'Callahan
56aad34bd4 Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron 2009-10-07 17:28:41 +13:00
L. David Baron
30ac481d4d Add media queries for all of our system metrics exposed in :-moz-system-metric(). (Bug 522149) r=bzbarsky 2009-10-15 17:23:19 -07:00
L. David Baron
125bd1103e Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
Boris Zbarsky
82ca879d78 Bug 519590. Don't interrupt reflow until some time has passed. r=roc 2009-10-02 14:05:32 -04:00
Robert O'Callahan
20bb54d1d3 Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron
--HG--
extra : rebase_source : 1acfac3d3613d332586fade393f2911552bd03e0
2009-09-30 08:18:20 +10:00
Robert O'Callahan
d56dfa741e Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Timothy Nikkel
68e1173934 Backed out changeset e6134e94c6cb (Bug 222436) for possible Tsvg_opacity regression. 2010-05-02 02:01:29 -05:00
Timothy Nikkel
6e864c14b8 Bug 222436. Simplify nsPresContext::BidiEnabled. r=roc 2010-04-10 13:03:40 -05:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Vladimir Vukicevic
cdebcfceeb b=566447; add presshell memory reporter; r=bz 2010-05-31 19:19:35 -07:00
Robert O'Callahan
6de615de1b Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Jonathan Kew
5d195abe72 Bug 507970, part 3: add @font-face format hint for woff fonts, r=jdaggett
--HG--
extra : rebase_source : 44bbd8455cffbd21d77fafdec21e1a80792cd6d7
2009-09-17 12:03:12 +01:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Daniel Holbert
12ac4739b6 Bug 474049: (first patch) Add SMILOverrideStyle rule & accessors on nsIContent/nsGenericElement, to store SMIL-animated style values. r=dbaron r=bz 2009-09-02 17:28:37 -07:00
Ryo Kawaguchi
54bb0a0d80 Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron 2009-08-21 13:39:25 -07:00
Zack Weinberg
2cd31f70f9 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Michael Ventnor
8ae6cd75f4 Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
Dão Gottwald
bf4108370b Backed out changeset c086fca6fc55 2009-07-31 14:35:48 +02:00
Michael Ventnor
61ed5fe1e2 Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc 2009-07-31 13:32:32 +02:00
Robert O'Callahan
25b5199778 Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms. 2009-07-22 12:45:02 +12:00
Robert O'Callahan
41b0dc9d84 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Robert O'Callahan
0d1716c268 Bug 339548. Part 2: Introduce nsRootPresContext. 2009-07-22 12:44:54 +12:00
Olli Pettay
1a534bf2c2 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Olli Pettay
5d266c5155 Bug 496102 - Remove nsNotifyPaintEvent, r+sr=roc 2009-06-23 12:09:05 +03:00
Olli Pettay
00d5274b20 Backout Bug 496102
--HG--
extra : rebase_source : f33905aff8d759480277d9f13908035382c026c6
2009-06-22 16:35:15 +03:00
Olli Pettay
ecc0350c75 Bug 496102 - Remove nsNotifyPaintEvent, r+sr=roc 2009-06-22 14:07:46 +03:00
Boris Zbarsky
f51e72add0 Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron 2009-06-16 15:05:12 -07:00
L. David Baron
0d06184f97 Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Robert O'Callahan
8d23e695a3 Bug 493202. Add a layout.css.devPixelsPerPx hidden pref to control that ratio if desired. r=vlad 2009-05-18 10:09:53 +12:00
Boris Zbarsky
05780cc568 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Joe Drew
64bbcf4155 Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky
e5f6293681 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Olli Pettay
783fc8184e Bug 484156 - optimize MozAfterPaint a bit, r+sr=roc 2009-03-21 21:29:29 +02:00
Robert O'Callahan
d9144e9c9a Bug 480345. Handle painting of background images on pages which have no in-flow content. r+sr=dbaron
--HG--
extra : rebase_source : f5850e3bc173f054c4f7ca06b66c1551cfee5e00
2009-03-18 13:33:03 +13:00
Olli Pettay
68a0322fcd Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Olli Pettay
468b832900 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
L. David Baron
2a6e824389 Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
Vladimir Vukicevic
bd928d3cac b=478548; slightly optimize PresContext::Theme; r=dbaron 2009-02-26 12:02:00 -08:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron
db9e9b7806 Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky 2009-02-19 11:03:28 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
a5c13ba6b5 Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky 2009-02-19 07:29:27 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
L. David Baron
29c43121c7 Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky 2009-02-18 17:13:24 -08:00
L. David Baron
f8774a93ef Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Boris Zbarsky
1813e2fd3c Bug 475419. Make sure to set up our user font set no matter what the ordering of flushes and font loading is. r+sr=dbaron, a=bsmedberg 2009-01-27 19:31:26 -05:00
L. David Baron
008ca182cf Merge backout of changeset 6849ce51dfef (patch 3 from bug 468645) to fix bug 472353. 2009-01-20 13:54:17 -08:00
L. David Baron
7c5191446f Backed out changeset 6849ce51dfef (patch 3 from bug 468645) to fix bug 472353. 2009-01-20 13:45:23 -08:00
Robert O'Callahan
7c7e1bfe9e Bug 462593. Cancel all outstanding font loads when the presshell is torn down. r=jdaggett 2009-01-19 22:21:29 +13:00
L. David Baron
ba1c5c080f Avoid building user font set when handling units involving font metrics in media query expressions. (Bug 473892) r+sr=bzbarsky 2009-01-16 19:44:21 -08:00
Brian Birtles
adf1d4fa7c Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
L. David Baron
8ae14c6f7f Prevent rebuilding all style data when paginated. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
2424598a74 Prevent posting media query changed events during construction. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Ehsan Akhgari
ca2a90bdee Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
John Daggett
4e18b0296a Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc 2008-12-12 16:31:51 +09:00
John Daggett
f9e721b5df Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron. 2009-01-13 14:16:58 +09:00
L. David Baron
39812fadae Rebuild all style data when the user font set changes so that we recompute ex and ch units. (Bug 458878) r=jdaggett sr=bzbarsky a=blocking1.9.1+ 2008-12-08 08:08:05 -08:00
Zack Weinberg
1e1e399d77 Bug 460217 - handle @font-face block without family name correctly in nsCSSRuleProcessor - r+sr=dbaron 2008-12-04 21:01:37 -08:00
L. David Baron
3e43af7a94 Allow PostRebuildAllStyleData to be called with an aExtraHint. (Bug 458878) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
L. David Baron
c95d61afc0 Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
L. David Baron
f947c3be3c Don't assert when we call GetUserFontSet during frame construction. (Bug 466756) r+sr=bzbarsky a191=beltzner 2008-11-27 12:31:04 -08:00
John Daggett
0d24013534 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
L. David Baron
2aa2ccaca4 Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
5785e50c68 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
b5cdb24735 Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures. 2008-11-25 15:09:02 -08:00
L. David Baron
88620d4af0 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Boris Zbarsky
1ce2a69367 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron 2009-01-06 14:17:05 -05:00
Robert O'Callahan
b4af72fc54 Bug 471365. Make reftest-wait tests track invalidation via MozAfterPaint and repaint the invalid areas like normal window repaining would. This makes invalidation-related bugs testable. r=dbaron 2009-01-06 14:15:13 +13:00
Mats Palmgren
de8a444db0 Fix various mistakes in handling of mBorderImageLoaders. (Bug 446328) r+sr=dbaron 2008-10-28 14:38:37 -07:00
L. David Baron
8878bc85e1 Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:36:44 -07:00
L. David Baron
65cadd7c29 Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:36:17 -07:00
L. David Baron
2015aefdfd Merge backout of changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796). 2008-10-28 14:35:18 -07:00
L. David Baron
e7cd23e3ac Backed out changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
--HG--
rename : layout/base/nsImageLoadNotifier.cpp => layout/base/nsImageLoader.cpp
rename : layout/base/nsImageLoadNotifier.h => layout/base/nsImageLoader.h
2008-10-28 14:34:03 -07:00
Olli Pettay
6f4790435f Bug 459663 - Crash [@ nsEventDispatcher::Dispatch], r+sr=roc 2008-10-18 23:10:19 +03:00
Robert O'Callahan
f2edf72f79 Bug 455988. Optimize MozAfterPaint so we never even dispatch an XPCOM event if there are no listeners. r=smaug,sr=mats 2008-10-16 10:06:32 +13:00
L. David Baron
10bd0bbfe0 Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky 2008-10-11 20:49:42 -04:00
L. David Baron
2bd8ac7a44 Rename nsImageLoader to nsImageLoadNotifier, since it doesn't actually load images. (Bug 322475) r+sr=bzbarsky
--HG--
rename : layout/base/nsImageLoader.cpp => layout/base/nsImageLoadNotifier.cpp
rename : layout/base/nsImageLoader.h => layout/base/nsImageLoadNotifier.h
2008-10-11 20:49:42 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
89f9623d23 Bug 458984: dead stuff in nsPresContext r=roc 2008-10-09 13:46:43 -07:00
Brad Lassey
add313bab4 Bug 445988 - no focus rings around text input boxes in fennec p=tonikitoo r=roc sr=roc 2008-10-08 19:28:31 -04:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Zack Weinberg
20636c2fb4 Bug 455217 - Selection colors for plain text files is wrong (white background, blue text instead of blue background, white text); "code" part; r+sr=dbaron 2008-09-19 19:06:46 +02:00
Robert O'Callahan
f79290bb0e Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Rob Arnold
02f6da6fec -moz-system-metric selector doesn't update when the theme changes - bug 447045 r+sr=dbaron 2008-08-05 13:02:43 -07:00
L. David Baron
c5235e21f2 Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
07bbfcbe0b Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Simon Montagu
dfcf9f51e9 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
vladimir@pobox.com
b58a1af929 b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner 2008-04-25 16:12:45 -07:00
vladimir@pobox.com
5b4f07a7fa backing out 2008-04-20 01:24:42 -07:00
vladimir@pobox.com
1cc55575d3 b=427122, padding on select elements ignored, r=dbaron,a=beltzner 2008-04-19 23:42:00 -07:00
dbaron@dbaron.org
632c70328b Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+ 2008-02-08 11:52:46 -08:00
bzbarsky@mit.edu
35a78c727b Speed up page zoom by skipping the unnecessary resize reflow when we tell the viewmanager about its new size, since we plan to go ahead and do a full dirty reflow right after that. Bug 403660, patch by Daniel Brooks <db48x@yahoo.com>, r=bzbarsky, sr=roc 2008-01-28 20:10:59 -08:00
roc+@cs.cmu.edu
bc08ac141a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
09582c48ae backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
mats.palmgren@bredband.net
54ac82ae32 Don't call GetViewManager() if 'mShell' is null. b=408216 r+sr=roc a=blocking1.9 2007-12-16 20:59:59 -08:00
roc+@cs.cmu.edu
5fa91c2bd3 Bug 403067. mVisibleArea may get stale so use GetWindowDimensions() when we're going to do a SetWindowDimensions() with new dimensions. r+sr=dbaron 2007-12-11 18:27:00 -08:00
myk@mozilla.org
cc86388635 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 2007-11-26 20:54:30 -08:00
myk@mozilla.org
759b2a5934 bug 385224: optimize performance of site-specific preferences; r=mconnor,roc 2007-11-26 00:35:22 -08:00
bzbarsky@mit.edu
5ee6e45f66 Don't allow presentational attributes to set colors if the "don't use document colors" pref is set. Bug 400452, r+sr=dbaron 2007-11-15 19:46:42 -08:00
reed@reedloden.com
4c0c1d7709 Bug 391868 - "Page Source very small with meta charset=windows-1258" [p=chris@pearce.org.nz (Chris Pearce) r+sr=dbaron a=blocking1.9+] 2007-10-11 15:54:18 -07:00
dbaron@dbaron.org
7415f81dc3 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 2007-10-08 16:11:01 -07:00
dbaron@dbaron.org
89660da028 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 2007-09-30 12:23:48 -07:00
sharparrow1@yahoo.com
04304b46b5 Bug 391494: full page zoom causes scrollbars to be cut off. r+sr+a=roc 2007-08-24 10:46:59 -07:00
mozilla@weilbacher.org
478380cab3 Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron 2007-08-23 17:13:43 -07:00
dbaron@dbaron.org
c50f0447f9 Add nsPresContext and nsEventStateManager to cycle collection. b=385376 r=Olli.Pettay sr=jst a=jst 2007-08-10 14:25:24 -07:00
sharparrow1@yahoo.com
8419d2c58e Bug 389720: zooming frameset is poor. r+sr=roc, a=dbaron 2007-08-07 13:38:35 -07:00
roc+@cs.cmu.edu
917c4632c9 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
sharparrow1@yahoo.com
5a87530c15 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
sharparrow1@yahoo.com
fb3a8889db Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
dbaron@dbaron.org
8d20e3f29b 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 2007-05-16 14:10:31 -07:00
sayrer@gmail.com
c4a67f09f0 Bug 375434. cleanup constructor in nsPresContext.cpp. r+sr=roc 2007-04-19 12:11:42 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00