Commit Graph

1054 Commits

Author SHA1 Message Date
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
Chris Jones
7e90855ae8 Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-07-13 22:43:43 -07:00
Chris Jones
0a3bf2d34a Test for bug 671189. 2011-07-13 22:43:43 -07:00
Chris Jones
dc9d5133ae Bug 671189: Unblock for error replies to sync messages. r=bent 2011-07-13 22:43:43 -07:00
Mike Hommey
910fe37b7c Bug 681588 - Cleanup wrap malloc and its use on Android. r=ted 2011-08-29 19:21:22 +02:00
Nicholas Nethercote
7b61ea2b0e Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Jim Chen
2f35494dc0 Bug 658074 - Optimize string usage in core IPC code; r=cjones 2011-06-29 00:08:57 -07:00
Josh Matthews
180c7a5397 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Josh Matthews
3dedd1d98f Back out bug 581341 due to too many intermittent failures. 2011-06-29 23:44:28 -04:00
Josh Matthews
8957b95942 Bug 581341 - Part 4: Always run the IPC testshell callback, regardless of execution success or failure. r=bent
--HG--
extra : rebase_source : e83bc87174fda4af83300e563d5d62b331ac26e2
2011-06-29 15:29:52 -04:00
Josh Matthews
e9333f488d Back out bug 581341. 2011-06-29 15:13:17 -04:00
Josh Matthews
3e3121d80b Bug 581341 - Part 4: Always run the IPC testshell callback, regardless of execution success or failure. r=bent 2011-06-23 19:31:58 -04:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Kyle Huey
ecb9c8319d Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Kyle Huey
58bc8f2d91 Bug 543061: Serialize nsID. r=cjones,bent 2011-06-24 07:19:56 -07:00
Marco Bonardo
46ad783c2a Backout changesets a9cc84f8a830, cc9620ae893d, 5d571e06dc66, ebfde1103126, 0ad7a620910f, 0e614362b322, c53f88f0dd06, b4bab5f00821 due to bustage. 2011-06-24 17:18:28 +02:00
Kyle Huey
577cc65830 Bug 543061: Serialize nsID. r=cjones,bent 2011-06-24 07:19:56 -07:00
Mike Hommey
7d2a5f6eb2 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Matt Brubeck
28a99ad4d4 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Mike Hommey
9b8bddafa3 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Neil Rashbrook
9294538f56 Bug 660535 Remove useless use of PromiseFlatCString r=cjones 2011-06-09 21:15:10 +01:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Bill McCloskey
b902b98248 Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner) 2011-06-01 17:48:52 -07:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Mike Hommey
19129a5b74 Backout bug 552864, bug 632404 and bug 657297 because of leak test bustage 2011-05-22 17:52:16 +02:00
Mike Hommey
da98a37ad0 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Jim Mathies
3cd1f9198a Bug 648935 - Process native events during calls to WaitForNotify in the child process when nested native event loops are detected in the parent. r=bsmedberg. 2011-05-18 06:57:08 -05:00
Jim Mathies
96b782ecd9 Bug 648935 - When paint events are deferred in WindowsMessageLoop, temporarily validate the plugin until painting can occur. r=bent. 2011-05-18 06:57:08 -05:00
Mike Hommey
e56745d75b Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
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-02-25 12:53:36 +01:00
Mike Hommey
0268686b84 Bug 620931 part 2.5 - Properly quote arguments on Windows when starting child processes. r=rstrong 2011-05-12 15:44:35 +02:00
Michael Wu
034def94d2 Merge backout (to fix bug 656172) 2011-05-10 19:10:01 -07:00
Michael Wu
4746e4ca82 Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer 2011-05-10 18:27:51 -07:00
Ed Morley
56c685d231 Bug 655473 - Remove WinCE code from IPC; r=cjones 2011-05-10 20:24:49 +02:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Mike Hommey
b0924cc77f Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
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-02-25 12:53:36 +01:00
Chris Jones
bda1d2388d Test for bug 648935. 2011-05-04 15:55:54 -05:00
Chris Jones
486d30794e Bug 648935: Need to use the "remote stack depth view" when deciding whether to undefer, too. r=bsmedberg 2011-05-04 15:55:54 -05:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Chris Leary
55f7c6409e Merge mozilla-central to tracemonkey. (CLOSED TREE) 2011-05-02 10:55:34 -07:00
Chris Jones
ea36cc9d82 Bug 556214, part 3: IPC code wants to be using non-reentrant Monitor. r=bent 2011-04-29 14:21:57 -05:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Jones
a886978274 Bug 651059: Fix (benign) read/write race on AsyncChannel.mChannelState. r=bent 2011-04-28 19:15:03 -05:00
Jacek Caban
0d02596cb7 Bug 651861 - ipc/chromium compilation broken on mingw
r=jones.chris.g
2011-04-28 11:36:38 +00:00
Jacek Caban
7a79d4a6ce Bug 643778 - WindowsMessageLoop.h fails to compile on case-sensitive
OSes r=benjamin

