Commit Graph

9487 Commits

Author SHA1 Message Date
Walter Meinl
859a94a18d Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Chris Jones
52d0f01838 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Chris Jones
4dfec8bde0 Bug 598862, part 1: Add mozilla::ScopedClose to do just that to an fd. sr=bsmedberg 2010-11-08 20:48:59 -06:00
Ben Turner
488481b966 Bug 608186 - 'IndexedDB: Transactions should expire when we return to the event loop'. r=sicking, a=blocking+ 2010-11-15 13:49:49 -08:00
Ehsan Akhgari
6c2e6b0a79 Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Kyle Huey
7d5d01ed5b Backing out Bug 590181 since the GCC 4.5 upgrade failed on this CLOSED TREE 2010-11-11 12:36:01 -05:00
Justin Lebar
37329ff4d5 Bug 590181 - Part 2: Use -O3 on Linux. r=ted, a2.0=dbaron (landing on CLOSED TREE) 2010-09-08 10:10:31 -07:00
Ben Turner
b682a58ad1 Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+ 2010-11-10 15:25:44 -08:00
timeless@mozdev.org
d43891bc95 Bug 615486 GetDeviceName is defined but not used ifndef USE_LINUX_QUOTACTL
r=bsmedberg

--HG--
extra : rebase_source : aad0b56b3e3adb11a591bcb3f94ebaf3067dca47
2010-12-04 11:07:31 +01:00
Benjamin Smedberg
8f0a5c5510 Bug 616056 - prevent double registration of binary components, which causes crashes due to dead KnownModule pointers, r=Mossop a=blocking 2010-12-03 15:24:22 -05:00
Taras Glek
0dedf51640 Bug 588873 - Crashfix, catch EXCEPTION_IN_PAGE_ERROR, use file io for checksum on Windows for more safety+speed r=benh a=blocking-betaN 2010-12-03 10:16:10 -08:00
Kyle Huey
afee832b8c Bug 603844: Annotate some xlst classes with leak logging. r=sicking sr=dbaron 2010-12-02 11:15:48 -05:00
Boris Zbarsky
3517f94854 Bug 608914 part 1. Remove the nsString overloads of AppendInt and move AppendFloat up to nsAString. r=bsmedberg 2010-11-30 13:18:15 -05:00
Dave Townsend
f322fea87c Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Boris Zbarsky
2c04de129c Bug 608914 part 1. Remove the nsString overloads of AppendInt and move AppendFloat up to nsAString. r=bsmedberg 2010-11-30 13:18:15 -05:00
Ehren Metcalfe
fdcccd8adf Bug 613425 - static checking suite: fix static initializer warnings with COMPONENT_REFs r=tglek a=test-only [DONTBUILD] 2010-11-26 12:14:24 -05:00
Michal Novotny
bf0cd129cc Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Jonas Sicking
ddc13efc65 Bug 448611: Use proper escaping in form submission names and values. Also treat textareas with an empty name the way that IE handles them and don't submit them. r=smaug a=blocker 2010-11-23 00:50:55 -08:00
Brad Lassey
0154125fca bug 518266 - Implement mechanism to provide haptic feed back, idl r=dougt a=blocking-fennec 2010-11-22 11:37:59 -05:00
Robert O'Callahan
dfb7e963f1 Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker 2010-11-08 22:06:14 +13:00
Chris Pearce
5074fce192 Bug 572579 - Create nsMediaCacheRemover after a 3 minute timeout. r=bsmedberg a=blocking2.0 2010-11-08 19:43:25 +13:00
Chris Pearce
0a91190210 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Olli Pettay
e257d02ebd Bug 600301 - Optimize ReplacePrep, r=benjamin, a=benjamin
--HG--
extra : rebase_source : 92cff8659239f2e62a9588234f9d3ef00f255c85
2010-11-07 21:39:04 +02:00
Mike Hommey
e171cc6f17 Bug 569629 - Remove static xpcom modules list static initializer. r=bsmedberg,a=bsmedberg 2010-11-07 09:25:38 +01:00
Ryan VanderMeulen
a6f60ceb1e Bug 606070 - warning C4244: 'return' : conversion from 'const PRUint64' to 'PLDHashNumber' in nsHashKeys.h r,a=bzbarsky
--HG--
extra : rebase_source : e0f4a753c9408c85165a9d3047be00e6c8ca757c
2010-11-06 14:53:37 +00:00
Jacek Caban
232306a1b8 Bug 589807 - printf_stderr doesn't check if _dup call succeeded r,a=benjamin
--HG--
extra : rebase_source : a68963a26fb6479ba006e4bd8a9945230426fb22
2010-11-06 14:23:15 +00:00
Daniel Holbert
49dbdca896 Bug 596070: s/don't/do not/ in #warning message, to fix "missing terminating ' character" build warning. r=dougt a=dougt 2010-11-05 11:24:12 -07:00
Brad Lassey
b33f6e7f97 bug 605341 - remote orientation api for android r=dougt a=blocking-fennec 2010-11-05 13:43:13 -04:00
Jory A. Pratt
23abde6d1a Bug 593911 - Check for dlopen in the libc too. r=khuey a=bsmedberg 2010-11-05 18:26:51 +01:00
Ben Turner
3526db0dbf Bug 609501 - Change nsIThreadManager for bug 580096. r=jst 2010-11-03 18:41:06 -07:00
Andreas Gal
b941a32c65 Re-land bug 608142. 2010-10-30 06:01:25 -07:00
Jeff Walden
d18fb5831e Backed out changeset 71728ff7002c, seems to have turned mochitest-plain-2 orange. 2010-10-29 22:39:19 -07:00
Andreas Gal
64467a36d7 Disallow sending JS functions to a different thread (608142, r=jst). 2010-10-29 15:03:44 -07:00
Siarhei Siamashka
b5d2490e15 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec 2010-10-27 08:15:08 +03:00
Doug Turner
9ca5509b31 Backed out changeset dd50da0646a4 2010-10-27 13:36:15 -07:00
Siarhei Siamashka
19a25cd0a3 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec
--HG--
extra : rebase_source : a9d44cf330e338abf041c6755dbdeba54cfd9b6e
2010-10-27 08:15:08 +03:00
Brad Lassey
04b1298636 bug 601268 - Add canary-in-the-mine instrumentation to detect when the browser process spends too long outside its main-thread event loop(s) r=cjones a=beltzner 2010-10-27 11:16:03 -04:00
Chris Pearce
81e227c513 Backed out changeset 22b6b7465458 2010-10-26 17:43:10 +13:00
Chris Pearce
8397897ffc Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Josh Aas
42b9381c9d Bug 599478: Fix incorrect exit code for unhandled signal termination in nsIProcess on Mac OS X. r=bsmedberg a=blocking2.0betaN+ 2010-10-25 16:57:18 -04:00
Justin Lebar ext:(%2C%20Kyle%20Huey%20%3Cme%40kylehuey.com%3E)
a6e293112f Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07:00
Zhang Le
b7a85035e1 Bug 482759 - xulrunner mips n32 ABI patch. r=timeless 2010-02-27 18:46:00 +01:00
L. David Baron
2cf2c3e7ea Backout changeset 9ddbf8ab23a5 (bug 588873) to see if it caused bug 617048. 2010-12-08 14:38:26 -08:00
Daniel Brooks
5d4df79b2c back out about:startup due to crashes during mochitests (a89f24bf1798) a=bustage 2010-12-08 03:43:33 -06:00
Daniel Brooks
6afae34b00 Bug 593743 - about:startup page showing historical startup timings; final merge with trunk. ui-r=beltzner feedback=mak77 r=mossop sr=vlad a=bsmedberg 2010-12-07 22:10:14 -06:00
Daniel Brooks
a7dc249655 about:startup - final review hurdle, add _MOZILLA_2_0 interfaces to contain the additions to nsIXULRuntime and nsIXULAppInfo 2010-12-07 02:28:12 -06:00
Daniel Holbert
d6c06c1acf (no bug) Fix mis-indented "}" in nsTArray.h. r+a=whitespace-only, DONTBUILD 2010-12-07 15:54:20 -08:00
Daniel Brooks
3c81e78044 about:startup - merge vlad's review comments with the trunk
--HG--
rename : testing/mochitest/runtests.py.in => testing/mochitest/runtests.py
2010-11-23 09:49:19 -06:00
Daniel Brooks
0cef82a4c0 about:startup - change chrome package name for jquery stuff so that it's clear that it's private 2010-11-15 07:12:26 -06:00
Daniel Brooks
88754df979 about:startup - merge with trunk, again. try: -b o -p linux,linux64,macosx64,win32 -m all -u crashtest -t all 2010-11-05 21:50:30 -05:00
Daniel Brooks
3b27def312 about:config - merge with trunk 2010-10-29 14:18:58 -05:00
Daniel Brooks
8d70d025a6 about:startup - address Mossop's review comment 2010-10-25 16:39:05 -05:00
Daniel Brooks
afab208aa5 about:startup - address Gavin's review comments. try: -b do -p macosx64 -m none -u all -t tp4 2010-10-25 06:49:42 -05:00
Daniel Brooks
362fafd9da about:startup - merge with trunk 2010-10-24 16:24:58 -05:00
Daniel Brooks
a335d14db3 about:startup - bump iids 2010-10-24 16:05:38 -05:00
Daniel Brooks
43ef59fdff about:startup - merge with trunk 2010-09-27 05:38:17 -05:00
Nick Thomas
27a5084bee Bug 571367, turn production x86_64 builds into i386/x86_64 universal binaries (disable tests known to fail on leopard) r=ted CLOSED TREE 2010-09-27 12:14:47 +13:00
Daniel Brooks
d0a43f8734 about:startup - merge with trunk 2010-09-21 15:06:04 -04:00
Daniel Brooks
691fc5f06d about:startup - update to trunk 2010-09-03 15:52:52 -04:00
Doug Turner
2676d1a495 Bug 592308. IsLowMemory() is terribly slow and there is nothing to do about it. r=bsmedberg a=blocking-fennec2.0 2010-09-02 19:02:06 -03:00
L. David Baron
67121b29ae Add NS_COM_GLUE to fix non-libxul bustage from bug 592520. r=taras a=dveditzSheriff 2010-09-16 15:43:15 -07:00
Taras Glek
14ac4d1c11 Bug 596429 - Firefox 4.0b5 Crash Report nsFastLoadFileWriter::Open() r=benedict a=2.0 2010-09-16 13:22:40 -07:00
Taras Glek
356cd6b696 Bug 592520 - Do not fragment the hell out of CACHE__00[1-3]__. r=bsmedberg/jduell, a=betaN+ 2010-09-16 13:21:12 -07:00
Brian Crowder
5591616b20 Bug 567267 - Move nsIEncodedChannel logic to base Http class, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Daniel Brooks
384a08aea9 about:startup - merge with trunk 2010-08-01 05:24:42 -05:00
Daniel Brooks
5abbf16f2e about:startup - PR_IntervalNow is kinda dumb. It makes no special attempt to be monotonic like the docs say, and additionally there's no way to equate it back to a real timestamp (which the docs do imply). Using PR_Now instead. 2010-07-31 00:53:58 -05:00
Daniel Brooks
28aeba0141 about:startup - record timestamp early on in the XRE setup 2010-07-29 19:51:32 -05:00
Robert Sayre
802a358676 Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Wolfgang Rosenauer
ab20c8da7f Bug 562897 - Add required implementation to open files on Maemo 6. r=dougt
--HG--
extra : rebase_source : 49d8fbe234bf447b87486ac4404a148d676e009c
2010-07-30 12:46:20 -07:00
Doug Turner
63292100e5 Bug 582032 - Part 1 - Adds a start method to nsIXULRuntime. r=cjones
--HG--
extra : rebase_source : 6e4e6dde727ecfc37393dbd73c3233e6c3c80a2e
2010-07-30 11:43:56 -07:00
Peter Van der Beken
ffaf8aa520 Back out debugging code for bug 500105. 2010-07-30 11:57:19 +02:00
Michael Wu
6751328731 Bug 580434 - Use of readdir in nsLocalFileUnix not reliable when recursively deleting files on Android/Bionic. r=dougt 2010-07-28 18:12:34 -07:00
Robert Sayre
ca1f1776fe Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Neil Rashbrook
e77338c43a Bug 581652 Some versions of GCC don't like nsCRT::IsAsciiSpace r=jst a=bsmedberg 2010-07-27 12:45:59 +01:00
Josh Aas
7e0dfe202b Bug 581518: Make Mac OS X impl of nsLocalFile::SetPersistentDescriptor behave like it did previosly, supporting aliases. r=benwa 2010-07-25 23:49:28 -04:00
Josh Aas
fa81b00c6c Backed out changeset 45e3b4a37bad, that was intended for try server not m-c 2010-07-25 17:43:32 -04:00
Josh Aas
bd554e81ae old-persist1 2010-07-25 16:20:46 -04:00
Robert Sayre
b8d6ec6280 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Benjamin Smedberg
4dd7594175 Bug 579487 - Better error reporting when NS_CreateServicesFromCategory can't find a contract (especially to help extension developers with profile-after-change issues), r=Mossop 2010-07-20 09:28:45 -04:00
Andreas Gal
3dd9f9600b Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Andreas Gal
284e32eb67 Move the cycle collector out of the GC callback (573060, r=peterv). 2010-07-15 18:08:47 -07:00
Andreas Gal
d7b656c9d6 Bug 579524 - DEBUG_CC broken by fatval. r=sayrer 2010-07-16 20:41:28 -07:00
Andreas Gal
63124d7f53 Backed out bug 573060. 2010-07-15 14:14:26 -07:00
Andreas Gal
f64b050097 Move the cycle collector our of the GC callback (573060, r=peterv). 2010-07-15 10:30:37 -07:00
Luke Wagner
7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Jason Duell
58aa8296ab bug 576420 - Fix nsIInputStream::Available documentation. r=bz 2010-07-08 23:32:59 -07:00
Olli Pettay
6f759b3d50 Bug 577472 - Quickstub string handling shouldn't addref/release the string buffer, r=mrbkap
--HG--
extra : rebase_source : 5c343f210f3fb4a0aca5fc5f8b9b2d492248d3f3
2010-07-19 13:34:23 +03:00
Mark Banner
8dea639db1 Disable part of TestAtoms which is only run in non-libxul builds and is permantely failing on Windows there. Bug 577500 will investigate getting this re-enabled. 2010-07-19 14:35:16 +01:00
Walter Meinl
ad6f5a9c63 Bug 576606 - [OS/2] Fix registration follow-up to bug568691 r=dragtext
--HG--
extra : rebase_source : ff548f598f1e3e7c7b3b70e1f7d683011b238dd2
2010-07-18 11:22:01 +02:00
Eli Friedman
7978da358a Bug 579692 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron 2010-07-18 10:24:23 +02:00
Mike Kristoffersen
25ad75953b Bug 569680 - Move the platform specific geolocation files. r=dougt
--HG--
rename : dom/interfaces/geolocation/nsIGeolocationProvider.idl => dom/interfaces/geolocation/nsIGeolocationPrompt.idl
rename : dom/src/geolocation/GPSDGeolocationProvider.js => dom/system/GPSDGeolocationProvider.js
rename : dom/src/geolocation/GPSDGeolocationProvider.manifest => dom/system/GPSDGeolocationProvider.manifest
rename : dom/src/geolocation/NetworkGeolocationProvider.js => dom/system/NetworkGeolocationProvider.js
rename : dom/src/geolocation/NetworkGeolocationProvider.manifest => dom/system/NetworkGeolocationProvider.manifest
rename : dom/src/geolocation/AndroidLocationProvider.cpp => dom/system/android/AndroidLocationProvider.cpp
rename : dom/src/geolocation/AndroidLocationProvider.h => dom/system/android/AndroidLocationProvider.h
rename : dom/src/geolocation/MaemoLocationProvider.cpp => dom/system/unix/MaemoLocationProvider.cpp
rename : dom/src/geolocation/MaemoLocationProvider.h => dom/system/unix/MaemoLocationProvider.h
rename : dom/src/geolocation/WinMobileLocationProvider.cpp => dom/system/windows/WinMobileLocationProvider.cpp
rename : dom/src/geolocation/WinMobileLocationProvider.h => dom/system/windows/WinMobileLocationProvider.h
rename : dom/interfaces/geolocation/nsIGeolocationProvider.idl => xpcom/system/nsIGeolocationProvider.idl
2010-07-14 19:09:25 +02:00
Josh Aas
77db992206 Backed out changeset f6c93f02146c, bug 571193. 2010-07-16 20:31:24 -04:00
Josh Aas
e2c39ae137 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg CLOSED TREE 2010-07-16 18:35:59 -04:00
Mark Banner
5fd0dc220f Disable TestStaticAtoms which is only run in non-libxul builds and is permantely failing there. Bug 577500 will investigate getting this re-enabled. 2010-07-16 07:39:54 +01:00
Josh Aas
928cbd75f7 Provide API in xpcom macutils for determining universal binary type. b=572125 r=benwa 2010-07-15 22:32:00 -04:00
Robert O'Callahan
06e139fe2b Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats 2010-07-16 09:08:05 +12:00
Benjamin Stover
ba2bd99025 Bug 556400 - Add visits Asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:33 -07:00
Chris Jones
b46adb74f9 Bug 576467: Check the return value of clock_getres(). r=roc 2010-07-15 14:27:43 -05:00
Boris Zbarsky
6a042ef8f4 Backing out rev b567a93a5086 (bug 558306) to fix test orange 2010-07-15 13:49:28 -04:00
timeless@mozdev.org
67e8d848e2 Bug 578219 Crash in [@ nsNativeModuleLoader::LoadModule ] when installing LastPass Password Manager addon
r=bsmedberg

