Commit Graph

180 Commits

Author SHA1 Message Date
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Boris Zbarsky
e70f4fe5fa Bug 480065. Make chrome registry not mess with inline stylesheets. r=bsmedberg, sr=dbaron 2009-03-10 09:52:23 -04:00
Neil Rashbrook
249e4914e7 Excise nsCachedChromeChannel fixing bug 206691 amongst others r=bsmedberg sr=bz 2009-01-29 23:34:24 +00:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Benjamin Smedberg
54de57c5d0 Bug 463642 - Safe mode should disable JIT, r+sr=jst
--HG--
rename : toolkit/xre/nsIXULRuntime.idl => xpcom/system/nsIXULRuntime.idl
2009-01-12 11:05:10 -05:00
Shawn Wilsher
bf0e65a35b Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Shawn Wilsher
6ea17d3edc Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
52fa025019 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Johnny Stenback
becb9748e5 Fixing bug 425153. Fix script filenames such that our wrapper automation story is more consistent. r=jonas@sicking.cc, sr=bzbarsky@mit.edu, a=b2 blocker 2008-11-13 16:00:11 -08:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Ian
ee43bba9c1 Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Justin Dolske
df2cae1217 bug 580508 - fix test_resolve_uris.js test. r=mossop 2010-08-03 16:26:27 +12:00
Chris Jones
d37c23f270 Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
Mark Banner
27694b6ab6 Bug 577496 Linking issues in xpcom on static builds due to chrome registry not having FORCE_NO_PIC set. r=ted 2010-07-08 09:30:25 -07:00
Mark Banner
dd1a933488 Make test_resolve_uris.js account for non-libxul configurations where app-info isn't available and isn't needed. Agreed over irc with jdm. Test-only bustage fix. 2010-07-05 19:46:31 +01:00
Benjamin Smedberg
0b4de441c4 Bug 568691 - Fix MOZ_OMNIJAR registration, r=mwu
--HG--
rename : modules/libjar/nsXPTZipLoader.cpp => modules/libjar/nsManifestZIPLoader.cpp
rename : modules/libjar/nsXPTZipLoader.h => modules/libjar/nsManifestZIPLoader.h
rename : xpcom/reflect/xptinfo/public/nsIXPTLoader.idl => xpcom/components/nsIManifestLoader.idl
2010-07-02 09:53:19 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
b83c7495d6 Support Windows line endings in manifest files again (regression introduced in revision 5229353383b0). With test! 2010-06-29 13:16:43 -04:00
Benjamin Smedberg
6669ee04a8 Bug 568691 - Add an ABI chrome registration modifier so that platform-specific directories can be implemented directly in chrome.manifest. 2010-06-27 15:13:04 -04:00
Benjamin Smedberg
5b4541cfe9 Fix chrome registry test setup. 2010-06-25 20:53:20 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
87b751cfc8 Bug 568691 - Register extension components/chrome again. This doesn't remove the EM restart yet, because there's some weirdness about reading default prefs from extensions that needs to be solved first. 2010-06-23 12:18:32 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
492155b10e Bug 568691 part C - Register all components based on reading .manifest files from the components directories. Binary components auto-register using "binary-component name.dll". JS components register using "component CID file.js" "contract @mozilla.org/contract;1 CID" and "category categoryname keyname value".
This patch has some bugs, specifically we stop looking for .manifest files in chrome/. I will fix that in a followup. It also probably breaks non-libxul builds because of ordering issues.

