Commit Graph

2800 Commits

Author SHA1 Message Date
Craig Topper
0c783e4943 Bug 648885 - Part 3: Remove nsIImageMap. r=roc
--HG--
extra : rebase_source : 179eb2e28f555d2a6159f92aa5ccd6d0af900b2b
2011-04-26 22:51:13 -07:00
Craig Topper
424eee8dac Bug 648885 - Part 2: Remove nsIImageFrame. r=roc
--HG--
extra : rebase_source : 3097ee732ab2ba3b7a79253f7f71c09eed22d033
2011-04-25 23:52:19 -07:00
Craig Topper
bdc6150c3c Bug 648885 - Part 1: Remove 'using namespace' from nsImageFrame.h. r=roc
--HG--
extra : rebase_source : a05f252ff6efb2069d4f8096ebb70eb3ad9cc4c7
2011-04-25 23:04:18 -07:00
Mark Finkle
03e5a556ee Backed out changeset c7f62d818af2. Causes content crashes Bug 653889 2011-04-30 00:01:29 -04:00
Benjamin Stover
95028ef26c Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc 2011-04-29 10:15:44 -07:00
Benjamin Smedberg
d3a66ed55a Bug 649558 - Move modules/plugin/base to dom/plugins/base, r=josh
--HG--
rename : modules/plugin/base/src/Makefile.in => dom/plugins/base/Makefile.in
rename : modules/plugin/base/src/PluginPRLibrary.cpp => dom/plugins/base/PluginPRLibrary.cpp
rename : modules/plugin/base/src/PluginPRLibrary.h => dom/plugins/base/PluginPRLibrary.h
rename : modules/plugin/base/public/npapi.h => dom/plugins/base/npapi.h
rename : modules/plugin/base/public/npfunctions.h => dom/plugins/base/npfunctions.h
rename : modules/plugin/base/public/npruntime.h => dom/plugins/base/npruntime.h
rename : modules/plugin/base/public/nptypes.h => dom/plugins/base/nptypes.h
rename : modules/plugin/base/public/nsIHTTPHeaderListener.idl => dom/plugins/base/nsIHTTPHeaderListener.idl
rename : modules/plugin/base/public/nsIPlugin.idl => dom/plugins/base/nsIPlugin.idl
rename : modules/plugin/base/public/nsIPluginDocument.idl => dom/plugins/base/nsIPluginDocument.idl
rename : modules/plugin/base/public/nsIPluginHost.idl => dom/plugins/base/nsIPluginHost.idl
rename : modules/plugin/base/public/nsIPluginInputStream.idl => dom/plugins/base/nsIPluginInputStream.idl
rename : modules/plugin/base/public/nsIPluginInstance.idl => dom/plugins/base/nsIPluginInstance.idl
rename : modules/plugin/base/public/nsIPluginInstanceOwner.idl => dom/plugins/base/nsIPluginInstanceOwner.idl
rename : modules/plugin/base/public/nsIPluginStreamInfo.idl => dom/plugins/base/nsIPluginStreamInfo.idl
rename : modules/plugin/base/public/nsIPluginStreamListener.idl => dom/plugins/base/nsIPluginStreamListener.idl
rename : modules/plugin/base/public/nsIPluginTag.idl => dom/plugins/base/nsIPluginTag.idl
rename : modules/plugin/base/public/nsIPluginTagInfo.idl => dom/plugins/base/nsIPluginTagInfo.idl
rename : modules/plugin/base/src/nsJSNPRuntime.cpp => dom/plugins/base/nsJSNPRuntime.cpp
rename : modules/plugin/base/src/nsJSNPRuntime.h => dom/plugins/base/nsJSNPRuntime.h
rename : modules/plugin/base/src/nsNPAPIPlugin.cpp => dom/plugins/base/nsNPAPIPlugin.cpp
rename : modules/plugin/base/src/nsNPAPIPlugin.h => dom/plugins/base/nsNPAPIPlugin.h
rename : modules/plugin/base/src/nsNPAPIPluginInstance.cpp => dom/plugins/base/nsNPAPIPluginInstance.cpp
rename : modules/plugin/base/src/nsNPAPIPluginInstance.h => dom/plugins/base/nsNPAPIPluginInstance.h
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.cpp => dom/plugins/base/nsNPAPIPluginStreamListener.cpp
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.h => dom/plugins/base/nsNPAPIPluginStreamListener.h
rename : modules/plugin/base/src/nsPluginDirServiceProvider.cpp => dom/plugins/base/nsPluginDirServiceProvider.cpp
rename : modules/plugin/base/src/nsPluginDirServiceProvider.h => dom/plugins/base/nsPluginDirServiceProvider.h
rename : modules/plugin/base/public/nsPluginError.h => dom/plugins/base/nsPluginError.h
rename : modules/plugin/base/src/nsPluginHost.cpp => dom/plugins/base/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHost.h => dom/plugins/base/nsPluginHost.h
rename : modules/plugin/base/public/nsPluginLogging.h => dom/plugins/base/nsPluginLogging.h
rename : modules/plugin/base/src/nsPluginManifestLineReader.h => dom/plugins/base/nsPluginManifestLineReader.h
rename : modules/plugin/base/src/nsPluginModule.cpp => dom/plugins/base/nsPluginModule.cpp
rename : modules/plugin/base/src/nsPluginNativeWindow.cpp => dom/plugins/base/nsPluginNativeWindow.cpp
rename : modules/plugin/base/public/nsPluginNativeWindow.h => dom/plugins/base/nsPluginNativeWindow.h
rename : modules/plugin/base/src/nsPluginNativeWindowGtk2.cpp => dom/plugins/base/nsPluginNativeWindowGtk2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowOS2.cpp => dom/plugins/base/nsPluginNativeWindowOS2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowQt.cpp => dom/plugins/base/nsPluginNativeWindowQt.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowWin.cpp => dom/plugins/base/nsPluginNativeWindowWin.cpp
rename : modules/plugin/base/src/nsPluginSafety.h => dom/plugins/base/nsPluginSafety.h
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.cpp => dom/plugins/base/nsPluginStreamListenerPeer.cpp
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.h => dom/plugins/base/nsPluginStreamListenerPeer.h
rename : modules/plugin/base/src/nsPluginTags.cpp => dom/plugins/base/nsPluginTags.cpp
rename : modules/plugin/base/src/nsPluginTags.h => dom/plugins/base/nsPluginTags.h
rename : modules/plugin/base/public/nsPluginsCID.h => dom/plugins/base/nsPluginsCID.h
rename : modules/plugin/base/src/nsPluginsDir.h => dom/plugins/base/nsPluginsDir.h
rename : modules/plugin/base/src/nsPluginsDirDarwin.cpp => dom/plugins/base/nsPluginsDirDarwin.cpp
rename : modules/plugin/base/src/nsPluginsDirOS2.cpp => dom/plugins/base/nsPluginsDirOS2.cpp
rename : modules/plugin/base/src/nsPluginsDirUnix.cpp => dom/plugins/base/nsPluginsDirUnix.cpp
rename : modules/plugin/base/src/nsPluginsDirUtils.h => dom/plugins/base/nsPluginsDirUtils.h
rename : modules/plugin/base/src/nsPluginsDirWin.cpp => dom/plugins/base/nsPluginsDirWin.cpp
rename : modules/plugin/base/public/nspluginroot.idl => dom/plugins/base/nspluginroot.idl
2011-04-26 17:38:43 -04:00
Boris Zbarsky
dd94d998a3 Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
This implements proposal 3 from bug 650379 comment 13.  The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing.  A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout.  While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time.  That seems
undesirable.

