Nicholas Nethercote
bf211c7df2
Bug 1205942 (part 3) - Remove unused OS version detection functions from ipc/chromium/. r=jld.
...
The motivation here is to remove the GetVersionEx() calls in the
Windows-specific code, because that function is deprecated and causes warnings.
The non-Windows versions come along for the ride.
--HG--
extra : rebase_source : ea50b4ce8271ea7281b901eac0542ab4a154adc6
2015-10-01 07:10:13 -07:00
Nicholas Nethercote
998f4575e5
Bug 1205942 (part 2) - Fix "always true" warning in child_thread.cc. r=jld.
...
The warning is "the address of NuwaMarkCurrentThread() will always evaluate to
'true'".
--HG--
extra : rebase_source : c66bd111a3a57b08095dbbbe043806cc2caf8c13
2015-09-23 18:21:19 -07:00
Nicholas Nethercote
91333243f4
Bug 1206558 (part 6) - Factor out common libevent moz.build stuff. r=mshal.
...
Two parts.
- Most of the common stuff goes into the new libeventcommon.mozbuild file.
- A little bit of common bsd/linux stuff factored out in
ipc/chromium/moz.build.
--HG--
extra : rebase_source : a4bb56a444ad5b0d5d808e5d58dd7abe7dd81dbe
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
89cb2574cf
Bug 1206558 (part 5) - Give libevent its own moz.build file. r=mshal.
...
I originally tried putting it in ipc/chromium/src/third_party/libevent/, but
that directory already has a Makefile.in file, which caused problems, so I
moved it down one directory.
--HG--
extra : rebase_source : 63024d67c7b0f9215474cc85b475a4740ce51dc0
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
555a6bb686
Bug 1206558 (part 4) - Factor out include handling in ipc/chromium/moz.build. r=mshal.
...
--HG--
extra : rebase_source : b8063fd9f38ec025e019bf29cba212a435b23a61
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
4a88f838bd
Bug 1206558 (part 3) - Move Android-specific code ipc/chromium/moz.build. r=mshal.
...
--HG--
extra : rebase_source : f80cb0fb31d1295fe0c36db884c5f38f4f0feb25
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
63971ab5d4
Bug 1206558 (part 2) - Move Linux-specific code ipc/chromium/moz.build. r=mshal.
...
Just so the OS ordering at the top matches the OS ordering at the bottom.
--HG--
extra : rebase_source : c6c5a303ade7f740b3f2483b77c4276d0a782773
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
b290ddeb41
Bug 1206558 (part 1) - Combine handling of BSDs in ipc/chromium/moz.build. r=mshal.
...
Also wrap some overlong comment lines.
--HG--
extra : rebase_source : 5f7ff89dae32ab443f423884adb92341b4c97079
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
e2d96fab66
Bug 1181026 (part 3) - Fix libevent constants for 32-bit Linux/Mac/BSD builds. r=glandium.
...
The patch also adds the CHECK_EVENT_SIZEOF macro which checks that the
_EVENT_SIZEOF_* constants have the right values.
--HG--
extra : rebase_source : 36a41bb25adcef55814aa51a280cad91062d2147
2015-09-22 20:01:29 -07:00
Nicholas Nethercote
34ad9836d9
Bug 1181026 (part 2) - Clean up libevent patch handling. r=glandium.
...
Add a missing one to the docs, and move them from their current two locations
into a new patches/ directory.
--HG--
rename : ipc/chromium/src/third_party/libevent-avoid-empty-sighandler.patch => ipc/chromium/src/third_party/libevent/patches/avoid-empty-sighandler.patch
rename : ipc/chromium/src/third_party/libevent-dont-use-issetugid-on-android.patch => ipc/chromium/src/third_party/libevent/patches/dont-use-issetugid-on-android.patch
rename : ipc/chromium/src/third_party/libevent/mac-arc4random-buf.patch => ipc/chromium/src/third_party/libevent/patches/mac-arc4random-buf.patch
rename : ipc/chromium/src/third_party/libevent/openbsd-no-arc4random_addrandom.patch => ipc/chromium/src/third_party/libevent/patches/openbsd-no-arc4random_addrandom.patch
rename : ipc/chromium/src/third_party/libevent-use-non-deprecated-syscalls.patch => ipc/chromium/src/third_party/libevent/patches/use-non-deprecated-syscalls.patch
extra : rebase_source : 2b434e627b6fcbf699ab50c51356a986391dcd1c
2015-09-22 19:59:53 -07:00
Nicholas Nethercote
609bbdb87c
Bug 1181026 (part 1) - Reformat libevent's README.mozilla file. r=glandium.
...
--HG--
extra : rebase_source : ef3e5c99e2e062444000027a25f369ed5e0f14fa
2015-09-22 19:59:27 -07:00
Nicholas Nethercote
51aed272e1
Bug 1205942 (part 1) - Fix overflows in time_posix.cc. r=jld.
...
We get the following warnings with clang.
> ipc/chromium/src/base/time_posix.cc:103:57: error: overflow in expression; result is 0 with type 'long' [-Werror,-Winteger-overflow]
> ipc/chromium/src/base/time_posix.cc:106:58: error: overflow in expression; result is -1000 with type 'long' [-Werror,-Winteger-overflow]
This is a genuine bug. The upstream code in Chromium has changed (commit
2a278516943eee02e0206506a4b907fc0b55f27b) and this patch changes our code to be
similar. I did tests and confirmed that instead of getting 0 or -1 for
|milliseconds|, we now get -2147483648000 or 2147483647999, which is much
better.
--HG--
extra : rebase_source : f01a4f03bc1576980010426328116d03eb71079b
2015-09-21 15:35:26 -07:00
Chris Peterson
230c67672b
Bug 1203232 - Fix -Wshadow warnings in some ipc/chromium headers. r=njn
2015-09-13 02:06:14 -07:00
Ms2ger
d65d89b426
Bug 1200131 - Avoid shadowing members in tuple.h; r=njn
2015-09-10 13:49:19 +02:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Mike Hommey
8d4c5b336d
Bug 1189967 - Be slightly more explicit about some conversions to std::wstring. r=nfroyd
2015-08-23 22:20:19 +09:00
Botond Ballo
a7263cd695
Bug 1056356 - Allow calling NewRunnableMethod() with a const pointer to the callee object. r=froydnj
...
--HG--
extra : rebase_source : 2cd101c22d0992acedccf50e7f5880a268cef199
2015-07-29 19:51:36 -04:00
Makoto Kato
50e851b877
Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal
2015-08-03 10:07:09 +09:00
Ehsan Akhgari
56131e371e
Bug 1188211 - Fix more constructors in IPC; r=billm
2015-07-28 08:53:31 -04:00
Hamzata Diallo
3f61ec7708
Bug 1178513
- Export libxul symbols needed by ACL. r=mattwoodrow
...
--HG--
extra : rebase_source : 77ebb8e1195c0e2570dbf5dbee54edfa5ecdab28
2015-07-02 15:19:35 -07:00
Brad Lassey
afc6a1e13f
bug 1161166 - Use mach shared memory for shared memory on OSX r=billm
...
--HG--
rename : ipc/glue/SharedMemoryBasic_android.cpp => ipc/glue/SharedMemoryBasic_mach.cpp
rename : ipc/glue/SharedMemoryBasic_android.h => ipc/glue/SharedMemoryBasic_mach.h
2015-06-17 00:38:38 -04:00
Brad Lassey
456bd3e0d5
bug 1161166 - Move some implementation out of ipc headres to not include headres for EndianU32_* r=billm
2015-06-09 09:56:10 -04:00
Shelly Lin
4eff0a1842
Bug 1113562 - Expected delay time of tasks should not be the latency of those kind. r=sinker
...
--HG--
extra : rebase_source : b5e012fb6570e87270a0924fbe395dc56e6242ec
2015-06-16 10:57:19 +08:00
Andrew McCreight
2a29c287a6
Bug 1152079 - Remove Purify support files. r=froydnj
2015-06-06 14:37:59 -07:00
Eric Rahm
518166f0c8
Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj
...
Make it harder for users to accidentally reintroduce usage of the PR_LOG macros
when using 'mozilla/Logging.h'. This can still be worked around by directly
including 'prlog.h' (and not 'mozilla/Logging.h') if absolutely necessary.
2015-06-03 15:26:07 -07:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
38901afce4
Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj
...
Make it harder for users to accidentally reintroduce usage of the PR_LOG macros
when using 'mozilla/Logging.h'. This can still be worked around by directly
including 'prlog.h' (and not 'mozilla/Logging.h') if absolutely necessary.
2015-06-01 22:17:34 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
e8a5eb8d6e
Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj
...
Make it harder for users to accidentally reintroduce usage of the PR_LOG macros
when using 'mozilla/Logging.h'. This can still be worked around by directly
including 'prlog.h' (and not 'mozilla/Logging.h') if absolutely necessary.
2015-06-01 14:31:01 -07:00
Botond Ballo
e517cc3f1e
Bug 1166583 - Move chromium's MakeTuple function into namespace 'base' to avoid conflicts with mozilla::MakeTuple. r=froydnj
...
--HG--
extra : source : 2258a91d5781efe8e1d5f92f64ff173412705274
2015-05-09 21:09:40 -05:00
Mike Hommey
806e0220a2
Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps
2015-05-28 07:34:16 +09:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Mike Hommey
1d59644f14
Bug 1162846 - Don't use str.find in moz.build. r=mshal
2015-05-12 07:27:35 +09:00
Blake Kaplan
25d39ad698
Bug 1155494 - Add a 'compressall' message flag. f=handyman r=billm (parts of this patch were written by handyman with r=billm)
2015-05-05 16:20:42 -07:00
Carsten "Tomcat" Book
8c20d6ac92
Merge mozilla-central to mozilla-inbound
2015-04-23 15:55:19 +02:00
Bob Owen
9f25ef01ff
Bug 1087565: Verify the child process with a secret hello on Windows. r=dvander
2015-04-23 11:09:04 +01:00
Felix Janda
b0f3fb1e2a
Bug 1139173
- ipc/chromium: Remove unused functions from file_util. r=froydnj
...
CLOSED TREE
--HG--
extra : amend_source : b2e5963ece60e1a4e51bafd8b5abfa838e18b189
2015-04-15 23:59:44 +02:00
Felix Janda
6cfa6bfc6b
Bug 1139173
- ipc/chromium: Remove ScopedTempDir. r=froydnj
2015-04-15 23:57:40 +02:00
Felix Janda
6cf009e520
Bug 1139173
- ipc/chromium: Use <errno.h> instead of non-standard <sys/errno.h>. r=froydnj
2015-04-15 23:48:46 +02:00
Jacek Caban
fee7ccc6d7
Bug 1153901 - Disable PlatformThread::SetName functions on builds with no SEH support. r=nfroyd
2015-04-14 18:10:19 +02:00
Jed Davis
9596875de6
Bug 1142693 - Recognize EMSGSIZE as non-fatal on OS X for IPC sendmsg(). r=bent
...
Loosely based on Chromium git commit 86c3d9ef4fdf, but redone to insert a
sched_yield(), because treating EMSGSIZE as if it were EAGAIN/EWOULDBLOCK
is (as the Chromium developers note) likely to act as a busy-wait for the
receiver to make progress.
2015-04-10 22:47:05 -07:00
L. David Baron
eef8e4b904
Back out changeset ad743e667004 (bug 950401) for Mac OS X 10.6 browser-chrome orange, mostly but not entirely on mochitest-e10s, on a CLOSED TREE.
2015-04-06 16:07:13 -07:00
Bill McCloskey
cff3ed70bc
bug 950401 - Log child process spawning on Mac/BSD. r=bsmedberg
...
--HG--
extra : rebase_source : 6d6842d9fead85a12b17715fb447ab53a815e5b2
extra : amend_source : 644921e61135d7c7a9e4b0858ead5b7c8f691f79
2015-03-25 07:10:36 -04:00
Bob Owen
e4f543bb58
Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce
2015-04-01 09:40:35 +01:00
Ehsan Akhgari
4d078b8a35
Bug 1146888 - Build more files in ipc/chromium in unified mode; r=bent
2015-03-24 18:50:06 -04:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jed Davis
2ef14062cd
Bug 1111065 - Backport some upstream IPC serialization fixes. r=bent a=me
2015-03-19 16:07:40 -07:00
Jed Davis
fedf6a1c91
Bug 1111079 - Backport some IPC message/channel fixes. r=bent a=me
2015-03-19 16:07:37 -07:00
Bill McCloskey
a852f4d3bc
Bug 1090921 - Logging to see which tasks remain alive too long (r=dvander)
2015-03-13 08:20:34 -07:00
Trevor Saunders
ed728808f8
bug 1133075 - fixup includes CLOSED TREE
2015-02-18 17:31:55 -05:00
Trevor Saunders
99d941db3c
bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel
2015-02-18 17:03:30 -05:00
James Cowgill
2bf614caed
Bug 1130438 - ipc/chromium: copy mips64 atomic patches from upstream chromium. r=froydnj
...
Upstream commits:
fc47526241
5614f28582
8bd6f985f2
2015-02-06 08:37:00 -05:00
Brian Smith
29f7110291
Bug 1119072, Part 3(a): Silence warning about deprecated use of hash_set and hash_map in ipc/chromium, r=bsmedberg
...
--HG--
extra : rebase_source : b875833b9bd9cab86071a8c1423cdf2b9f86254b
2015-01-12 19:58:16 -08:00
Ehsan Akhgari
b75717cca5
Bug 1123115 - Clarify the ownership of some member variables in task.h; r=bent
2015-01-20 19:15:19 -05:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Dave Hylands
08557c5100
Bug 1073003 - Fix warnings causing errors in emulator build. r=nfroyd
2015-01-08 13:52:19 -08:00
Jed Davis
89ed7edf30
Bug 1114753 - Remove yet more dead-for-Gecko code from ipc_message_utils.h. rs=bent
2014-12-22 13:47:00 +01:00
Jed Davis
0eebb24cd1
Bug 1113463 - Remove a lot of unused/unneeded ParamTraits instances. rs=bent
2014-12-18 19:49:00 +01:00
Jed Davis
901e4c3d28
Bug 1111810 - Remove Chromium IPC logging on CLOSED TREE. r=bent
2014-12-15 20:49:00 +01:00
Ehsan Akhgari
4261267599
Bug 1111239 - Remove a compiler check for an unsupported compiler from atomicops_internals_x86_msvc.h; r=josh
2014-12-14 14:58:41 -05:00
Botond Ballo
8f00119c18
Bug 1073081 - Fix warnings about macro redefinitions by #undef'ing macros. r=ehsan
...
--HG--
extra : source : 13df0150da382d9d64f7739a29673509b493ba64
2014-12-10 18:26:55 -05:00
Gina Yeh
829a3d23d5
Bug 1104414, Patch 1: Fix build error: 'UNKNOWN' is not a member of 'mozilla::tasktracer::SourceEventType', r=sinker.
2014-11-25 19:51:17 +08:00
Tatiana Meshkova
3234ab1f7d
Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3)
2014-11-19 22:02:51 -08:00
Shelly Lin
41e8eeb120
Bug 1098681 - Call GetCurTraceInfo at where this message is enqueued. r=sinker.
2014-11-18 11:20:36 +08:00
Nathan Froyd
8e91a30e2c
Bug 1097762 - part 1 - correctly re-initialize flag histograms after clearing them; r=gfritzsche
2014-11-12 12:03:47 -05:00
Nathan Froyd
07db796930
Bug 1093809 - make Pickle reading functions MOZ_WARN_UNUSED_RESULT; r=bent
2014-11-04 11:33:06 -05:00
Jacek Caban
1fb284960f
Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce
2014-11-03 10:28:52 +01:00
Nathan Froyd
619b06efe6
Bug 1092010 - part 1 - add move semantics to Pickle and IPC::Message; r=dvander
2014-10-31 11:20:43 -04:00
Ryan VanderMeulen
199b533463
Backed out changesets a7d4914ea11a and f3d36cf13ac1 (bug 1092010) for non-unified bustage.
2014-11-01 00:10:08 -04:00
Nathan Froyd
124b59503e
Bug 1092010 - part 1 - add move semantics to Pickle and IPC::Message; r=dvander
2014-10-31 11:20:43 -04:00
Nicholas Nethercote
f50b6cd934
Bug 1087834 - Reduce heap churn involving |input_overflow_buf_|. r=billm.
...
--HG--
extra : rebase_source : f842309c5d75479fefc266d405c0b8aceb7c247f
2014-10-23 01:34:07 -07:00
Chris Peterson
d775ad4acf
Bug 1081010 - Part 1: Fix -Wswitch warning in ipc/chromium. r=tabraldes
2014-10-09 23:46:16 -07:00
Bob Owen
b5478fbccd
Bug 1037445: When pre-Vista, for testing purposes allow std handles to be inherited by child process when an env var is set. r=jmaher,dvander
2014-10-15 08:26:39 +01:00
Bill McCloskey
2ab547d3ab
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
4985d0ee76
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
Bill McCloskey
281cb8db91
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Georg Fritzsche
ef6689ab60
Bug 1069873 - Add counter histogram type. r=froydnj
2014-09-26 17:45:33 +02:00
Aaron Klotz
2b75c7f33e
Bug 1072752: Make Chromium UI message loops for Windows call into WinUtils::WaitForMessage; r=jimm
2014-09-25 12:39:15 -06:00
Josh Aas
0372b4fdd7
Bug 1071808: Remove Chromium lazy_instance from IPC code. r=nfroyd
2014-09-23 22:31:35 -05:00
Edwin Flores
25ceb315bd
Bug 1039886 - Make ProcessKill signal SIGKILL only if the child still exists r=bsmedberg
2014-09-24 10:04:48 +12:00
Josh Aas
ea42260ec4
Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd
2014-09-19 13:17:17 -05:00
Wes Kocher
fc53ede9d6
Backed out changeset d77733726cae (bug 1063318) for b2g mochitest leaks
2014-09-18 16:30:33 -07:00
Josh Aas
d9721c0792
Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd
2014-09-18 15:52:59 -05:00
Jim Chen
d25dd57719
Bug 1067513 - Import updated base::LazyInstance from upstream; r=bsmedberg
...
This patch imports the following files from upstream, and adapts them to the
in-tree fork at ipc/chromium,
* src/base/lazy_instance.cc
* src/base/lazy_instance.h
The updated code fixes several issues with LazyInstance [1-4]. LazyInstance
usages are also updated to reflect changes in the class interface.
[1] https://code.google.com/p/chromium/issues/detail?id=28749
[2] https://code.google.com/p/chromium/issues/detail?id=64930
[3] https://code.google.com/p/chromium/issues/detail?id=65298
[4] https://code.google.com/p/chromium/issues/detail?id=82122
2014-09-17 12:59:21 -04:00
Jim Mathies
9d266c73b6
Bug 1060738 - Implement MessagePumpForNonMainUIThreads for Windows, a xpcom compatible subclass of chromium's MessagePumpForUI. r=tabraldes
2014-09-12 09:49:38 -05:00
Josh Aas
65e14944dd
Bug 1062719 - remove Chromium debug flags, task queue from IPC code. rs=bent
2014-09-04 00:24:27 -05:00
Josh Aas
6ebfe77400
Bug 1062715 - remove Chromium event recorder, memory debug, simple thread, drag and drop code. rs=bent
2014-09-03 23:56:40 -05:00
Josh Aas
fd257bbd4c
Bug 1062064 - remove Chromium debug utils from IPC code. rs=bent
2014-09-03 22:52:59 -05:00
Josh Aas
dfc298875b
Bug 1062076 - remove Chromium system monitor from IPC code. rs=bent
2014-09-02 23:30:40 -05:00
Josh Aas
a5dc80b1cd
Bug 1061994 - remove Chromium worker pools from IPC code. rs=bent
2014-09-02 21:03:04 -05:00
Josh Aas
c3b9368b99
Bug 1061992 - remove Chromium hmac code from IPC code. rs=bent
2014-09-02 19:33:04 -05:00
Josh Aas
8035f72dbe
Bug 1061889 - remove Chromium statistics code. rs=bent
2014-09-02 18:04:59 -05:00
Josh Aas
d3655aff84
Bustage fix for bug 1059479, CLOSED TREE
2014-09-02 15:48:07 -05:00
Josh Aas
df78cc41bb
Bustage fix for bug 1059479, CLOSED TREE
2014-09-02 15:25:29 -05:00
Josh Aas
85d03dd759
Bug 1059479 - remove Chromium path service and trace events code. r=bent
2014-09-02 14:23:58 -05:00
Jacek Caban
cd7ba96e9d
Bug 1055655 - Fix warnings turned to errors by bug 1018288 found by mingw build. r=ted,jmathies
...
--HG--
extra : rebase_source : 2e1d8d0ae697515994b718634f8f8ae9b26b8d80
2014-09-02 11:07:25 +02:00
Ehsan Akhgari
8f9a796b91
Follow-up to bug 1060997 to fix the build bustage
2014-08-31 21:14:53 -04:00
Ehsan Akhgari
8e138d4419
Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug
2014-08-31 21:12:55 -04:00
Ehsan Akhgari
60ccfd2346
Bug 1053603
- Fix some more bad implicit constructors in the IPC code; r=bent
2014-08-07 21:18:59 -04:00
Sotaro Ikeda
93c1acb209
Bug 1042387 - Add file descriptors count check r=jrmuizel
2014-08-18 10:55:23 -07:00
Ehsan Akhgari
40d9e7c418
Backed out changeset 0409c8faca80 because of build bustage on a CLOSED TREE
2014-08-18 13:44:59 -04:00
Ehsan Akhgari
0ab9b21d10
Add SetProp to the list of windows.h #defined functions that we need to #undef, no bug
2014-08-18 13:19:16 -04:00
Daniel Holbert
8c367c2bf1
Bug 1052758: Remove unused variable 'kWorkScheduled' from message_pump_glib.cc. r=ehsan
2014-08-12 21:46:27 -07:00
Mike Hommey
78a9defead
Bug 1045783 - Move OS_LIBS from a passthrough to a more fully supported variable. r=gps
2014-08-06 07:25:05 +09:00
Ehsan Akhgari
42fe22a7e0
Bug 1048252 - Fix some bad implicit constructors in chromium IPC code; r=bent
2014-08-05 09:37:28 -04:00
Thinker K.F. Li
e9dc84b5a1
Bug 977026 - Part 2: B2G loader. r=khuey, r=cyu
...
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-30 03:24:00 -04:00
Mike Hommey
9424087517
Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE.
2014-07-29 14:50:41 +09:00
Thinker K.F. Li
5a9232dbfc
Bug 977026 - part 2: B2G loader. r=khuey,cyu
...
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-25 20:52:00 +02:00
Bill McCloskey
303f193952
Bug 988251 - Enable sending more than 4 file descriptors in the IPC channel (r=bent)
2014-07-16 23:03:03 -07:00
Landry Breuil
7d643332f3
Bug 761541 - Don't regenerate third_party/libevent/event.h if already there, avoids relinking libxul.so when nothing changed and building against native libevent. r=glandium
2014-07-10 11:03:41 +02:00
Makoto Kato
08646bad91
Bug 1030899 - Undefine _EVENT_HAVE_ISSETUGID. r=josh
2014-07-08 17:52:19 +09:00
Brian R. Bondy
cacb9c55fc
Bug 598615 - Rename HAVE_64BIT_OS to HAVE_64BIT_BUILD. r=ted
2014-06-24 22:16:25 -04:00
Ehsan Akhgari
a942cf3421
Undo more windows.h damage by undef-ing RemoveDirectory, no bug
2014-06-21 22:17:44 -04:00
Jan Beich
3f7d613d36
Bug 1016744 - Remove unused NamedProcessIterator from ipc/chromium. r=jld, rs=bsmedberg
2014-06-04 18:51:00 -04:00
Daniel Holbert
d62fd0400f
Bug 1020643: Annotate COMPILE_ASSERT's typedef as permissibly unused, to fix GCC 4.8 build warning. r=Waldo
2014-06-04 18:13:02 -07:00
Victor Porof
9ce7e9c089
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Emilio Pozuelo Monfort
5f055ea8d8
Bug 624422 - Clean up MOZ_WIDGET_GTK usages. r=karlt
...
Based on a patch from Mike Hommey.
2014-05-28 04:23:00 -04:00
Randell Jesup
964601c191
Bug 987979: Patch 3 - Fix various build issues in webrtc.org/Mozilla integration. r=rjesup
2014-05-29 17:05:14 -04:00
chiajung hung
098a829ab1
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Ed Morley
20dd87ee29
Backed out changeset 1a6ada013610 (bug 959089)
2014-04-25 17:51:15 +01:00
chiajung hung
c0cf680819
Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal
2014-04-25 02:28:00 -04:00
Shelly Lin
6437f8163e
Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey.
2014-03-27 16:49:06 +08:00
Aaron Klotz
025fed58f4
Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj
2014-04-08 22:57:52 -06:00
Viktor Stanchev
ffd378ba44
Bug 963158 - Profiler shouldn't sample sleeping threads multiple times. r=bgirard,roc,bent,froydnj
...
--HG--
extra : rebase_source : 75789c4359a2cb02b2588cfbc9b6b3cbd1e79c78
2014-03-28 16:08:22 -04:00
Josh Aas
5e8b893a0b
Bug 987923: Add autorelease pool locally in GetTempDir on OS X, and also to non-main-thread event loop. r=smichaud,bent
2014-03-25 15:27:12 -05:00
Andrea Marchesini
fdcbca4082
Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey
2014-03-25 18:37:13 +00:00
Jed Davis
ae7a935120
Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg
2014-03-21 08:50:07 -04:00
Chris Peterson
c5bae26a33
Bug 984080 - Fix clang and gcc warnings in ipc/chromium/. r=bsmedberg
2014-03-17 22:28:03 -07:00
Jed Davis
220bf0148e
Bug 976398 - Check camera permissions directly instead of using Unix groups. r=mwu r=bent
...
Loosely based on the code used to check PRemoteOpenFile.
2014-03-12 15:48:15 -07:00
Ehsan Akhgari
2f70114c7b
Bug 976363 follow-up: Remove the useless comment
2014-03-09 14:34:48 -04:00
Ehsan Akhgari
00217254c0
Bug 976363 - Assert that the work queue is empty when a MessageLoop goes away, and delete the tasks in the deferred queue; r=bsmedberg
2014-03-09 14:33:25 -04:00
Carsten "Tomcat" Book
d574219c44
merge b2g-inbound to mozilla-central
2014-03-04 14:31:59 +01:00
Kyle Machulis
b12634e3b5
Bug 979088 - Add padding to pickling in ipc so valgrind doesn't complain; r=bent
2014-03-03 20:05:14 -08:00
Ehsan Akhgari
3b5e7a8157
Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent
2014-03-03 21:35:51 -05:00
Ben Turner
12ad2f2255
Bug 974054, Use monotonic timers on POSIX. Fix from chromium repository. r=bsmedberg.
2014-02-24 13:17:31 -08:00
Oleg Romashin
5b8bccef6f
Bug 974335 - Refactor Qt Widget Backend implementation. Qt Only changes NPDB. r=romaxa
...
--HG--
rename : dom/system/unix/Makefile.in => dom/system/qt/Makefile.in
rename : dom/system/unix/QTMLocationProvider.cpp => dom/system/qt/QTMLocationProvider.cpp
rename : dom/system/unix/QTMLocationProvider.h => dom/system/qt/QTMLocationProvider.h
rename : dom/system/unix/nsHapticFeedback.cpp => dom/system/qt/QtHapticFeedback.cpp
rename : dom/system/unix/nsHapticFeedback.h => dom/system/qt/QtHapticFeedback.h
rename : dom/system/unix/moz.build => dom/system/qt/moz.build
2014-02-20 18:09:02 -08:00
Oleg Romashin
03b2b6e348
Bug 974335 - Refactor Qt Widget Backend implementation. Build changes . r=glandium
2014-02-20 18:08:58 -08:00
Ehsan Akhgari
9e38fc2acd
Bug 973393 - Move the LOCAL_INCLUDES in ipc to moz.build; r=glandium
2014-02-18 02:12:54 -05:00
Marcin Juszkiewicz
14f501d0f1
Bug 963023 - AArch64 support for libevent. r=froydnj
2014-02-12 10:07:48 -05:00
Benjamin Smedberg
7abfd31325
Bug 897870 - Add diagnostic OOM size to Pickle::Pickle crashes. r=dmajor
2014-02-11 13:40:42 -05:00
Jan Beich
f5bacac179
Bug 969932 - Remove unnecessary moz.build conditional for sendfile(2) on BSDs. r=glandium
2014-02-11 09:22:46 -05:00
Jed Davis
9af16a662a
Bug 945498 - Use breakpad to report seccomp violations as crashes. r=ted, r=kang
...
Upstream issue for breakpad patch: https://breakpad.appspot.com/1114003/
2014-02-05 13:29:51 -05:00
Marcin Juszkiewicz
a4575f651f
Bug 963030 - AArch64 support for IPC. r=bsmedberg
2014-01-29 17:07:36 -05:00
Josh Aas
521d7835d2
Bug 961760: Remove a bunch of unused Chromium IPC code. r=bent
2014-01-20 16:14:04 -06:00
Ms2ger
6d9ac3b27a
No bug - Remove unnecessary forward declaration from transport_dib.h.
2013-12-31 10:06:11 +01:00
Indrajeet Kumar
f920f0c2ec
Bug 945562 - Camera also needs AID_SDCARD_R and AID_MEDIA_RW groups in jb. r=dhylands
2013-12-09 00:21:37 -08:00
Wes Kocher
4f9a50b293
Backed out changeset 55a2561bb201 (bug 950401) for introducing several OSX mochitest timeouts
2013-12-17 16:50:30 -08:00
Bill McCloskey
5fc44d55e0
Bug 950401 - Add missing process logging on Mac/BSD (r=bsmedberg)
2013-12-17 13:26:17 -08:00
Ehsan Akhgari
ae6b29e6ac
Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent
2013-12-17 13:26:45 -05:00
Ben Turner
057f369312
Bug 939182 - Integrate the chromium MessageLoop into nsThread, r=bsmedberg.
...
--HG--
extra : transplant_source : %82%D3%C5%E1%A4%E5%00%1C%C3%82%97v%7F%BA%20Ja%AA%C7%E5
2013-10-23 05:01:24 -07:00
Jim Chen
e72ffaed40
Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa
2013-12-04 21:24:28 -05:00
Mike Hommey
881a7c1554
Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal
2013-12-03 06:34:21 +09:00
Mike Hommey
8fd06cf41b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Landry Breuil
19377b785e
Bug 931354: OpenBSD doesn't provide arc4random_addrandom anymore, fix libevent accordingly by #ifndef'ing out its caller evutil_secure_rng_add_bytes() (which isnt called anywhere) r=joshaas
2013-11-19 17:48:30 +01:00
Ehsan Akhgari
84a8a1d796
Bug 939538 - Build parts of the ipc code in unified mode; r=glandium
2013-11-19 07:38:59 -05:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Jaroslav Kopecký
32064a3ca2
Bug 933672 - Make sure in-tree libevent isn't built --with-system-libevent. r=glandium
2013-11-04 14:53:29 -05:00
Daniel Holbert
4908bbab5e
Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg
2013-10-31 19:39:03 -07:00
Mike Hommey
5e41d2d75c
Bug 932197 - Put QT generated files in GENERATED_SOURCES. r=gps
2013-11-01 10:30:45 +09:00
Mike Hommey
84fe98b48f
Bug 870406 part n - Move more CSRCS to moz.build. r=mshal
2013-11-01 10:30:45 +09:00
Wes Kocher
9e8ba0656b
Backed out changeset 4a21dc77dad9 (bug 932280) for inexplicably breaking win7debug browser-chrome tests on a CLOSED TREE
2013-10-29 17:19:15 -07:00
Oleg Romashin
d6e4b452a3
Bug 932280 - [Qt] Move moc_ files to Makefile.in in order to pass existance check for autogenerated files. r=Ms2ger
2013-10-29 07:56:53 -07:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
65c4700367
Bug 930380 - Make sure *SOURCES only point to existing files. r=gps
2013-10-25 07:58:17 +09:00
Brian O'Keefe
9c9d71fddb
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
3fa7456cd6
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Ehsan Akhgari
21157d1bc8
Backed out changeset 5373095214d9 (debugging patch for bug 924771) because it is no longer needed
2013-10-20 09:24:06 -04:00
Ehsan Akhgari
f8232ebf63
Debugging patch for bug 924771, landed on a CLOSED TREE
2013-10-19 13:35:13 -04:00
Landry Breuil
42962ccf95
Bug 927810: Fix ipc/chromium after p_psflags changes in struct kinfo_proc on OpenBSD. r=glandium
2013-10-18 11:13:45 +02:00
Ms2ger
f4153f40d4
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
b84550061a
Bug 912099 - Part b: Make sure CPP_SOURCES only points to existing files in ipc/chromium; r=mshal
2013-10-03 09:10:00 +02:00
David Anderson
47ae6f0cc8
Introduce new RPC messaging semantics (bug 910493 part 1, r=cjones).
2013-10-01 09:15:03 -07:00
Mark Hammond
5bc55a78af
Bug 920397 part 1 - base::CloseProcessHandle() checks result in debug builds and is used everywhere a process handle is closed. r=bsmedberg
2013-10-01 10:56:15 +10:00
David Anderson
437f6053a9
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
140b811282
Bug 771765 - Support template content process, part 2: IPC and glue changes. r=bent
...
Changes include:
* Getting/resetting platform thread ID.
* Creating an IPC channel with existing file descriptor sent from the template process.
* Child process host with existing process forked from the template.
2013-05-31 21:16:54 +08:00
David Anderson
fd2cf49aa1
Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
...
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Benoit Girard
c6760a62f1
Bug 919712 - Add labels in IPC message wait. r=benjamin
2013-09-24 11:40:01 -04:00
Nathan Froyd
117f140c46
Bug 909922 - don't pragma pack ipc message headers; r=bent
...
The IPC::Message header is surrounded by:
#pragma pack(push,2)
...
#pragma pack(pop)
which (at least on GCC) specifies that structure members defined lexically
within the pragma should be two-byte aligned, rather than the ABI's declared
alignment.
But for IPC::Message::Header, this is a silly requirement, as everything there
is four bytes; there's no reason to pack the members any tighter. And packing
tighter means that strict alignment platforms (like ARM) need to use more
complex code for something as simple as storing to one of the members--like
when we set a message's request ID, over and over and over. The current code
for setting a message's request ID on ARM looks like:
264: 6863 ldr r3, [r4, #4 ]
266: 696a ldr r2, [r5, #20 ]
268: 809a strh r2, [r3, #4 ]
26a: 0c12 lsrs r2, r2, #16
26c: 80da strh r2, [r3, #6 ]
With the patch, it looks like:
264: 6863 ldr r3, [r4, #4 ]
266: 696a ldr r2, [r5, #20 ]
268: 605a str r2, [r3, #4 ]
Only four bytes, but multiplied over several hundred set_routing_id calls, it
saves some code size and runtime. I verified that the header's length doesn't
change by looking at debug information.
2013-08-27 16:32:44 -04:00
Jed Davis
18b4888466
Bug 915129 - Don't link in epoll_sub.c from libevent on Android or B2G. r=bent
2013-09-12 11:08:50 -04:00
Ms2ger
4507bc1ead
Bug 913953 - Part ab: Remove unused WriteInto function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
2ee857480a
Bug 913953 - Part aa: Remove unused GetNonClientMetrics function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
d7caef66d0
Bug 913953 - Part z: Remove unused GetServicePackLevel function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
12e5df4340
Bug 913953 - Part y: Remove unused AddAccessToKernelObject function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
98911170b0
Bug 913953 - Part x: Remove unused GetUserSidString function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
d476eebff5
Bug 913953 - Part w: Remove unused GetLogonSessionOnlyDACL function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
40445f7249
Bug 913953 - Part v: Remove unused HWND subclassing functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
8354637364
Bug 913953 - Part u: Remove unused HWND user data functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
35187deb42
Bug 913953 - Part t: Remove unused HWND creation/destruction functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
2e3d886337
Bug 913953 - Part s: Remove unused UserAccountControlIsEnabled function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
05c03d605a
Bug 913953 - Part r: Remove unused GetClassName function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
b861c34a24
Bug 913953 - Part q: Remove unused MatchPattern function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
84148f8da2
Bug 913953 - Part p: Remove unused GetPagefileUsage function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
aeb5c961a6
Bug 913953 - Part o: Remove unused GetPeakPagefileUsage function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
533f1f6f83
Bug 913953 - Part n: Remove unused GetWorkingSetSize function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
3d093a9b97
Bug 913953 - Part m: Remove unused GetPrivateBytes function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
1eea33881e
Bug 913953 - Part l: Remove unused FreeMBytes struct; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
f5d3d71745
Bug 913953 - Part k: Remove unused GetCommittedKBytes function; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
9d4280b585
Bug 913953 - Part j: Remove unused GetWorkingSetKBytes function; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
c12bc71999
Bug 913953 - Part i: Remove unused ReduceWorkingSet and UnReduceWorkingSet functions; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
8b5e587505
Bug 913953 - Part h: Remove unused WaitForExitCode and GetAppOutput functions; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
1a19874da2
Bug 913953 - Part g: Remove unused GetProcessCount function; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
4511c5acc8
Bug 913953 - Part f: Remove unused process cleanup code; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
b7153a9d8a
Bug 913953 - Part e: Remove unused conversion code from CFStringRef and NSString; r=ehsan
2013-09-10 09:03:32 +02:00
Ms2ger
8362c90da1
Bug 913953 - Part d: Remove unused conversion code to CFStringRef and NSString; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
5d75570511
Bug 913953 - Part c: Remove unused FSRef code; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
e9be1996d4
Bug 913953 - Part b: Remove unused override app bundle code; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
da04b6c100
Bug 913953 - Part a: Remove unused JavascriptDoubleQuote functions; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
6eef18d6d4
Bug 909028 - Remove dead chromium code; r=ehsan, rs=bent
2013-09-06 08:42:41 +02:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Jeff Walden
de9ce95170
Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
...
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
2011-12-15 00:27:42 -05:00
Landry Breuil
9737f5cf31
Bug 909005: use getdents() on OpenBSD now that it is available r=glandium
2013-09-02 08:54:42 +02:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Steven Michaud
b954caad6c
Bug 884471 - Backport upstream libevent patch to hopefully work around the OSX "code -20" mochitest failures. r=bsmedberg
2013-08-27 14:15:49 -04:00
Ms2ger
1c4d224f0e
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Trevor Saunders
acfc9e9cd6
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
2013-08-12 05:51:49 -04:00
Brian O'Keefe
263f163332
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Ms2ger
30f4e6e119
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
9d023a67df
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Nathan Froyd
f702f81916
Bug 904619 - move dummy event to its sole use in ipc_sync_message.cc; r=bent
2013-08-13 10:56:44 -04:00
Mike Hommey
e2ff646a3c
Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg
2013-08-10 15:54:00 +09:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Joshua Cranmer
b82a7849fb
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Justin Lebar
eacb45e46d
Bug 893242 - Part 1: Add Unsound_IsClosed() and Unsound_NumQueuedMessages() to AsyncChannel. r=bent
2013-07-17 14:31:10 -07:00
Brian O'Keefe
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ryan VanderMeulen
e396d026b5
Merge birch to m-c.
2013-07-10 09:42:28 -04:00
Shelly Lin
96a46d1102
Bug 811636 - Close the child FD in the parent asap in order to detect when the child closes its FD. r=dhylands
2013-07-09 10:37:33 +08:00
Xavier Fung
1db230cd9a
Bug 889823 - ipc fail to compile using Visual Studio 2013 r=bsmedberg
2013-07-10 11:19:42 +09:00
Ed Morley
b4e5d925e1
Bug 855686 - Attempt to log cmdline for launched process; r=ted
2013-07-08 18:54:02 +01:00
Joey Armstrong
38ca368790
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Ms2ger
dd8f07a495
Bug 888573 - Remove bit_cast; r=Waldo
2013-07-10 11:54:35 +02:00
Joey Armstrong
53426849e7
bug 870407: move CMMSRCS to mozbuild (file batch #3 ). r=mshal
2013-07-02 17:09:08 -04:00
Catalin Iacob
09cfbe927e
Bug 798914 (part 2) - Use newly introduced mozilla::MallocSizeOf in chromium. r=njn.
...
--HG--
extra : rebase_source : 3488c0e9140919a78b9a8658f54a6dc162935653
2013-06-16 14:12:19 +02:00
Ms2ger
8d71159d4c
Bug 883537 - Remove dead testing code from chromium; r=bsmedberg
2013-06-23 09:14:36 +02:00
Ms2ger
d8bad3012d
Bug 883504 - Remove references to EXCLUDE_SKIA_DEPENDENCIES; r=bsmedberg
2013-06-23 09:14:26 +02:00
Justin Lebar
3837ac1912
Bug 885158 - If a message is sent on a closed IPC channel, delete it immediately. r=bent
...
Our old behavior was to enqueue it until the channel gets destructed.
--HG--
extra : rebase_source : 9766774838257d9e1a6adc15d3b4cf9e38fefcbe
2013-06-21 13:58:47 -07:00
David Anderson
7957b611c2
Bug 868919 - Confirm that the child process has received fd handles on OSX before releasing them. r=bent
2013-06-21 09:32:02 +12:00
Alex Xu
577bfccf43
Bug 853208 - Fix build break on Gentoo
2013-06-15 20:44:37 -04:00
Nathan Froyd
3d5d16ad9c
Bug 871596 - part 3 - replace memcpys of POD datatypes in Pickle with something smarter; r=bent
2013-06-05 13:01:05 -04:00
Nathan Froyd
1a69354879
Bug 871596 - part 2 - add a new memberAlignmentType to replace the scattered uint32_t alignments; r=bent
2013-05-30 11:31:35 -04:00
Nathan Froyd
46164cd78e
Bug 871596 - part 1 - rewrite Pickle's alignment mechanism to be more obviously optimizable; r=bent
2013-05-30 11:29:45 -04:00
Ehsan Akhgari
f6ad445a82
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Martin Stransky
d8da1b5a38
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00