--HG--
extra : rebase_source : 03aa080043dd86c5b95c8f75bf49f7f538bfb30d
2011-04-26 11:45:08 +00:00
Taras Glek
94d8d441b4 Bug 651262 - Update histogram.h/cc[win build fixes] r=bent 2011-04-27 11:06:57 -07:00
Taras Glek
fd7d02c908 Bug 651262 - Update histogram.h/cc[build fixes] r=cjones 2011-04-27 11:06:53 -07:00
Taras Glek
db4fe4f5cd Bug 651262 - Update histogram.h/cc r=cjones 2011-04-19 15:18:48 -07:00
Luke Wagner
05d2002b66 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Chris Leary
71c7cfdc1f Merge mozilla-central and tracemonkey. 2011-04-26 10:42:36 -07:00
Benjamin Stover
a2586fcf46 Bug 650081 Fix ipc_channel_win.cpp WARNING about Connect called twice r=cjones 2011-04-22 10:55:46 -07:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Wes Garland
ed8e6d5fcf Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal 2011-04-16 15:13:10 -04:00
Josh Aas
6192fd5a60 Bug 649488: Move contents of dom/plugins to dom/plugins/ipc. r=bsmedberg
--HG--
rename : dom/plugins/AStream.h => dom/plugins/ipc/AStream.h
rename : dom/plugins/BrowserStreamChild.cpp => dom/plugins/ipc/BrowserStreamChild.cpp
rename : dom/plugins/BrowserStreamChild.h => dom/plugins/ipc/BrowserStreamChild.h
rename : dom/plugins/BrowserStreamParent.cpp => dom/plugins/ipc/BrowserStreamParent.cpp
rename : dom/plugins/BrowserStreamParent.h => dom/plugins/ipc/BrowserStreamParent.h
rename : dom/plugins/COMMessageFilter.cpp => dom/plugins/ipc/COMMessageFilter.cpp
rename : dom/plugins/COMMessageFilter.h => dom/plugins/ipc/COMMessageFilter.h
rename : dom/plugins/ChildAsyncCall.cpp => dom/plugins/ipc/ChildAsyncCall.cpp
rename : dom/plugins/ChildAsyncCall.h => dom/plugins/ipc/ChildAsyncCall.h
rename : dom/plugins/ChildTimer.cpp => dom/plugins/ipc/ChildTimer.cpp
rename : dom/plugins/ChildTimer.h => dom/plugins/ipc/ChildTimer.h
rename : dom/plugins/Makefile.in => dom/plugins/ipc/Makefile.in
rename : dom/plugins/NPEventAndroid.h => dom/plugins/ipc/NPEventAndroid.h
rename : dom/plugins/NPEventOSX.h => dom/plugins/ipc/NPEventOSX.h
rename : dom/plugins/NPEventWindows.h => dom/plugins/ipc/NPEventWindows.h
rename : dom/plugins/NPEventX11.h => dom/plugins/ipc/NPEventX11.h
rename : dom/plugins/NestedLoopTimer.cpp => dom/plugins/ipc/NestedLoopTimer.cpp
rename : dom/plugins/NestedLoopTimer.h => dom/plugins/ipc/NestedLoopTimer.h
rename : dom/plugins/PBrowserStream.ipdl => dom/plugins/ipc/PBrowserStream.ipdl
rename : dom/plugins/PPluginBackgroundDestroyer.ipdl => dom/plugins/ipc/PPluginBackgroundDestroyer.ipdl
rename : dom/plugins/PPluginIdentifier.ipdl => dom/plugins/ipc/PPluginIdentifier.ipdl
rename : dom/plugins/PPluginInstance.ipdl => dom/plugins/ipc/PPluginInstance.ipdl
rename : dom/plugins/PPluginModule.ipdl => dom/plugins/ipc/PPluginModule.ipdl
rename : dom/plugins/PPluginScriptableObject.ipdl => dom/plugins/ipc/PPluginScriptableObject.ipdl
rename : dom/plugins/PPluginStream.ipdl => dom/plugins/ipc/PPluginStream.ipdl
rename : dom/plugins/PPluginSurface.ipdl => dom/plugins/ipc/PPluginSurface.ipdl
rename : dom/plugins/PStreamNotify.ipdl => dom/plugins/ipc/PStreamNotify.ipdl
rename : dom/plugins/PluginBackgroundDestroyer.h => dom/plugins/ipc/PluginBackgroundDestroyer.h
rename : dom/plugins/PluginIdentifierChild.h => dom/plugins/ipc/PluginIdentifierChild.h
rename : dom/plugins/PluginIdentifierParent.h => dom/plugins/ipc/PluginIdentifierParent.h
rename : dom/plugins/PluginInstanceChild.cpp => dom/plugins/ipc/PluginInstanceChild.cpp
rename : dom/plugins/PluginInstanceChild.h => dom/plugins/ipc/PluginInstanceChild.h
rename : dom/plugins/PluginInstanceParent.cpp => dom/plugins/ipc/PluginInstanceParent.cpp
rename : dom/plugins/PluginInstanceParent.h => dom/plugins/ipc/PluginInstanceParent.h
rename : dom/plugins/PluginInterposeOSX.h => dom/plugins/ipc/PluginInterposeOSX.h
rename : dom/plugins/PluginInterposeOSX.mm => dom/plugins/ipc/PluginInterposeOSX.mm
rename : dom/plugins/PluginLibrary.h => dom/plugins/ipc/PluginLibrary.h
rename : dom/plugins/PluginMessageUtils.cpp => dom/plugins/ipc/PluginMessageUtils.cpp
rename : dom/plugins/PluginMessageUtils.h => dom/plugins/ipc/PluginMessageUtils.h
rename : dom/plugins/PluginModuleChild.cpp => dom/plugins/ipc/PluginModuleChild.cpp
rename : dom/plugins/PluginModuleChild.h => dom/plugins/ipc/PluginModuleChild.h
rename : dom/plugins/PluginModuleParent.cpp => dom/plugins/ipc/PluginModuleParent.cpp
rename : dom/plugins/PluginModuleParent.h => dom/plugins/ipc/PluginModuleParent.h
rename : dom/plugins/PluginProcessChild.cpp => dom/plugins/ipc/PluginProcessChild.cpp
rename : dom/plugins/PluginProcessChild.h => dom/plugins/ipc/PluginProcessChild.h
rename : dom/plugins/PluginProcessParent.cpp => dom/plugins/ipc/PluginProcessParent.cpp
rename : dom/plugins/PluginProcessParent.h => dom/plugins/ipc/PluginProcessParent.h
rename : dom/plugins/PluginScriptableObjectChild.cpp => dom/plugins/ipc/PluginScriptableObjectChild.cpp
rename : dom/plugins/PluginScriptableObjectChild.h => dom/plugins/ipc/PluginScriptableObjectChild.h
rename : dom/plugins/PluginScriptableObjectParent.cpp => dom/plugins/ipc/PluginScriptableObjectParent.cpp
rename : dom/plugins/PluginScriptableObjectParent.h => dom/plugins/ipc/PluginScriptableObjectParent.h
rename : dom/plugins/PluginScriptableObjectUtils-inl.h => dom/plugins/ipc/PluginScriptableObjectUtils-inl.h
rename : dom/plugins/PluginScriptableObjectUtils.h => dom/plugins/ipc/PluginScriptableObjectUtils.h
rename : dom/plugins/PluginStreamChild.cpp => dom/plugins/ipc/PluginStreamChild.cpp
rename : dom/plugins/PluginStreamChild.h => dom/plugins/ipc/PluginStreamChild.h
rename : dom/plugins/PluginStreamParent.cpp => dom/plugins/ipc/PluginStreamParent.cpp
rename : dom/plugins/PluginStreamParent.h => dom/plugins/ipc/PluginStreamParent.h
rename : dom/plugins/PluginSurfaceParent.cpp => dom/plugins/ipc/PluginSurfaceParent.cpp
rename : dom/plugins/PluginSurfaceParent.h => dom/plugins/ipc/PluginSurfaceParent.h
rename : dom/plugins/PluginUtilsOSX.h => dom/plugins/ipc/PluginUtilsOSX.h
rename : dom/plugins/PluginUtilsOSX.mm => dom/plugins/ipc/PluginUtilsOSX.mm
rename : dom/plugins/StreamNotifyChild.h => dom/plugins/ipc/StreamNotifyChild.h
rename : dom/plugins/StreamNotifyParent.h => dom/plugins/ipc/StreamNotifyParent.h
rename : dom/plugins/ipdl.mk => dom/plugins/ipc/ipdl.mk
2011-04-12 16:26:11 -07:00
Mike Hommey
00b2d5e3a7 Bug 643112 - Fix IPC build on Linux powerpc. r=bsmedberg 2011-04-13 09:45:42 +02:00
Chris Jones
d8e7ed4952 Bug 598869: Test that using actors on non-main threads works 2011-06-03 13:33:56 -05:00
Chris Jones
65c96c70e1 Bug 613442, part 6: Test IPDL |opens| 2011-06-03 13:33:56 -05:00
Chris Jones
27d4731d54 Bug 613442, part 5: Generate C++ goop for creating |opens| channels. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
109cb23caa Bug 613442, part 4: Library support of |opens| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
cc130518ca Bug 613442, part 3: Add AsyncChannel::Echo() to allow sending a message back to the originating endpoint. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
bda046453f Bug 613442, part 2: Frontend tests 2011-06-03 13:33:56 -05:00
Chris Jones
7a275fc61c Bug 613442, part 1: Frontend support for IPDL |opens|. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
99ae961b09 Bug 564086, part r: Test IPDL |bridge| 2011-06-03 13:33:56 -05:00
Chris Jones
c2d355c9cb Bug 564086, part q: Generate C++ goop for creating |bridge| channels. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
434a98eabd Bug 564086, part p: Library support of |bridge| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
40ec0f0dea Bug 564086, part o: Use the existing IPC::Channel typedef in AsyncChannel. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
156904718c Bug 564086, part n: Build new Transport code. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
a1e3f93459 Bug 564086, part m: Windows impl of Transport API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
a37643c229 Bug 564086, part l: POSIX impl of Transport API. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
cf60a3e23c Bug 564086, part k: API for creating new IPC "Transport" not tied to a ProcessHost. sr=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
e822730997 Bug 564086, part j: Add IPC::Channel support for getting OS-level pipe info and creating from existing pipe descriptors. r=bent 2011-06-03 13:33:55 -05:00
Chris Jones
aa5d46178b Bug 564086, part i: Add an (IPDL-private) interface for getting the underlying AsyncChannel from a top-level actor. r=bsmedberg 2011-06-03 13:33:55 -05:00
Chris Jones
e804acb3f2 Bug 564086, part h: One protocol can bridge multiple endpoints (oops!); add convenience process-graph querying functions. r=bent 2011-06-03 13:33:55 -05:00
Chris Jones
a5ef6c6d6a Bug 564086, part g: Allow opening an AsyncChannel with an explicit parent/child "side" so that Transport::Connect can be called for parent-side channels that need it. r=bent 2011-06-03 13:33:55 -05:00
Chris Jones
ff692e6da5 Bug 564086, part f: Compile IPDL specs in two passes so that the full process graph is available at codegen time. r=bsmedberg 2011-06-03 13:33:55 -05:00
Chris Jones
b58bf5efa7 Bug 564086, part e: Allow IPDL/C++ tests to spawn subprocesses that speak protocols that are not unit tests in and of themselves. r=ted 2011-06-03 13:33:55 -05:00
Chris Jones
79ac480fe7 Bug 564086, part d: Emit common code for PFoo into PFoo.h and PFoo.cpp. r=bsmedberg 2011-06-03 13:33:55 -05:00
Chris Jones
2bfe0087e1 Bug 564086, part c.1: Allow non-XPCOM processes (which don't use omnijar) to spawn other non-XPCOM subprocesses. r=glandium 2011-06-03 13:33:55 -05:00
Chris Jones
84d0bc8ee0 Bug 564086, part c: Remove dependency on XPCOM in subprocesses-spawning code. r=bsmedberg 2011-06-03 13:33:55 -05:00
Josh Matthews
9922293ca0 Bug 645532 - Make content process xpcshell print newlines. r=mrbkap 2011-06-02 13:11:54 +02:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Kyle Huey
e169e16015 Back out Bug 639754. 2011-03-31 09:12:20 -04:00
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Mitchell Field
a191206c64 Bug 609434 - Don't emit switch statements containing 'default' but no 'case' labels in IPC IPDL files. r=cjones 2011-03-31 23:06:24 +11:00
Justin Lebar
7e2c5ae50d 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
a2f674fb10 Merge cedar into mozilla-central 2011-03-25 23:55:33 -04:00
Jason Duell
6651a096c6 Bug 534764. Allow separate NSPR logs if requested, in case of interleaving issues; r=mayhemer,wtc 2011-03-25 19:40:50 -04:00
Jim Mathies
0dbb327e40 Bug 641705 - Don't drop win app shell gecko processing events in ipc's windows message loop processing. r=bsmedberg 2011-03-25 18:17:35 -05:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Chris Jones
95bda69b21 Test for bug 640901. a=b 2011-03-25 12:56:17 -05:00
Ben Turner
3e1c82c126 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05:00
L. David Baron
506701bba2 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
Mike Hommey
2cfeef8160 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
Mitchell Field
1592ff67f7 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11:00
Chris Jones
0a6f061349 Bug 637987: Don't compile IPDL unit-test protocols when not asked to. r=bsmedberg a=a 2011-03-02 12:29:31 -06:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey
6ef83c9db5 Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Chris Jones
68448b7880 Bug 633462: Nuke this printf in release builds. r=bent a=a 2011-02-23 11:45:09 -06:00
Josh Matthews
a75f05eb43 Bug 586362 - Add gczeal to content process xpcshell. r=bent 2010-08-11 13:45:00 -04:00
Makoto Kato
96269b6d02 Bug 620888 - ReadParam(msg, iter, uint32) is extracted to ReadParam(msg, iter, size_t/intptr_t) on Windows x86; r=cjones 2011-01-28 00:27:00 -05:00
Gary Kwong
a23e399485 Bug 636202 - Turn ipc/ipdl/ipdl/type.py Python 2/3-agnostic; r=cjones 2011-02-23 10:39:00 -05:00
Chris Jones
854eb4805d Bug 625060: Only plugin-container needs to walk out of plugin-container.app/Content/MacOS to find the real GRE dir. r=bent
--HG--
extra : rebase_source : a679b5caf11b507f15d952cb1979e73b125a5b0a
2011-02-01 13:53:53 -06:00
Brian Crowder
b1625ad538 Bug 606074: removing bogus include, r=me, a=cleanup, DONTBUILD 2011-01-20 09:17:42 -08:00
Brian Crowder
9dd1b4486c Bug 606074: ensure that we share the Android system properties memory-map with the child process, r=cjones, a=blocking-fennec:2.0:mfinkle 2011-01-20 09:01:31 -08:00
Chris Leary
6805a382ac Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Andreas Gal
6278051362 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
Chris Jones
efc286ce3f Bug 616841, part 4: "Localize" the IPC testshell JSContext. r=bent a=b 2011-01-14 16:03:21 -06:00
Chris Jones
402b448575 Test for bug 572134. a=b 2011-01-12 01:07:17 -06:00
Chris Jones
a7c8bdb47f Bug 572134: "Undefer" the in-call that lost a race at stack-depth 1, if there is one, when RPCChannel code leaves the C++ stack, so that the in-call can be processed if there is an immediately following out-call. r=bsmedberg 2011-01-12 01:07:17 -06:00
Dominik Roettsches
58eaaab9b9 Bug 618810 - Qt Message Pump locks up in case of nested loops in flash plugin. r=dougt a=npodb 2011-01-07 14:18:29 +02:00
Chris Leary
1d3c0638b7 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Chris Jones
3b270a9c6b Bug 622235: Fix ipdlunittest.exe build error. a=npotb 2011-01-04 10:40:54 -06:00
Oleg Romashin
5e4a6a5c25 Bug 619488 - Inform child processes of the compositor's layer-manager type. r=jones.chris.g a=b-f 2010-12-31 09:40:19 +02:00
Eli Friedman
d73fe8b3c6 Bug 579788 - Qualify access to dependent base in imported Chromium code. r=benjamin, a=benjamin
--HG--
extra : rebase_source : b2381678b364a078e554f3ef19afb3ce6d5bc753
2010-12-05 13:24:21 +00:00
Chris Jones
6269d59510 Bug 613338: Fix hidden-virtual warnings. r=bsmedberg a=2.0 2010-11-24 15:38:50 -06:00
Josh Matthews
11f8736ab8 Backed out changeset 1d4e3afd67e7 2010-11-23 16:06:34 -05:00
Josh Matthews
30d15bea23 Bug 586362 - xpcshell: gczeal() doesn't work in the content process. r=bent a=bsmedberg 2010-08-11 13:45:00 -04:00
Josh Matthews
5de7e34378 Bug 584946 - e10s: localStorage, r=honzab, a=blocking-fennec2.0b3+ 2010-11-18 20:15:23 -05:00
Luke Wagner
2fc61cf52e Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Robert Sayre
2d10c1480d Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Robert Sayre
f8d70b12f4 Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Igor Bukanov
52ea348c4c bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
David Anderson
7487c14d37 Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
Ryan VanderMeulen
b3c91154cb Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Benedict Hsieh
fba1d721da Bug 592768 - When using async launch, the toplevel actor doesn't have a process handle. Set the process ID with a callback function (OnChannelConnected). r=cjones
--HG--
extra : rebase_source : aa7743035e9a21759d99b9b9fbaf6371b8c82395
2010-10-08 16:24:36 -07:00
Ryan VanderMeulen
725ef76341 Bug 578540 - Fix MSVC warning spam by removing unneeded define from Chromium code. r=cjones 2010-11-13 09:15:07 +01:00
Ehsan Akhgari
eda812475f 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
Robert Sayre
78fcef6d2d Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
28d67e6217 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
70626ca310 Bug 598862, part 2: Add a dummy base::FileDescriptor. r=bsmedberg 2010-11-08 20:48:59 -06:00
Ehsan Akhgari
ffa07f5b9a Bug 603679 - Fix a regression causing the Shockwave plugin to fail to load; r=bsmedberg a=blocking-beta8+ 2010-11-04 14:45:51 -04:00
Igor Bukanov
92b67c9caf bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
Blake Kaplan
0947251bf8 Bug 606585 - Make the compartment map use principals properly. r=peterv/bz, a=beta7+ 2010-10-26 23:57:31 -07:00
Michael Wu
402efe298f Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec 2010-10-29 12:22:28 -07:00
Mark Finkle
c13d5f5238 Bug 608239: Backout changeset 99233ad2ff70 a=fennec-should-load-pages 2010-10-29 10:07:54 -04:00
Michael Wu
bb0cf0f8a4 Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec 2010-10-28 23:45:46 -07:00
Jim Mathies
d5795f9acb Bug 545892 - Always pass WM_NCPAINT events to the default event procedure. r=bent, a=beta7 2010-10-27 08:48:09 -05:00
Chris Jones
d12924f284 Bug 606279, part 2: Use more concise types in PDocumentRenderer. r=joe 2010-10-26 17:20:53 -05:00
Chris Jones
087771ec3a Bug 606609: Make script to extract protocol/message from msgtype numbers part of m-c. r=bsmedberg a=npotb 2010-10-26 11:57:46 -05:00
Adam Michel
8244e0148e Bug 570134 - Building with Apples llvm-gcc-4.2 fails on IPC. r+a=bsmedberg 2010-10-24 11:32:43 +02:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Jim Mathies
ada067c895 Bug 607326 - Fix for ASSERTION: Received 'nonqueued' message 126. r=bent, a=final. 2010-11-05 10:19:05 -05:00
Chris Jones
6142433bc6 Change a comment in a patch for bug 605362, so I can add a=blocking-fennec 2010-11-05 02:21:30 -05:00
Chris Jones
3a6c74c8d5 Bug 605362, part 5: Centralize more of the accounting. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
9119868099 Bug 605362, part 4: Notify shmem MemoryReporters from all shmem backends. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
0dd1deba83 Bug 605362, part 3: Add MemoryReporters for shmem. r=vlad 2010-11-05 02:17:07 -05:00
Chris Jones
f8648de60a Bug 605362, part 2: Track allocated sizes (in the allocating process) in all shmem backends. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
5ca29d9212 Bug 605362, part 1: Allocate page-aligned shmem segments in ShmImage, to match other allocators which more honestly report address space and system mem taken by alloc. r=joe 2010-11-05 02:17:07 -05:00