Commit Graph

245381 Commits

Author SHA1 Message Date
Zack Weinberg
1628ea1551 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
86131020a5 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
f8eccd9ec7 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
ab24450ef1 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
Zack Weinberg
f1c21fabf8 Bug 266236 part 5: Make all nsRenderingContext methods with no out-parameters and that never fail return nothing.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 7c11bd0cd2a93d30347a1bb6c1b7675e85f0f579
2011-04-07 18:04:40 -07:00
Zack Weinberg
4e540ce52f Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
2011-04-07 18:04:40 -07:00
Jan Küchler
c510bc3046 Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
cbabd3ce0f Bug 266236 part 2: Merge nsIRenderingContext with nsThebesRenderingContext (the sole implementation) and remove XPCOM vestiges. Non-mechanical fixups. DOES NOT COMPILE without part 3.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 9e149d30da5222d072071043d30d83033fec9787
2011-04-07 18:04:39 -07:00
Jan Küchler
ebb2f0c7ec Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Serge Gautherie
5d6365d877 Bug 647404 - automation.py: fix extractZip() and installExtension(); (Cv2) Explicitly support an optional path in --install-extension.
r=jmaher.
2011-04-14 17:28:46 +02:00
Serge Gautherie
20739294a0 Bug 228448 - Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'; (Hv1) /extensions/*.
r=cbiesinger.
2011-04-14 17:25:00 +02:00
Serge Gautherie
ccd3a1dae1 Bug 228448 - Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'; (Gv1b) /xpfe/components/directory/nsDirectoryViewer.cpp.
r=dean_tessman.
2011-04-14 17:25:00 +02:00
Ehsan Akhgari
423e731fcb Bug 649842 - Generate real unique values, instead of relying on Math.random() to generate unique values, which will lead into intermittent oranges; r=zpao 2011-04-14 10:19:34 -04:00
Ehsan Akhgari
6dd48e75f1 Bug 642469 - Sanitize the environment variables upon startup; r=bsmedberg 2011-04-14 10:19:14 -04:00
Ehsan Akhgari
e278db0f63 Bug 643885 - Part 2: Optimize nsContentUtils::RemoveScriptBlocker to minimize the number of memmove's; r=bzbarsky 2011-04-14 10:18:28 -04:00
Ehsan Akhgari
cb5cc4ef6b Bug 643885 - Part 1: Add the new RemoveObjectsAt API to nsCOMArray; r=bsmedberg 2011-04-14 10:18:02 -04:00
Serge Gautherie
f293775842 Bug 599748 - Remove custom |def check_call()|, now that Python 2.4 is unsupported; (Av1) Remove 'util.py'.
r=ted.mielczarek.
2011-04-14 15:44:13 +02:00
Ms2ger
dcca90ed82 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Ms2ger
b007736e51 Bug 604595, part a - Remove support for DocumentType.entities and DocumentType.notations; r=sicking 2011-04-14 14:04:13 +02:00
Ms2ger
473cebda59 Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Ms2ger
e3b8a5d6d0 Bug 620000 - Remove nsXULPDGlobalObject::OnFinalize's language id parameter; r=jst 2011-04-14 14:04:08 +02:00
Tim Taubert
be59bd7f41 Bug 643293 - Intermittent browser_tabview_bug626791.js | drag-to-create-group: panorama button should be in the toolbar - Didn't expect -1, but got it [f=raymond, r=ian] 2011-04-12 21:44:17 +02:00
Trevor Saunders
b3553b389c Bug 649604 - crash [@ nsAccessible::NativeState()], r=marcoz, surkov 2011-04-14 20:49:38 +09:00
Serge Gautherie
60f7fa10ab Bug 647404 - automation.py: fix extractZip() and installExtension(); (Bv2) Rewrite installExtension() to copy xpi file without extracting it, Remove now unused extractZip().
r=jmaher.
2011-04-14 13:03:47 +02:00
Serge Gautherie
2087815507 Bug 647404 - automation.py: fix extractZip() and installExtension(); (Av1) s|os.sep|'/'|, Add shutil.rmtree() call, Fix some code nits.
r=jmaher.
2011-04-14 13:03:31 +02:00
Serge Gautherie
031f194849 Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
r=benjamin.
2011-04-14 12:47:41 +02:00
Mike Hommey
2e34091c98 Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted 2011-04-14 11:23:13 +02:00
Mike Hommey
1134591309 Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg 2011-04-14 11:22:09 +02:00
Landry Breuil
e37388df67 Bug 633857 - missing #includes for OpenBSD (mozalloc part). r=cjones 2011-04-14 17:49:38 +09:00
Landry Breuil
d658ec0096 Bug 633857 - missing #includes for OpenBSD (media part). r=roc 2011-04-14 17:49:29 +09:00
Landry Breuil
5f1ab70d7c Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic 2011-04-14 17:48:27 +09:00
Kyle Huey
746351dc18 Backed out changeset aa200a803e07 2011-04-13 23:17:02 -07:00
Kyle Huey
c2ed6a11c4 Bug 624870: Free nsFactoryEntrys on XPCOM shutdown and factory unregistration. r=bsmedberg 2011-04-13 19:41:34 -07:00
Kyle Huey
3ef7df06b9 Bug 630444: Followup to remove dead code. r=me 2011-04-13 19:41:34 -07:00
Kyle Huey
b8748273e7 Bug 607114: Expose a File constructor to chrome script. r=sicking
--HG--
rename : content/canvas/test/image_yellow.png => content/base/test/chrome/fileconstructor_file.png
2011-04-13 19:41:34 -07:00
Kyle Huey
b7751008fa Bug 593629: Only check for ARM SIMD and NEON when the CPU_ARCH is ARM. r=ted 2011-04-13 19:41:33 -07:00
Chris Pearce
db70e38a67 Bug 641718 - Round nsWaveReader's buffered ranges times to usecs. r=kinetik 2011-04-14 10:12:23 +12:00
Chris Pearce
73310e4cd6 Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Jonathan Protzenko
0a228e18f5 Bug 628669: Provide support for relative URLs in Components utils import (JSM, JS modules) r=bsmedberg r=mrbkap
This patch allows a JS module to import another one with a relative path. For
instance, if you have a set of modules you want to drop-in in any extension, and
these modules depend on each other, you can import XPCOMUtils and then do
XPCOMUtils.importRelative(this, "otherfile.jsm").
2011-04-14 00:10:13 +02:00
Cameron McCormack
5fe5cc8fd0 Bug 637207 - Make name & message on Error prototypes and message on Error instances not enumerable r=gal 2011-04-14 09:47:30 +12:00
Jonas Sicking
3815106388 Bug 649672: Make File.slice arguments match Array.slice and prefix File.slice. r=khuey 2011-04-13 14:34:36 -07:00
Mounir Lamouri
6e8a05de6b Bug 635749 - Don't assume we can press ENTER on an <input type='file'> to submit a form. r=bz,smaug
--HG--
extra : rebase_source : 85b73e61002ebc3c68cfff3363afb29b448c6121
2011-04-13 12:43:34 -07:00
Benjamin Stover
5dbc4242ca Bug 649583 Panning regression on google reader in 2011-04-12 nightly r=roc 2011-04-13 14:12:22 -07:00
Robert Strong
be80ac1469 Bug 649754 - update dialog no longer centered. r=mossop 2011-04-13 13:52:55 -07:00
Jonathan Kew
64b169ed5f bug 649678 - include the build date in About window for a# versions. r=dao 2011-04-13 21:25:58 +01:00
Klaus Ernst
da55dc6c27 Bug 640601: Allow Flash 10.2+ to load OOP on more Mac OS X machines. r=josh 2011-04-13 12:57:46 -07:00
Mounir Lamouri
9144e54f54 Bug 638143 - Internal html:input of XUL numberbox shouldn't have type='number'. r=enndeakin 2011-03-02 22:32:58 +01:00
Ehsan Akhgari
5486c60ca1 Merge backout of bug 606574 2011-04-13 14:09:09 -04:00
Ehsan Akhgari
1f6dacab44 Back out bug 606574 for leaking a Mutex and a CondVar in crashtests 2011-04-13 14:08:43 -04:00
Ehsan Akhgari
dd5c804aa9 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00