Commit Graph

908 Commits

Author SHA1 Message Date
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Daniel Holbert
6a214353ba Bug 669412 followup to followup: move now-unused-in-default-build-config variable inside #ifdef, to fix new unused variable build warning. rs=bent 2011-09-27 13:58:14 -07:00
Daniel Holbert
50c6862dae Bug 669412 followup: remove variables preBytes & postBytes that are now unused after earlier patch on this bug. r=bent 2011-09-27 13:22:49 -07:00
Benoit Girard
8fbf78c009 Bug 687864 - Part 2: Add offline renderer awareness for Mac OGL in plugins; r=jmuizelaar 2011-09-21 15:20:52 -04:00
Luke Wagner
cc2ce861d1 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Landry Breuil
75cd71ba69 Bug 648735 - On OpenBSD/64 bits we need a typedef for unsigned long long, and reuse the unsigned long template on 32/64 bits; r=cjones 2011-09-21 18:36:52 +01:00
Landry Breuil
ef61f08998 Bug 648735 - OpenBSD: Include sys/stat.h; r=cjones
otherwise fails with:
ipc/chromium/src/base/platform_file_posix.cc:49: error: 'S_IRUSR' was not declared in this scope
ipc/chromium/src/base/platform_file_posix.cc:49: error: 'S_IWUSR' was not declared in this scope
2011-09-21 18:36:52 +01:00
Landry Breuil
6e7fe377a8 Bug 648735 - OpenBSD: Add missing limits.h and sys/param.h; r=cjones
otherwise fails with:
/usr/include/sys/proc.h:64: error: 'MAXLOGNAME' was not declared in this scope
/usr/include/sys/proc.h:287: error: 'MAXCOMLEN' was not declared in this scope

Don't try to include execinfo.h/use backtrace* funcs on OpenBSD too, otherwise fails with
../../dist/system_wrappers/execinfo.h:3:27: error: execinfo.h: No such file or directory
In constructor 'StackTrace::StackTrace()':
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc:125: error: 'backtrace' was not declared in this scope
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc: In member function 'void StackTrace::PrintBacktrace()':
/home/landry/src/mozilla-central/ipc/chromium/src/base/debug_util_posix.cc:144: error: 'backtrace_symbols_fd' was not declared in this scope
2011-09-21 18:36:52 +01:00
Landry Breuil
b48a671937 Bug 648735 - Fix build failure on OpenBSD/i386 & macppc; r=cjones
../../ipc/chromium/src/base/singleton.h:171: error: invalid conversion
from 'base::subtle::AtomicWord*' to 'volatile base::subtle::Atomic32*'