Another followup will actually fix our in-tree JS components and add build machinery for creating a proper components.manifest file.
2010-06-11 16:13:26 -04:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Chris Jones
3921e1219b Bug 575918: Temporarily disable OOP xpcshell on OS X because it's completely broken. r=bsmedberg 2010-06-30 17:53:51 -05: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
Michael Wu
ff330a24c3 Remove extra function accidentally added during merge 2010-06-23 11:59:50 -07: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
9e3c169292 Fix up the chrome registry. I think the mc->e10s merge was bad
--HG--
extra : rebase_source : a62f1db455d0c714ebb55e7ee3a61e1811eb1c45
2010-06-07 15:49:12 -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
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Jason Orendorff
d7cbea1f4d Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap.
--HG--
extra : rebase_source : 996d2abecb15f44293abd470a28a3fe2706e130e
2010-05-27 12:33:54 -07: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
Chris Jones
8e7f89a8f1 Remove extraneous semicolon that's upsetting the anal gccs. 2010-05-14 20:49:00 -05:00
Chris Jones
2877589e40 Merge missed nsChromeRegistry change from m-c and fix busted content-process XPCOM/chromium event loop. 2010-05-14 01:41:14 -05:00
Chris Jones
e4786c8d43 Followup to bug 528146 for dom/ipc, and revert chome registry merge.
--HG--
rename : dom/ipc/ContentProcessThread.cpp => dom/ipc/ContentProcessProcess.cpp
rename : dom/ipc/ContentProcessThread.h => dom/ipc/ContentProcessProcess.h
2010-05-13 18:44:53 -05:00
Chris Jones
9327ed8dcc Merged m-c 2010-05-13 18:04:53 -05:00
Doug Turner
e6e7f60241 Fixing bad merge / build bustage 2010-05-11 11:49:57 -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
Craig Topper
3e0e604d67 Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron 2010-05-17 21:00:40 -07:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Michael Wu
bc96fd0840 Bug 552121 - Point chrome uris to the omnijar [5/7], r=bsmedberg
--HG--
extra : rebase_source : 68bfe81be76b51d54bc977ace52562683817a99d
2010-06-14 14:41:12 -07:00
Craig Topper
d02574b6b4 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Josh Matthews
c7ce3d7d88 Build fix for non-MOZ_IPC environments 2010-03-22 22:18:53 -07:00
Josh Matthews
c9c6966c80 Bug 542907 - "e10s: Chrome registry should be unified between parent and child" [r=benjamin] 2010-03-11 18:33:00 +13:00
Josh Aas
bcb41f783d More Carbon usage cleanup. b=550787 r=bsmedberg 2010-03-10 14:30:11 -05:00
Serge Gautherie
da3feb8c55 Bug 541671 - [SeaMonkey 2.1] xpcshell: test_bug519468.js fails; (Av1) Call checkForNewChrome(), s/TmpD/ProfD/.
r=benjamin.
2010-04-02 18:25:13 +02:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Zack Weinberg
2c3e543d1d Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
1e69ee7cc3 Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
benjamin@smedbergs.us
1a0cd7a153 Bug 391311 followup - if the chrome registry doesn't initialize correctly, don't crash on destruction, r=Mossop a=beltzner 2008-04-11 08:05:58 -07:00
benjamin@smedbergs.us
5c2bff725a Bug 292789 (the chrome registry part), add a contentaccessible flag for packages and expose it on nsIXULChromeRegistry, r=dtownsend sr=jst a=beltzner 2008-04-11 06:39:43 -07:00
reed@reedloden.com
ccfd227e98 Bug 292549 - "crash [@ nsFrame::BoxReflow] at start of page rendering -Trunk" (Don't initialize the chrome registry if JAR isn't up) [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=Mossop a1.9=beltzner] 2008-04-04 02:02:15 -07:00
dveditz@cruzio.com
db5f63ebc8 bug 417086 fix regression with ':' in chrome URI fragments, r/sr=bsmedberg, blocking-firefox3+ bug 415191 rdf/chrome version of bug 413250, r/sr=neil 2008-03-06 17:20:44 -08:00
neil@parkwaycc.co.uk
218ee15045 Fix nit in previous patch b=416531 r=Mano etc. 2008-02-22 15:35:01 -08:00
reed@reedloden.com
733ff1c078 Bug 416531 - "Use chrome overrides to display Aero style icons on Vista" (Fix cached chrome channels) [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=Mano a=blocking-firefox3+] 2008-02-21 02:57:16 -08:00
reed@reedloden.com
b976dc32c3 Bug 415367 - "ieTab extension not working due to use of ":" in chrome URIs" (adding test only) [p=ehsan.akhgari@gmail.com (Ehsan Akhgari [ehsan]) r+sr=dveditz] 2008-02-16 19:29:20 -08:00
dveditz@cruzio.com
5a990e8ded bug 415338 (follow-on to bug 413250) don't scan query parts of chrome URIs to not break addons (as inspired by similar Seamonkey regression) . r/sr=neil, a=mtscrehp 2008-02-02 11:50:09 -08:00
dveditz@cruzio.com
3b69b5c9ee bug 413250 additional patch to catch double escaped chrome URIs too. r/sr=bsmedberg, a=beltzner 2008-01-31 17:59:12 -08:00
dveditz@cruzio.com
3b8927006a bug 413250 fix chrome: URI scheme traversal. r=Neil, sr=bsmedberg 2008-01-24 22:57:52 -08:00
dtownsend@oxymoronical.com
1a8404475c Bug 401153: Provide resource:// substitutions for installed add-ons. r=bsmedberg, a=beltzner 2007-12-21 11:32:54 -08:00
mrbkap@gmail.com
fb11cb8ad9 Use two flags for filenames: "system" and "want native wrappers". bug 408859, r=jst sr+a=brendan 2007-12-19 19:11:02 -08:00
reed@reedloden.com
c10d21233c Bug 405368 - "Allow runtime overrides by Linux version for chrome" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=bsmedberg a1.9=beltzner] 2007-11-28 14:47:01 -08:00
reed@reedloden.com
33dce78fd4 Bug 403621 - "fix various ArrayEnumerator implementations" [p=dao@mozilla.com (Dão Gottwald) r=Mano a1.9=schrep] 2007-11-21 13:15:39 -08:00
reed@reedloden.com
441062dafe Bug 330447 - "remove " ." from "No chrome package registered" error message" [p=sgautherie.bz@free.fr (Serge Gautherie) r=gavin a1.9=damons] 2007-11-13 00:50:30 -08:00
reed@reedloden.com
955b9a5f8e Attempt to fix bustage on Mac caused by bug 397073. 2007-11-12 22:04:00 -08:00
reed@reedloden.com
6ccc0d514d Bug 397073 - "Allow runtime overrides by OS version for chrome" [p=Mossop r=bsmedberg a1.9=schrep] 2007-11-12 21:38:48 -08:00
reed@reedloden.com
612ab7f0b6 Bug 399707 - "Add inverse matching for string flags" [p=Mossop r=bsmedberg a1.9=damons] 2007-11-12 21:32:09 -08:00
dolske@mozilla.com
c00ea63c48 Bug 386283: startup warning at nsChromeRegistry.cpp, line 1249. r=benjamin, sr=biesi 2007-07-14 18:34:08 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
dtownsend@oxymoronical.com
de9ce9c449 Testcase for bug 380398: appversion manifest flag is broken in certain situations. r=bsmedberg 2007-05-30 14:52:47 -07:00
Olli.Pettay@helsinki.fi
da84b4a799 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
dtownsend@oxymoronical.com
eedb04d8a1 Bug 380398: appversion manifest flag has a broken length check. r=bsmedberg 2007-05-18 06:42:06 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -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