Commit Graph

9487 Commits

Author SHA1 Message Date
Ehsan Akhgari
cb6a971f1a Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Mounir Lamouri
6e945be67b Bug 636750 (1/4) - Add ToDouble to nsTString. r=bsmedberg 2011-03-25 12:13:59 +01:00
Neil Rashbrook
f0721f4c06 Bug 540322 Add some missing methods to the external string API r=bsmedberg 2011-03-25 11:39:38 +00:00
Rafael Ávila de Espíndola
1ad7ee1a76 Bug 623132 - Add constructor for nsCaseInsensitiveCStringComparator (which inherits from nsCStringComparator) to placate CLang; r=bsmedberg 2011-03-24 19:28:57 -04:00
Rafael Ávila de Espíndola
0bd9cb7b3e Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg 2011-03-24 19:26:55 -04:00
L. David Baron
7c0acef8c1 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
Mike Hommey
0cfcd44b08 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Olli Pettay
68eba45f45 Bug 641477 - Throw UNSPECIFIED_EVENT_TYPE_ERR if event isn't initialized before dispatching, r=sicking 2011-03-24 13:34:03 +02:00
Mark Banner
ae5b4dccf8 Bug 642408 - Drop nsStringArray now that it is no longer used, r=bsmedberg 2011-03-23 15:13:41 -04:00
Josh Aas
a562088481 Bug 641927: Fix a large number of compiler warnings in Mac OS X code. r=benwa,bsmedberg 2011-03-23 11:46:57 -07:00
Benjamin Smedberg
68f964b8bb Bump the binary compatibility version post-branch. 2011-03-23 10:28:41 -04:00
Kyle Huey
a4544fbedb Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Mounir Lamouri
3dc7fe104c Bug 637325 - Fix a typo in xpcom/tests/TestStrings.cpp:test_strip_chars. r=bsmedberg a=tests 2011-03-18 15:13:40 +01:00
Makoto Kato
3044331f35 Bug 521405 - Remove alpha and mips Windows NT code from mozilla-central. r=ted 2011-03-07 15:54:21 +09:00
Kyle Huey
8b2b2d95a7 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Brad Lassey
81cc8b631f bug 637487 - Unable to install extensions when Fennec moved to SD Card r=dougt a=blocking-fennec 2011-03-04 17:57:25 -05:00
Brad Lassey
4b4150a43d bug 635814 - add shellName and shellVersion to nsSystemInfo r=dougt a=2.0+ 2011-03-01 19:32:32 -05:00
Jonas Sicking
187d172f47 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Doug Turner
087439bb24 Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec 2011-02-16 10:43:23 -08:00
Brad Lassey
2ff0d3238a bug 635814 - add shellName and shellVersion to nsSystemInfo r=dougt a=2.0+ 2011-02-28 11:32:05 -05:00
bent.mozilla@gmail.com
dad733aba0 Only run CC after the GC has run at least once (bug 626768, r=gal). a=blocker 2011-02-23 00:08:36 -08:00
Doug Turner
72e34e0acb backout of 74a64df4f758 a=build-bustage 2011-02-24 11:21:17 -08:00
Doug Turner
56bc86a196 Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec
--HG--
extra : rebase_source : adf4e4f912ac6cab8c48b91da35e22a2b3ba0916
2011-02-16 10:43:23 -08:00
Ehsan Akhgari
d9b3b4ace6 Bug 635546 - Calculate the string length correctly for REG_EXPAND_SZ values expanded through nsWindowsRegKey::ReadStringValue; r=bsmedberg,jimm a=blocking-betaN+
The buffer length returned from ExpandEnvironmentStringsW includes the terminatng
null character, so we need to decrement it before setting the string length, as
XPCOM strings need to be stored with correct length information.
2011-02-22 11:05:26 -05:00
Ginn Chen
b8af053c68 Bug 633457 - "Firefox hangs at startup" (r=bent, a=hardblocker) 2011-02-11 20:49:00 -08:00
Ehsan Akhgari
b6e363a27f Bug 634819 - Use the nsIWindowsRegKey APIs instead of direct Win32 API calls; r=josh,jimm a=shaver 2011-02-17 16:18:53 -05:00
Olli Pettay
1fc964bf8b Bug 634916 - Crash on shutdown [@ nsCycleCollector_collect] in DEBUG_CC code, r=peterv, a=NPOTB 2011-02-17 19:50:53 +02:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
94f6d9d6bd Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Jacek Caban
e1f843a9e4 Bug 633820 - nsCrashOnException.cpp compilation fails to compile on mingw r=ehsan a=benjamin 2011-02-15 12:30:58 +00:00
Ehsan Akhgari
60cad0defb Bug 633383 - Only walk the stack when aborting in debug builds; r=dbaron a=blocking-betaN
Please note that this patch only fixes possible bogus crashes in
NS_StackWalk which prevent us from getting useful abort reports.
2011-02-14 13:41:34 -05:00
Ehsan Akhgari
d63e354136 Bug 589495 - Win32 native exceptions (which could be crashes) on WoW64 are not fatal; r=bsmedberg a=blocking-betaN 2011-02-11 20:56:11 -05:00
Sean Dunn
be2fa27065 Bug 632280 - Remove NS_NOTREACHED occurrences near nsCacheEntryDescriptor.cpp:686; r=bzbarsky,khuey a=bsmedberg 2011-02-11 16:49:07 -05:00
Chris Leary
e72266dafd Merge tracemonkey and mozilla-central. (a=blockers) 2011-02-11 09:56:19 -08:00
bent.mozilla@gmail.com
6377c3205b Fix DEBUG_CC (bug 615058, r=gal, a=NPOTB). 2011-02-09 17:34:22 -08:00
Rafael Ávila de Espíndola
eebbe0bbd2 Bug 623129 - x86_64 NS_InvokeByIndex_P asm decl to reserve registers is not guaranteed to work as advertised; r=glandium a=shaver 2011-01-26 15:27:34 -05:00
Makoto Kato
111d919f30 Bug 627606 - Remove PGO hack on Win64. r=ted a=bsmedberg 2011-02-09 15:51:25 +09:00
Mitchell Field
6faf9acaef Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Kyle Huey
225c13b333 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey
e0ba81d2eb Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Mike Hommey
3793a2ebcd Bug 584474 part 1 - Use a special value of EXPORT_LIBRARY to copy libraries in other directories. r=khuey 2011-02-25 15:02:04 +01:00
Mitchell Field
646d79f2db Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field
a6788f0842 Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
L. David Baron
50a2dfd27d Fix bustage from bug 594666. 2011-03-29 09:48:04 -07:00
Daniel Holbert
02e60c843c Bug 624410: Add gcc-suggested parentheses in nsReadableUtils.cpp to silence build warning. r=dwitte 2011-03-29 08:47:53 -07:00
L. David Baron
f58a88128b Add assertions that fire when callers using nsAutoLock or nsAutoMonitor use PR_NewLock or PR_NewMonitor directly. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
L. David Baron
db6289bc0a Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
L. David Baron
824bb18705 Initialize statics in OnSemaphoreCreated so that we get data about locks created before any locks are locked. (Bug 594666) r=cjones 2011-03-29 08:43:23 -07:00
L. David Baron
6cab898bcf Make nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor inline so that they have no overhead in non-DEBUG. (Bug 594666) r=cjones 2011-03-29 08:43:22 -07:00
Makoto Kato
7083426bed Bug 617267 - xpcom/io/nsWildCard.cpp(212) : warning C4244: '=' : conversion from 'const PRUnichar' to 'char', possible loss of data 2011-03-28 17:26:31 -04:00
Justin Lebar
d5dcbf68a6 Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
06e5967d3d Bug 629697 - Cache the XPConnect services for accesses from Places; r=bsmedberg a=sdwilsh 2011-01-28 12:15:37 -05:00
Serge Gautherie
5fe584f0a6 Bug 619350 - Better identify the 2 'Deadlock detector correctness' tests; (Av1) Remove unwanted ";" at end of macros, Make test names and (failed) result logs more explicit, Add a log when skipping TestDeadlockDetectorScalability tests.
r=jones.chris.g a=(test only).
2011-02-03 10:57:00 +01:00
Ehsan Akhgari
b5adf14dec Bug 631156 - Bug 628885 breaks non-libxul builds with an undefined reference error for CrashReporter::AppendAppNotesToCrashReport(nsACString_internal const&), r=cjones,a=roc 2011-02-03 21:43:29 +13:00
Jeremias Bosch
c9e3ddc9f1 Bug 626595 - Make it possible to build maemo 6 platform version without meegotouch r=romaxa,ted.mielczarek a=approval2.0
--HG--
extra : rebase_source : 435438ae2c39833353a958ba2770f0e44439d7bc
2011-02-03 08:31:36 +02:00
Rich Walsh
d36d0f9a5e Bug 611934 - OS/2 - implement fallocate() and fix build break; r=taras a=bsmedberg
--HG--
extra : rebase_source : fa550cc278888ae6b6cb0a36875b1287ebdd6bc3
2011-02-02 13:51:22 -05:00
Doug Turner
dadda286c4 Bug 630595 - Followup. Do not need a dash before the option. Removing unused memory watcher. r=blassey, a=blocking-fennec 2011-02-02 01:00:34 -08:00
Chris Jones
3d0c14c74f Bug 628885: Note in minidumps when we generate them by RUNTIMEABORT()ing. r=ted a=a
--HG--
extra : rebase_source : f5f0783b0bbf594cb7fd3a761bb3354b6859ecdd
2011-02-01 13:53:53 -06:00
Jacek Caban
226dc8b1f5 Bug 627335 - Port patch from bug 567707 to GCC assembly r=timeless a=NPOTB 2011-01-30 21:20:23 +00:00
Doug Turner
2ed6ba5845 Bug 624652 - Add memory watcher to reduce the chance of ooming on the Nexus S. r=mwu/cjones. a=blocking-fennec
--HG--
extra : rebase_source : faf23b65fe8b5c64080c1ee3f6d4794e8837097d
2011-01-19 22:14:12 -08:00
Siarhei Siamashka
ddab052663 Bug 619481 - after binutils upgrade, 'xptcinvoke_arm.cpp' fails to compile for ARM thumb2 with hardfp ABI r=Jacob.Bramley a=approval2.0 2011-01-20 08:27:51 +02:00
Dave Townsend
47601232c0 Bug 474289: Automatically install add-ons distributed with the application into the user's profile. r=bsmedberg, r=robstrong, a=beltner 2011-01-19 14:37:24 -08:00
Mounir Lamouri
217cc05846 Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst 2011-01-19 12:13:54 +01:00
Boris Zbarsky
35d48181bb Bug 626259. Use the right statvfs fields for determining disk size. r=josh, a=blocker 2011-01-18 21:20:35 -05:00
Chris Leary
04ffe6d2a0 Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Makoto Kato
f2cc5a0073 Bug 625629 - Don't define MMX in SSE.h since Microsoft compiler for x64 doesn't support MMX. r=jlebar a=bustage-fix 2011-01-18 14:08:47 +09:00
Andreas Gal
f5c9522e86 Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer). 2011-01-14 17:58:40 -08:00
Jonathan Protzenko
b5c31dda8a Move comment for nsTObserverArray near the start of the file, r=bz a=bz over IRC. DONTBUILD 2011-01-14 18:15:27 +01:00
Masatoshi Kimura
ca09a83e1c Bug 377307 - nsILocalFile shows the wrong lastModifiedTime; r=jmathies a=bsmedberg 2011-01-17 12:33:34 -05:00
Peter Van der Beken
5da3cd5e7d Fix DEBUG_CC build bustage. a=build bustage.
--HG--
extra : rebase_source : 5059f7704b2833c797aff4bb187402d9700c985b
2011-01-17 12:24:51 +01:00
Justin Lebar
b774f4accc Bug 586698 - Add SSE versions of LossyConvertEncoding; r=tterribe,jst 2010-08-13 09:15:44 -07:00
Josh Matthews
53fc488750 Bug 606592 - Make nsExceptionService practice threadsafe refcounting. r=jst 2010-10-22 17:50:28 -04:00
Mark Banner
efbea798e6 Follow up to bug 620101 put the consume pending events functionality inside the for loop where it was originally intended to be. a=test-only fix. 2011-01-14 15:09:34 +00:00
Peter Van der Beken
19889ce636 Fix orange from 77979cd6890d. a=bustage fix. 2011-01-14 15:51:43 +01:00
Peter Van der Beken
f53484fb2d Fix for bug 621258 (Don't refcount CC listeners on the CC thread). r=bent, a=jst.
--HG--
extra : rebase_source : fa0c79fb25b9120ffe25da60249c8d07aaa0228f
2011-01-14 11:06:09 +01:00
Mats Palmgren
d8e85c2924 Bug 615147. r=dbaron a=blocking2.0:final 2011-01-14 01:22:26 +01:00
Chris Jones
227698aa53 Bug 594263: Bump up timeout to try to make orange go away. r=sdwilsh a=t 2011-01-13 18:07:43 -06:00
Mark Banner
93e1b98628 Bug 620101 - Intermittent failing in test_nsIProcess.js | TEST-UNEXPECTED-FAIL | Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProcess.run]; r=glandium,a=test-only fix 2011-01-13 17:51:40 +00:00
Justin Lebar
34c407b464 Bug 585708 - Part 2: Move CPUID code out of SSE.h and into SSE.cpp. r,a2.0=dbaron
--HG--
extra : rebase_source : 70d336e2e0f4df5d807bc520c44740e17d69eb40
2010-12-16 10:42:52 -08:00
Justin Lebar
32d92cb466 Bug 585708 - Part 1: Rework SSE.h so that it supports and encourages putting intrinsics in a file separate from the main code. r,a2.0=dbaron
--HG--
extra : rebase_source : 6bc2169ba4e451e1d8a36540614024fe40902e62
2010-08-11 16:49:42 -07:00
Rafael Ávila de Espíndola
001819c005 Bug 622142 - nsTArray class depends on invalid unqualified lookup into dependent bases of class templates; r,a=bsmedberg 2011-01-12 16:37:20 -05:00
Jacek Caban
5eafd1843f Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin 2011-01-11 10:16:59 +00:00
Taras Glek
100a2c8682 Backed out changeset 30e1cfee3545 2011-01-07 12:01:48 -08:00
Taras Glek
a603e5efc3 bug 588873: Catch EXCEPTION_IN_PAGE_ERROR r=ben.hsieh a=approval-2.0 2011-01-07 10:56:21 -08:00
Chris Jones
2ecb79a6ed Bug 610823: Make nsTArray infallible by default. r=sicking a=blocker 2011-01-06 20:49:35 -08:00
timeless@mozdev.org
3dd4fa3b0e Bug 620968 GetUnixXDGUserDirectory can leave rv uninitialized ifdef MOZ_PLATFORM_MAEMO
r=dougt a=dougt
2011-01-05 14:17:10 -08:00
timeless@mozdev.org
077eb0bfb4 Bug 607944 Canary fails to build with --disable-libxul (missing symbol XRE_GetProcessType)
r=cjones a=bsmedberg
2011-01-05 14:11:56 -08:00
Oleg Romashin
d31038374c Bug 621232 - reference to deprecated /proc/component_version r=dougt a=approval2.0 2011-01-05 15:48:19 +02:00
timeless@mozdev.org
ef46bfc213 Bug 569454 bad ownership model for allProperties in GRE_GetGREPathWithProperties, r+a=bsmedberg 2010-12-09 01:22:00 -08:00
Jacek Caban
09f98c2c94 Bug 615212 - GCC's win64 ABI change broke compilation on mingw-w64 (xptcall part) r=timeless a=NPOTB 2010-12-20 15:31:14 +00:00
Shawn Wilsher
f14c3b0dcc Merge Places and mozilla-central
a=bsmedberg
2010-12-15 19:24:51 -08:00
Shawn Wilsher
7cd8f091ad Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
4d4634434f Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
Taras Glek
f18477692a Bug 616256 - Don't stat files on directory enumeration on windows r=bsmedberg+dougt a=2.0 2010-12-07 11:47:24 -08:00
Shawn Wilsher
aeffa1f8c7 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
7a35d860e3 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Doug Turner
e0a1defeb1 Bug 619096 - nsMemoryReporterManager should be threadsafe. r=vlad a=mfinkle 2010-12-15 09:47:16 -08:00
Shawn Wilsher
f1db0ae444 Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Mike Hommey
d3307aaf7e Bug 611405 part 2 - Avoid crash in nsMemoryReporterManager when jemalloc_stats is not available at runtime. r=bsmedberg,a=clegnitto 2010-11-17 09:56:19 +01:00
Makoto Kato
d46d58af0a Bug 592551 - dist\include\nsTArray.h(416) : warning C4244: 'return' : conversion from '__int64' to 'nsTArray_base::index_type', possible loss of data. r=bsmedberg a=bsmedberg 2010-11-17 14:51:05 +09:00
Marco Bonardo
515f35e3ff Bug 611639 - NS_ProxyRelease does not work for RefPtrs.
r=shaver a=blocking
2010-11-16 01:08:57 +01:00