Lifted from www/chromium/patches/patch-base_atomicops_h
2011-09-21 18:36:52 +01:00
Landry Breuil
8a75e0dbc8 Bug 648735 - On OpenBSD, assume clock is monotonic; r=cjones
otherwise fails with:
ipc/chromium/src/base/time_posix.cc:181:2: error: #error No usable tick clock function on this platform.
2011-09-20 13:23:04 +01:00
Landry Breuil
6449e39421 Bug 648735 - Include sys/uio.h to get the definition of struct iovec; r=cjones
ipc/chromium/src/chrome/common/ipc_channel_posix.cc:396: error: variable 'iovec iov' has initializer but incomplete type
2011-09-20 13:23:04 +01:00
Landry Breuil
11679e1057 Bug 648735 - Use pthread_self() on OpenBSD to get current thread id; r=cjones 2011-09-20 13:23:03 +01:00
Landry Breuil
80dedfe262 Bug 648735 - Define stat64 to stat on Open/FreeBSD, since they don't have stat64() but stat handles >2Gb files fine; r=cjones
lifted from freebsd's www/firefox/files/patch-ipc-chromium-src-base-file_util_posix.cc
and https://bugzilla.mozilla.org/attachment.cgi?id=527621
2011-09-20 13:23:03 +01:00
Landry Breuil
1be751295e Bug 648735 - Use nspr's prcpucfg.h for OpenBSD; r=cjones 2011-09-20 13:23:03 +01:00
Landry Breuil
fc5c80d710 Bug 648735 - Build fails without sys/types.h inclusion; r=cjones
/usr/include/fts.h:42: error: 'dev_t' does not name a type
/usr/include/fts.h:45: error: 'size_t' does not name a type
/usr/include/fts.h:73: error: 'size_t' does not name a type
/usr/include/fts.h:74: error: 'size_t' does not name a type
/usr/include/fts.h:76: error: 'ino_t' does not name a type
/usr/include/fts.h:77: error: 'dev_t' does not name a type
/usr/include/fts.h:78: error: 'nlink_t' does not name a type
2011-09-20 13:23:03 +01:00
Landry Breuil
47bf34cdbd Bug 648735 - Add missing #defines for OS_OPENBSD, consider it as an OS_POSIX, while here add #defines for sparc64 arch; r=cjones 2011-09-20 13:23:03 +01:00
Igor Bukanov
9dc4e22f8a bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff 2011-09-02 08:46:00 +02:00
Kyle Huey
0bf2dfd277 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Ehsan Akhgari
b12858a5f4 Bug 686507 - Don't spam my console when processing IPDL files; r=bsmedberg
DONTBUILD
2011-09-13 15:40:27 -04:00
Kyle Huey
775e4bf54d Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Josh Aas
a5520ad4df Bug 669036: Fix bad path to child process binary that caused assertions. r=bsmedberg 2011-09-07 00:51:38 -04:00
Mike Hommey
d0a3d1bc2f Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Ed Morley
ed260633c7 Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Kyle Huey
2fe1065da6 Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Mike Hommey
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Igor Bukanov
c89518270e bug 683862 - Using JSGCTraceKind in the public API. r=luke 2011-09-01 20:43:46 +02:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Jim Chen
1214bdb110 Bug 680190 - Notify jemalloc when forking on Android; r=cjones 2011-08-30 17:11:36 -07:00
Makoto Kato
fc11948d1b Bug 657129 - Flash x64 Crash on GMail. r=cjones 2011-08-26 09:59:57 +09:00
Jeff Muizelaar
fa337a58c6 Bug 684091. Add the ability to subtract values from Histograms. r=taras
This is a copy of Add where we Accumulate with -1 instead of 1.
I'm doing this as a copy instead of factoring out the common code
to make this file easier to compare with chromium's histrogram.cc
2011-09-08 14:05:06 -04:00
Ed Morley
db9df7db64 Bug 680864 - Part B - Remove IPC_MESSAGE_ENABLE_RPC/BASE_API defines + histogrammer leftovers; r=cjones 2011-08-23 11:43:04 +01:00
Ed Morley
e35bf93fb1 Bug 680864 - Remove CHROMIUM_MOZILLA_BUILD ifdefs, since always defined and #ifndef codepaths broken anyway; r=cjones 2011-08-23 11:43:04 +01:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Steve Fink
93cd3119ac Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Rafael Ávila de Espíndola
e7a2202774 Bug 678024 - Fix build with c++0x and clang. geteuid returns an unsigned value, and in c++0x we need an explicit cast to int in an initializer list; r=roc 2011-08-11 19:22:44 -04:00
Rafael Ávila de Espíndola
7b4d8f506f Bug 678216 - Fix build with clang and c++0x; r=cjones
Use tighter types for some fields. These fields are used in
  CFGregorianDate gregorian = {
    exploded.year,
    exploded.month,
    exploded.day_of_month,
    exploded.hour,
    exploded.minute,
    seconds
  };

and in CFGregorianDate the month, day, hour and minute fields are 8 bits.
2011-08-11 18:44:04 -04:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Geoff Brown
cf4a559f2b Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Chris Jones
a3317162ef Bug 648484, parts 3, 3.1, and 3.2: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc 2011-08-09 12:38:26 -07:00
Chris Jones
8786c55e3f Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-08-09 12:38:26 -07:00
Jim Chen
95f9647972 Bug 674806 - b. Include ctype.h before referencing tolower. r=cjones 2011-08-04 15:01:49 -07:00
Daniel Holbert
f46d24edb5 Bug 669412: Remove spammy 'before 438272, after 438272, break 057ff000' printf that clutters up fennec test logs. rs=bent 2011-07-28 14:00:05 -07:00
Jim Mathies
93af60090c Bug 626975 - Trap Google Earth out-of-process messages destined for plugin instances. Prevents spurious incalls on the browser which violate our rpc rules. r=bent 2011-07-27 17:15:25 -05:00
Andrei Kurushin
c2535be8cd Bug 665315 - OOPP Contextmenu loses messages; r=jmathies 2011-07-27 14:17:50 +02:00
Alexander Surkov
2000f5c701 Bug 671550 - provide correct parent HWND for content process window, r=jones.chris.g, davidb 2011-07-22 09:49:35 +09:00
Mike Hommey
e93ad364ef Bug 573958 - Extend LD_LIBRARY_PATH instead of replacing it during plugin-container initialization. r=bsmedberg 2011-07-21 09:53:29 +02:00
Chris Jones
24f027292c Back out bug 648484 2011-07-15 11:35:55 -07:00
Chris Jones
289ccdf1c6 Bug 648484, part 3 and part 3.1: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc 2011-07-13 22:43:43 -07:00