Ehsan Akhgari
801e154584
Bug 710473 - Backout the nsDerivedSafe part from bug 666414 to make PGO builds on Windows work again; r=roc (cause he volunteered) a=xul-diet
2011-12-13 20:03:24 -05:00
Kyle Huey
aac6779e29
Bug 709657: Split uconv out of libxul. r=me a=me CLOSED TREE
...
--HG--
rename : intl/uconv/src/Makefile.in => intl/uconv/datamodule/Makefile.in
rename : intl/uconv/src/nsUConvModule.cpp => intl/uconv/datamodule/nsUConvDataModule.cpp
2011-12-13 10:48:16 -05:00
Andrew Quartey
e51c16190c
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Javi Rueda
e54fc42266
Bug 379342 - Remove Win95/Win98 support code in XPCom; r=bsmedberg a=removal
2011-12-13 14:17:58 +00:00
Ed Morley
bbcb104c53
Merge mozilla-central to mozilla-inbound
2011-12-09 11:36:04 +00:00
Ed Morley
a5f3676554
Merge last green changeset of mozilla-inbound to mozilla-central
2011-12-09 11:12:51 +00:00
Jacek Caban
d3ac34e21b
Backout changeset e76f06f7e08d
2011-12-09 11:54:32 +01:00
Neil Rashbrook
d11585e633
Bug 698256 Add and use Substring(data, length) convenience method r=dbaron
2011-12-09 08:35:41 +00:00
Nicholas Nethercote
2a7afd1ec3
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Jacek Caban
bddfb58022
Bug 707469 - Don't use UNIX variant xptcinvoke implementation on mingw r=benjamin
2011-12-09 11:27:12 +01:00
Honza Bambas
103f3eb202
Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold
2011-12-09 00:14:42 +01:00
Mike Hommey
ce0123f5fb
Bug 695843 part 10 - Allow nested omni.jar and build one for Android. r=bsmedberg
2011-12-08 11:03:36 +01:00
Nicholas Nethercote
dffcf4709b
Bug 703143 - backout 61d41436beb3 so that bug 700508 can be backed out. r=crashes.
2011-12-08 11:34:18 -08:00
Jeff Muizelaar
d812d1d6ce
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Nicholas Nethercote
5ec7ee41ae
Bug 704400 - Implement --enable-dmd. r=khuey.
2011-12-08 19:09:36 -08:00
Mike Hommey
9b0673934e
Bug 695843 part 9 - Use FileLocations in the component manager. r=bsmedberg
2011-11-08 18:10:51 +01:00
Mike Hommey
79cdb6016e
Bug 695843 part 6 - Don't separate file and JAR modules in component manager. r=bsmedberg
2011-11-08 18:18:12 +01:00
Mike Hommey
e4e153d92b
Bug 695843 part 5 - Add a FileLocation class to either store a pair (zip, path) or a file, and do some operations on these. r=bsmedberg,mwu
2011-12-08 11:03:36 +01:00
Mike Hommey
911ad54a40
Bug 695843 part 3 - Use mozilla::AutoFDClose instead of ad hoc AutoCloseFD classes. r=bsmedberg
2011-12-08 11:03:36 +01:00
Mike Hommey
a0666fb311
Bug 695843 part 2 - Avoid code duplication for components manifest registration. r=bsmedberg
2011-12-08 11:03:36 +01:00
Mike Hommey
49c918dccd
Bug 695843 part 1 - Add Refcounting on nsZipArchives. r=mwu
2011-12-08 11:03:36 +01:00
Jeff Walden
c1ec82addd
Bug 707352 - Remove NS_FINAL_CLASS completely. r=cjones
2011-12-05 17:10:05 -05:00
Atul Aggarwal
41033aa36f
Bug 603243 - Making nsTString_CharT(char_type c) constructor private to avoid accidental misusage.
2011-11-16 19:42:03 +05:30
Ed Morley
b1b5515356
Backout 9a59028a3510 (bug 676349) on suspicion of breaking Win PGO builds
2011-12-07 02:22:09 +00:00
Nicholas Nethercote
60eb349dd0
Bug 700508 - Disallow non-leaf memory reporters. r=jlebar.
2011-12-06 16:20:17 -08:00
Rafael Ávila de Espíndola
eaa3408362
Bug 707648 - Only try to init the critical range if we are able to walk the stack. r=ehsan.
2011-12-06 14:26:49 -05:00
Honza Bambas
15b4352a07
Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold
2011-12-06 12:16:16 +01:00
Nicholas Nethercote
0745fbcf8f
Bug 704723 - Add memory reporter for XPConnect. r=mrbkap.
2011-12-05 14:24:28 -08:00
Steve Workman
3c3d8d69b7
Bug 694325: Add files for DNS Multithreading on Android; avoid undefined, unexposed libc symbols r=mwu
2011-12-05 10:41:11 -08:00
Rafael Ávila de Espíndola
1b227500a2
Backed out changeset c7bba86f5e02
...
It was failling with
../../../../../../../xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp:66:1: error: expected initializer before 'PrepareAndDispatch'
make[10]: *** [xptcstubs_x86_64_linux.o] Error 1
2011-12-05 10:39:20 -05:00
Jan Hubicka
19b62f9ccc
Bug 577813 - Missing __attribute__ ((used)) on PrepareAndDispatch functions. r=benjamin.
2011-12-05 10:20:32 -05:00
jhorak@redhat.com
786f158c3b
Bug 682832 - Don't ignore Gnome 3 proxy settings. r=karlt
2011-12-05 15:45:54 +01:00
Martin Stransky
5e2c6292f0
Bug 706787 - Crash on s390x (nsXPCComponents::AttachNewComponentsObject() fails). r=glandium
2011-12-05 10:49:56 +01:00
Rafael Ávila de Espíndola
c171f20afb
Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
...
Currently we use dlsym on pthread_cond_wait$UNIX2003 to find a
function that indicates that new_sem_from_pool is on the stack. This
works on 10.5, but on 10.6 I could not find a single reliable
indicator that would work with dlsym.
The good news is that dladdr works with any symbol, not just exported
ones. To find the address of new_sem_from_pool, we set up a malloc logger
and force a call to new_sem_from_pool. From the logger callback we walk
the stack trying dladdr on every address.
To force a call to new_sem_from_pool, the initialization code has to be the
first to use semaphores, so it is now run from NS_LogInit.
This works on 10.6 and 10.5 (but we have to look for
"pthread_cond_wait$UNIX2003"). In 10.7 the call to malloc is gone, so we don't
have to worry about critical addresses on it anymore.
--HG--
extra : rebase_source : bba4ac9e3378c88f7037aa884511e473a57121f6
2011-12-02 19:26:04 -05:00
Chris Lord
3ae56ad4cd
Backout bug 696376
...
This broke building on android due to requiring a newer version of unwind.h.
2011-12-02 18:00:58 +00:00
Rafael Ávila de Espíndola
7a8af51b1f
Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
...
Currently we use dlsym on pthread_cond_wait$UNIX2003 to find a
function that indicates that new_sem_from_pool is on the stack. This
works on 10.5, but on 10.6 I could not find a single reliable
indicator that would work with dlsym.
The good news is that dladdr works with any symbol, not just exported
ones. To find the address of new_sem_from_pool, we set up a malloc logger
and force a call to new_sem_from_pool. From the logger callback we walk
the stack trying dladdr on every address.
To for a call to new_sem_from_pool, the initialization code has to be the
first to use semaphores, so it is now run from NS_LogInit.
This works on 10.6 and 10.5 (but we have to look for
"pthread_cond_wait$UNIX2003"). In 10.7 the call to malloc is gone, so we don't
have to worry about critical addresses on it anymore.
2011-12-01 18:22:00 -05:00
Brian R. Bondy
570decd123
Bug 688881 - Buffer overflow fix in nsDirectoryService::GetCurrentProcessDirectory. r=ehsan
2011-11-28 18:59:20 -05:00
Terrence Cole
fb465cb23d
Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
...
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC. This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.
--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Rafael Ávila de Espíndola
9799f824dd
Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
...
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Nicholas Nethercote
f1e77095c2
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Atul Aggarwal
b292e37874
Bug 686775 - Matching external API version of StripWhitespace with internal version by adding stripping of \b. r=bsmedberg
2011-11-06 20:22:02 +05:30
Bobby Holley
010b1cdd1f
Bug 692342 - Remove IsPointer() and IsReference() accessors and flag the bits as deprecated. r=mrbkap
2011-11-25 17:09:07 -08:00
Bobby Holley
ab29eff0be
Bug 692342 - Introduce deprecated_IsPointer() to handle the cases that are too mucky to figure out right now. r=mrbkap
2011-11-25 17:09:06 -08:00
Andrew McCreight
c6c27e37e2
Bug 668855, part 5: scan weak maps. r=gal
2011-11-24 07:35:57 -05:00
Andrew McCreight
5867337fb1
Bug 668855, part 4: store weak map info in CC data structure. r=gal
2011-11-24 07:35:56 -05:00
Andrew McCreight
250806422b
Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv
2011-11-24 07:35:56 -05:00
Ed Morley
706170521c
Merge mozilla-central and mozilla-inbound
2011-11-23 12:12:23 +00:00
Doug Turner
2277a616c3
Bug 694325 - Backout of bfb56029f4bd due to crashes on android tablets. r=sworkman
2011-11-22 14:58:25 -08:00
Mike Hommey
24650c0957
Bug 686466 part 3 - Use a pre-generated nsXREAppData struct instead of application.ini. r=ted,bsmedberg
...
--HG--
rename : build/application.ini => build/application.ini.in
2011-11-22 08:05:59 +01:00
Steve Workman
714af1c1e6
Bug 694325: Add threadsafe getaddrinfo to libmozutils; restore multi-threading to nsHostResolver for DNS requests. r=mwu
2011-11-21 18:21:21 -08:00
Jeff Walden
ae17ec2da9
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Benjamin Smedberg
d814d5293f
Add MOZ_CRASHREPORTER ifdefs to the patch for bug 429592. r=captain bustage
...
--HG--
extra : rebase_source : 52d8221942a9be96dc76a546fbfa4c573331c1bf
2011-11-04 15:13:58 -04:00
Benjamin Smedberg
33df32463a
Bug 429592 - Add a monitor thread for process hangs and crash by default if a chrome process doesn't end up back in the event loop for more than 30 seconds. By default this affects non-debug builds only. r=cjones/bent
...
--HG--
extra : rebase_source : 338bad7e999d5a3c928a7b24965461fc0ff06a19
2011-10-12 13:52:26 -04:00
Ginn Chen
9f9ec78222
Bug 702529 Add GetVsize and GetResident methods on Solaris r=khuey
2011-11-21 11:09:52 +08:00
Atul Aggarwal
4b02be516e
Bug 691113 - Improving error thrown when ; is missing from interface definition; r=khuey
2011-11-20 11:13:40 +00:00
Atul Aggarwal
3bab9ef17a
Bug 585099 - Emit adjacent consts in IDL files in the same enum in generated headers. r=ted
2011-11-16 18:13:32 +05:30
bjarne@runitsoft.com
c31ecf151e
Bug 528569 - Storage stream's output stream should report itself as blocking. r=biesi
2011-11-19 12:53:57 +01:00
Lucas Molas
fa1d633ccd
Bug 680556 - Make NS_(Re)Alloc infallible. r=bsmedberg
2011-11-09 11:42:00 -05:00
Ed Morley
1fb3b09d42
Merge mozilla-central and mozilla-inbound
2011-11-18 21:28:29 +00:00
Kyle Huey
12171860ba
Fix Bug 700512. r=sicking,bsmedberg
2011-11-18 10:19:44 -05:00
Ed Morley
aa5192da19
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Mark Finkle
09cf06ce4b
Bug 703370 - Cleanup the console service logcat tag (sync with birch) [r=dougt]
2011-11-17 23:07:06 -05:00
Ed Morley
0d4271ee17
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-16 11:02:43 +00:00
Ms2ger
6622e2e115
Bug 672796 - Move MOZILLA_GUARD_OBJECT_NOTIFIER_* out of AutoRestore.h; r=khuey
2011-11-16 08:50:19 +01:00
Doug Turner
daffb2c587
Bug 702029 - Push all console logging to androids adb logcat. r=blassey
2011-11-14 19:12:20 -08:00
Olli Pettay
588c360a28
Bug 702240 - [CC] Optimize sizeof nsPurpleBuffer::Block, r=mccr8
2011-11-14 18:10:06 +02:00
Michael Wu
f93dba09f1
Bug 701875 - Rename omni.jar to omni.ja, r=ted
2011-11-12 19:58:19 -08:00
Marco Bonardo
8c72c90eb0
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
Gregory Szorc
3c849fad59
Merge b-s to m-c
2011-11-10 15:15:29 -08:00
Justin Lebar
dab3ae5833
Bug 701210 - nsTArray::SizeOf() should use malloc_usable_size. r=roc
2011-11-09 20:40:09 -05:00
Ed Morley
fddedbce14
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Christian Legnitto
6473113ad0
Bug 700688, Version bump
2011-11-08 09:12:57 -08:00
Ed Morley
5196b8eed8
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-08 14:56:02 +00:00
Ed Morley
01f7bdf1f4
Backout 31d345404c98 (bug 671634) due to missing privacy review and necko peer review; a=dao
2011-11-08 10:43:36 +00:00
Octoploid
bc3133e081
Bug 698264 - build fails because of undefined C++11 user-defined literals r=benjamin
2011-11-08 10:33:56 +01:00
bjarne@runitsoft.com
0dd0bd6862
Bug 699780 - Redundant call to Seek() in nsStorageStream::GetOutputStream(); r=bsmedberg
2011-11-08 07:41:54 +00:00
Atul Aggarwal
3e5f4b4fab
Bug 630290 - Fixing compiler warnings. r=cjones
2011-11-06 21:15:44 +05:30
Geoff Lankow
b11172f955
Bug 691551 - Suppress warnings when a bootstrapped add-on has no chrome.manifest; r=dtownsend
2011-11-04 10:59:24 +13:00
Ed Morley
5abb71c4f8
Merge mozilla-central to mozilla-inbound
2011-11-15 19:19:24 +00:00
Hugh Nougher
9ea9be7a1c
Bug 702483 - Rename heap-committed-unallocated-fraction to heap-committed-fragmentation
2011-11-14 21:17:00 -05:00
Michael Wu
34d5f356e4
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Gregory Szorc
de5e3e4887
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Andrew McCreight
1cf9899558
Bug 694436 - begin CC listener before BeginCollection. r=bent
2011-10-13 17:37:18 -07:00
Wes Johnston
78c00de613
Bug 671634 - Update Fennec useragent to more closely match stock browser. r=dougt
2011-11-07 15:03:53 -08:00
Jonathan Watt
71a67640b1
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Boris Zbarsky
8c01a25338
Bug 697917. Avoid atomizing the token for nsDOMTokenList containment tests. r=smaug
2011-10-28 13:06:39 -04:00
Mark Banner
da396f0de1
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Justin Lebar
071827d613
Bug 164580 - Back out fix. It's not much (if at all) faster and may cause problems on some architectures. r=glandium
2011-10-16 15:28:36 -04:00
Mike Hommey
8d63047c0d
Bug 696393 - Reimplement NS_InvokeByIndex in C on S390 Linux. rs=bsmedberg
2011-10-27 15:15:57 +02:00
Jacek Caban
c50cbc6358
Bug 662358 - Implement mingw variant of nsXPTCStubBase::StubXX directly in assembly r=benjamin
2011-10-27 13:30:00 +02:00
Boris Zbarsky
d94a00ec77
Bug 696195. Add single-argument SafeElementAt specializations for nsTArrays of smart pointers. r=jlebar
2011-10-25 12:58:01 -04:00
Daniel Holbert
007a4a1750
Back out 564e841f1f57 (Bug 429592) for Linux64 opt orange
2011-10-24 11:24:29 -07:00
Justin Lebar
78e45869f0
Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey
2011-10-24 13:24:02 -04:00
Justin Lebar
849fa684fe
Back out bug 693404 (2f7668cd67bc, 3db099ca452a) due to red.
2011-10-24 14:02:16 -04:00
Justin Lebar
1850e75880
Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey
...
--HG--
extra : rebase_source : c0f1f82aba30d32166e17d7d4216017475c9c09a
2011-10-24 13:24:02 -04:00
Benjamin Smedberg
cc5dc93ae8
Bug 429592 - Add a monitor thread for process hangs and crash by default if a chrome process doesn't end up back in the event loop for more than 30 seconds. By default this affects non-debug builds only. r=cjones/bent
...
--HG--
extra : rebase_source : d75bbc917d9a07f2a5ec016d3c410ec4bcff67e9
2011-10-12 13:52:26 -04:00
Jeff Walden
d914c7c079
Pick up a few straggler uses of {NS,JS}_ARRAY_LENGTH, probably added since the switch but before the deprecation announcement, and convert them to mozilla::ArrayLength. Also convert the two users of PR_ARRAY_SIZE, yet another length-computing macro, to mozilla::ArrayLength. No bug, r=sparky
...
--HG--
extra : rebase_source : f019e35a037516df872d0efb7262fa9c475f903c
2011-10-21 03:16:47 -07:00
Luke Wagner
24ebb0ec95
Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
...
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Justin Lebar
f15d4470bb
Bug 695691 - Fix fscanf warning about %lu attached to size_t in nsMemoryReporterManager.cpp. r=njn
2011-10-20 11:57:54 -04:00
Michal Novotny
1a4a1fff2a
Bug 681407 - crash nsLocalFile::CopyMove
2011-10-19 13:02:57 +02:00