An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Josh Aas
1593af8e53 Bug 606641: Cleanup for plugin initialization. r=bz 2011-04-28 16:08:33 -04:00
L. David Baron
8d8f01f096 Fix comment describing nsHTMLReflowState::availableWidth. (Bug 653356) r=bzbarsky 2011-04-28 10:21:37 -07:00
L. David Baron
f4345b013d When we know a block can't fit, end ReflowBlockFrame early, in case a zero-height block tries to. (Bug 652178) r=roc 2011-04-28 10:21:36 -07:00
Masatoshi Kimura
474a6690fc Bug 651113 - Remove windows-936 converter. r=smontagu
--HG--
extra : rebase_source : 4b0d09d815e2b7cfc008f8b5b987e597ceea9bbe
2011-04-27 10:37:00 +02:00
Timothy Nikkel
61fc3d6728 Bug 652821. Remove views from positioned inline frames. r=roc
--HG--
extra : rebase_source : 25f0ff5c614d75c3b9676c0c41762a5ab3541410
2011-04-27 10:35:46 +02:00
Simon Montagu
ece92e21ce Back out bug 263359 and bug 624798 because of performance regressions (bug 650189) 2011-04-27 11:47:18 +03:00
Walter Meinl
2eaf11b614 Bug 652361 - [OS/2] build break in nsObjectFrame after checkin for bug 266236 2011-04-25 10:59:07 -07:00
Masayuki Nakano
cc0623b6e3 Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky 2011-04-23 14:16:41 +09:00
Masayuki Nakano
2bb6c01918 Bug 648299 -moz-text-decoration-style: -moz-none doesn't work r=dbaron 2011-04-23 14:13:09 +09:00
L. David Baron
e0c41c779b Fix broken nsLineList::swap implementation. (Bug 652053) r=roc 2011-04-22 18:36:23 -07:00
Mounir Lamouri
db44db0ebe Merge cedar with mozilla-central. 2011-04-22 15:25:11 +02:00
Timothy Nikkel
f1dbe7df75 Bug 646799. Clip the contents of iframes to border-radius. r=roc 2011-04-22 10:38:38 +02:00
Timothy Nikkel
d2660233c6 Bug 646799. Clip the contents of iframes to border-radius. r=roc 2011-04-22 01:15:44 +02:00
Daniel Holbert
3fbf68de0a Bug 583608: add #ifdef guards around mac-only static functions in nsObjectFrame.cpp. r=josh 2011-04-21 14:52:26 -07:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Masayuki Nakano
816d0ec482 Bug 347185 Adding automated tests r=roc 2011-04-21 08:54:43 +09:00
Daniel Holbert
e142472f0a Bug 651229: Remove unused variable from nsLineBox. r=smontagu 2011-04-21 10:08:05 -07:00
Steven Michaud
889122621e Bug 651177 - [Mac] Crashes [@ nsObjectFrame::GetLayerState ]. r=bsmedberg 2011-04-19 14:13:58 -05:00
Zack Weinberg
668fa81e1d Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Jonathan Watt
ab5a30f802 Bug 649726 - Move nsHTMLContainerFrame static view methods to nsContainerFrame. r=bz. 2011-04-19 12:55:11 +01:00
Jonathan Kew
219392ecf2 bug 650499 - add testcase. r=roc 2011-04-19 08:51:35 +01:00
Jonathan Kew
e7b2b9924c bug 650499 - limit length covered by PropertyProvider to the text actually included in the textRun. r=roc 2011-04-19 08:51:31 +01:00
Robert O'Callahan
c9b3d6063b Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones 2011-04-19 15:07:48 +12:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
763a5f47a7 Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones 2011-04-19 15:07:22 +12:00
Robert O'Callahan
75ad705b3b Bug 641426. Part 3.5: Remove usage of nsMargin::TopLeft and nsMargin::IsZero. r=dbaron 2011-04-19 15:07:22 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Dão Gottwald
4ac8291c1d Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Ed Morley
2e55e1cc34 Bug 634936 - Add null-check for nsContentUtils::GetPrefBranch() to prevent Crash [@ nsFocusManager::Init ]; r=jst 2011-04-16 11:14:09 +02:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
d6425e8bd1 Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics. 2011-04-07 18:05:25 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068 Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1 Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00