--HG--
extra : rebase_source : fb97bc29e6a1e4b0abc1108555947edb4e1000a5
2010-07-15 15:55:05 +03:00
Boris Zbarsky
25be38b901 Bug 558306 part 2. Switch XPCOM timers to TimeDuration/TimeStamp. r=cjones, sr=brendan 2010-07-15 09:59:24 -04:00
Boris Zbarsky
9eb0315c7c Bug 558306 part 1. Add a TimeDuration::ToMilliseconds. r=cjones 2010-07-15 09:59:23 -04:00
Benjamin Smedberg
013eba5ec7 Bug 573268 - The XPTI rewrite caused an (intentional) leak at shutdown; free this data only in trace-malloc builds so that leakstats are still useful. r=dbaron 2010-07-14 13:09:42 -04:00
Philipp Wagner
716f62fd7c Bug 578237: Fix error message in nsComponentManagerImpl::RegisterCIDEntry. r=bsmedberg 2010-07-13 10:02:22 -07:00
Neil Rashbrook
6e3edb0968 Bug 568691 Further followup to actually register static components r=bsmedberg 2010-07-13 15:24:58 +01:00
Wesley Johnston
99d7ddf1d2 Bug 537180 - Fennec uses old blocklisting URL [r=dtownsend a=blocking-fennec] 2010-09-01 21:35:06 -04:00
Justin Lebar
92b6751bd9 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
Dan Witte
6aec1f053e Merge m-c -> e10s. 2010-08-28 13:39:42 -07:00
Boris Zbarsky
14a38ac417 Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted, a=beltzner 2010-08-27 14:19:45 -07:00
Shawn Wilsher
f7e6769fdc Bug 590654 - Let JavaScript read embedded nulls from input streams
Adds a new method to NetUtil (readInputStreamToString) that will read a string
with or without embedded NULLs from an input stream.  Also adds the needed API
on nsIScriptableInputStream to make this happen.
r=bz
sr=biesi
a=blocking2.0
2010-08-27 12:42:51 -07:00
Boris Zbarsky
e77b2ab080 Backed out changeset d578993db396 (bug 590422) due to possible performance regressions (especially WinXP Tscroll).
--HG--
extra : rebase_source : e6ee7060691de0b87faefcdd3f4524cf01e1c0b4
2010-08-27 14:00:41 -04:00
Bobby Holley
cfb41b674f Backed out changeset a6c18a123fbb due to everything-on-mac-bustage. a=backout 2010-08-27 09:00:54 -07:00
Boris Zbarsky
af5f673262 Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted a=beltzner 2010-08-26 21:33:00 -04:00
Boris Zbarsky
8e9ff6959b Bug 590422. Stop futzing with our timer scheduling and just schedule them. r=brendan 2010-08-27 00:25:44 -04:00
Joel Maher
adaba45072 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
bhsieh@mozilla.com
df2049724f bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00
Clint Talbert
4fa6358e1b Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
fecae963b6 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
David Humphrey
7d9c209973 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Andrew Zitnay
87fcc4cf0e Bug 586523 - Provide a version of xpcomglue_s compiled with -DMOZ_NO_MOZALLOC, r=bsmedberg
--HG--
extra : rebase_source : bd6f919688fb0dd3193c38c443a73e5a70135198
2010-08-25 10:21:08 -04:00
Dan Witte
27ff77fa19 Back out bug 520309 part 1. a=#developers for checkin on CLOSED TREE. 2010-08-24 07:59:57 -07:00
bhsieh@mozilla.com
ee7804329f bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00
Justin Lebar
12fbf7e03e Bug 577950 - Use a hashtable to speed up nsPrefBranch::RemoveObserver. r=bzbarsky, a2.0=jst
--HG--
extra : rebase_source : 217d161649839c809a5e88444b882b056632a38f
2010-07-16 14:10:01 -07:00
Jonas Sicking
32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
a6d440687b Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Justin Wood (:Callek)
44bb0d7533 Bug 573382 - No chrome package registered for chrome://inspector/content/tasksOverlay.xul
r=dtownsend
2010-07-04 21:54:35 -04:00
Saint Wesonga
4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benoit Jacob
c84a062c1e b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir 2010-07-03 18:33:05 -04:00
Benoit Jacob
e6358a2cb1 b=576067; Let WebGL use CheckedInt; r=vladimir 2010-07-03 18:32:19 -04:00
Jacek Caban
d6c13ab1b5 Bug 581036 - nsTimerImpl.cpp compilation fails on mingw.; r=bzbarsky approval2.0=benjamin 2010-07-22 12:00:26 -04:00
Mounir Lamouri
d55a633ca1 Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Josh Aas
45cb20c144 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg 2010-07-21 23:25:24 -04:00
Boris Zbarsky
76b9b28798 Bug 558306 part 2. Switch XPCOM timers to TimeDuration/TimeStamp. r=cjones, sr=brendan 2010-07-15 09:59:24 -04:00
Boris Zbarsky
69a743e18b Bug 558306 part 1.5. Make TimeDuration::FromMilliseconds take a double. r=cjones, sr=roc 2010-07-21 15:57:33 -04:00
Mounir Lamouri
64eb241071 Bug 555559: Make nsCharSeparatedTokenizer a template that can accept varying definitions of whitespace. r=smaug,sicking sr=jst 2010-07-21 09:07:10 -07:00
Boris Zbarsky
556c357557 Bug 578696 part 1. Create new macros to notify nsTObserverArray observers without holding strong refs. No behavior changes yet. r=sicking 2010-07-21 11:33:31 -04:00
Dave Townsend
5fa6e913b5 Backed out changeset f9a700607b86 from bug556400 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %AC%2C%060%A3Shzk%F0%19i%87%AB%D8%87%B8%5E%80%A6
2010-07-02 20:01:44 -07:00
Mitchell Field
d0f35f6883 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
3e909b0671 Fix --disable-libxul from bug 568691. r=Mossop 2010-07-02 14:23:41 -04:00
Benjamin Smedberg
a18bc5814e 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 Stover
88b2a95f3e Bug 556400 - Make adding visits asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:08:28 -07:00
Benjamin Smedberg
9155836705 Fix generic classinfo objects so that they are allocated statically, to avoid leak-detector annoyances, but not initialized statically, because compilers are stupid and won't const-data-initialize an object with a vtable, even if they could. 2010-07-01 12:11:42 -04:00
Benjamin Smedberg
a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
e17740e1ab Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benoit Jacob
8f98b1fc9c b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir 2010-06-30 11:53:41 -04:00
Benjamin Smedberg
a2161fd0a8 Disable the xpt-in-JAR test because that code is changing and running the test with a .manifest isn't worth it. 2010-06-30 09:50:04 -04:00
Benjamin Smedberg
e2c331db23 Require XPT files to be loaded explicitly: they are never auto-registered when found in a components/ directory. 2010-06-29 18:16:48 -04:00
Benjamin Smedberg
31d43bc591 Support Windows line endings in manifest files again (regression introduced in revision 5229353383b0). With test! 2010-06-29 13:16:43 -04:00
Ted Mielczarek
1606d99ee1 fix minor type name output in xpt_dump. r=timeless (no bug) 2010-06-29 10:03:47 -04:00
Benjamin Stover
9eedd2f065 Backout of bugs 575908, 566738, and 556400 2010-06-29 17:34:52 -07:00
Benjamin Stover
f0627a524c Bug 556400 - Implement asyncable VisitURI. r=sdwilsh, sr=bz 2010-06-29 13:58:36 -07:00
Benjamin Smedberg
47235edc30 Fix and test logging of manifest parsing and registration. I discovered that the outer loop doesn't track line numbers correctly when there are multiple newlines in a row, which requires manual looping instead of using nsCRT::strtok. 2010-06-28 13:55:57 -04:00
Benjamin Smedberg
a27563c8b7 Rename the "xpt" manifest directive to "interfaces", per bug 568691 comment 66. 2010-06-27 21:50:51 -04:00
Benjamin Smedberg
67fa2b02d6 Rename XRE_AddComponentLocation to XRE_AddManifestLocation to better-convey what it actually does now (it still auto-registers XPT files when passed a directory, but we may get rid of that as well and just fold those into components.manifest), as noted in bug 568691 comment 58. 2010-06-27 21:26:38 -04:00
Benjamin Smedberg
46f7c9621c Implement the aReplace parameter to nsICategoryManager.addCategoryEntry which I inadvertently dropped, from bug 568691 comment 63. 2010-06-27 21:14:54 -04:00
Benjamin Smedberg
c4d4769b01 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
bbefdf1c37 Fix contracts which were not registered correctly: nsPlacesAutoComplete.js was completely missing, and the nsINIParserFactory contract was missing. Fixes test_pref_interval.js to register/unregister its mock objects correctly. 2010-06-25 22:17:31 -04:00
Benjamin Smedberg
78a9ee8d61 Revert accidental change introduced in revision c66d8c0db184. 2010-06-25 22:16:15 -04:00
Benjamin Smedberg
be066df421 Fix chrome registry test setup. 2010-06-25 20:53:20 -04:00
Benjamin Smedberg
29e089defb 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
feb8ea92f6 Free the component-location arrays at shutdown. 2010-06-25 17:27:10 -04:00
Benjamin Smedberg
3fb6224e19 Bug 568691 - Normalize relative paths on Windows to use back slashes, and add a manifest processing directive for XPT files so that extension chrome.manifest can point to them and we don't have to troll around in extension components/ directories. 2010-06-25 13:55:46 -04:00
Benjamin Smedberg
bec3edbfca Bug 568691 followup - Clear the static module table at shutdown to fix leaks.
--HG--
extra : rebase_source : cc01ea1ae837f5b917d44006dde72484f3ffd104
2010-06-25 10:02:17 -04:00
Benjamin Smedberg
ddbba9f3f0 Bug 568691, followup to RegisterFactory implementation: make the nsFactoryEntry hold a CIDEntry with the proper CID, because code elsewhere expects that to be present (ContractIDToCID and the pending-CID checks). 2010-06-25 10:44:35 -04:00
Benjamin Smedberg
6a6ee9e7df Allow a manifest to register contracts and cids in any order, by deferring processing of contracts until the manifest is completely parsed. This is needed for extension author sanity, and also because jar.mn packaging doesn't place registration lines in order by default. 2010-06-25 08:19:48 -04:00
Benjamin Smedberg
8146fde6ce Don't check the persist value for DeleteCategoryEntry, because the original behavior didn't work right anyway, so everybody passes "true". 2010-06-24 22:05:20 -04:00
Benjamin Smedberg
1feb3e5e7d Implement compatibility wrapper so that binary components can be compatible with both Firefox 3.6 and Firefox 4, as a result of registration changes from bug 568691.
--HG--
rename : xpcom/components/GenericFactory.cpp => xpcom/glue/GenericFactory.cpp
rename : xpcom/components/GenericFactory.h => xpcom/glue/GenericFactory.h
2010-06-24 16:36:27 -04:00
Benjamin Smedberg
e9d5a3c6b8 Revert many of the interface changes from bug 568691, so that binaries can be made which are compatible with Firefox 3.6 and Firefox 4. Note that this is not an ongoing process: it will not be possible to make single binary components which are compatible with both Firefox 4 and Firefox 4.1, but you will be able to ship two components and select one based on the platform version. 2010-06-24 14:31:18 -04:00
Benjamin Smedberg
4f8e7bcf17 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
822ccb0789 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg
a8c1b00a82 Fix factory registration in test_unsafeBidiChars.xhtml to not override CIDs. 2010-06-23 16:18:08 -04:00
Benjamin Smedberg
2ea5d7e810 Bug 568691 fixups: alter mockObjects.js so that it registers its mock by contractID but doesn't replace the CID. Fix the generic classinfo not to assert when code asks for the class description (which is no longer implemented). 2010-06-23 15:18:13 -04:00
Benjamin Smedberg
0f844b3cb5 Address review from bug 568691 comments 31 and 34 2010-06-23 13:43:02 -04:00
Benjamin Smedberg
107141f8f0 Remove hard tabs which I accidentally introduced into nsComponentManager.{h,cpp}. 2010-06-23 13:36:53 -04:00
Ginn Chen
c988c4dd44 Bug 571210 Fix GetDiskSpaceAvailable for Solaris r=roc 2010-06-23 17:32:17 +08:00
Benjamin Smedberg
d251d0ff10 Implement RereadChromeManifests for bug 568691. 2010-06-22 16:24:01 -04:00
Benjamin Smedberg
796d831e9d Fix non-debug bustage in nsNativeComponentLoader, this variable should not be debug-only. 2010-06-22 16:22:17 -04:00
Benjamin Smedberg
f6058a77e6 Fix the TestRegistrationOrder test: we no longer support deferred registration. 2010-06-22 13:26:23 -04:00
Benjamin Smedberg
95c31020b0 Bug 568691 - Move cycle collection earlier: XPConnect is initialized during component manager initialization and tries to register a CC language helper. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
a73308ef4b Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
31432df1fb Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
5d8c2e8024 Bug 568691 - Fix XPCOMUtils.jsm to generate NSGetFactory, and fix nsSample.js to use XPCOMUtils 2010-06-21 14:29:32 -04:00
Benjamin Smedberg
233311ac72 Bug 568691 - build components.manifest instead of components.list, and switch the sample JS component to use standard EXTRA_COMPONENTS machinery. 2010-06-21 13:59:58 -04:00
Benjamin Smedberg
db9b653c42 Bug 568691 - register chrome/*.manifest in addition to components/*.manifest files, chrome appears to work in xpcshell again. 2010-06-21 13:49:38 -04:00
Benjamin Smedberg
18fcb3c625 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
0df0345c66 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
8af9251fe4 Merge platform-specific branches of bug 568691. 2010-06-21 08:57:50 -04:00
Benjamin Smedberg
edbd474f05 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
cb0d5b8170 Fix review comments from Mossop, bug 570488 comment 5. 2010-06-11 13:35:25 -04:00
Benjamin Smedberg
703663d5db Fix Linux-specific issues with static xpcom registration, bug 568691. 2010-06-11 12:47:31 -04:00
Benjamin Smedberg
dfd21e98ac Fix Linux compile errors/warnings in xpcom/components 2010-06-11 12:03:06 -04:00
Chris Jones
87d0ed7e60 Bug 570912: Allow already_AddRefed<T> to be coerced to already_AddRefed<U> when T can be coerced to U. r=dbaron 2010-06-21 15:35:49 -05:00
Benjamin Smedberg
c611ebcd81 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Benjamin Smedberg
8ce4ecd19a Bug 570488 part B - fix and test loading XPT files from JARs, needed for omnijar, r=mwu 2010-06-10 12:51:43 -04:00
Benjamin Smedberg
671fee6656 Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity 2010-06-10 12:51:29 -04:00
Dão Gottwald
0978149cf3 Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c81affe35c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Ben Turner
24407948af Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00