Граф коммитов

85 Коммитов

Автор SHA1 Сообщение Дата
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Jim Chen ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Jim Chen 78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Margaret Leibovic 72e76f303f Bug 1234238 - Restore FFB theme. r=sebastian
--HG--
extra : commitid : FODpzH00bto
extra : rebase_source : b2849c8bed9e123c33a8c209515e31fe9fb9a584
2015-12-21 17:09:05 -05:00
Margaret Leibovic c763154973 Bug 1232761 - Expose telemetry/fhr settings directly in restricted profile admin UI. r=sebastian
--HG--
extra : commitid : FE0KvI9RjIO
extra : rebase_source : 9ce1d4296aff0435cb27a977fab9b5ca52bcc271
2015-12-18 11:37:26 -05:00
Haik Aftandilian 1a97b60af0 Bug 1232374 - remove nsAutoArrayPtr usages from toolkit/; r=froydnj 2015-12-17 09:37:47 -08:00
Sebastian Kaspari ce921cce96 Bug 1222377 - Add option to enable blocking content in restricted profiles. r=margaret
(Feature only enabled in Nightly until we deployed an actual block list)

--HG--
extra : commitid : G6Lq4JIrzPy
extra : rebase_source : 23b89ec1c039d7a0771e63d6d81736430e65dc58
2015-12-15 13:34:49 +01:00
Wes Kocher 72e906f6af Backed out changeset 0ac99e7e0440 (bug 1222377) for testRestrictions bustage in android rc3
--HG--
extra : commitid : Lxw3mc0Zmvu
2015-12-15 14:11:10 -08:00
Sebastian Kaspari 19c4497cec Bug 1222377 - Add option to enable blocking content in restricted profiles. r=margaret
(Feature only enabled in Nightly until we deployed an actual block list)

--HG--
extra : commitid : 9KVeAmXbSZV
extra : rebase_source : b55299a0ead543d8dd1bc702ed9b753d4dff009c
extra : amend_source : 5290e5514ff66fad7a3bfa623aaeab66454e17bb
2015-12-15 13:34:49 +01:00
Sebastian Kaspari 2d6c0c0b33 Bug 1125286 - Restricted profiles: Introduce toggle for "Data choices". r=margaret
--HG--
extra : commitid : IDSL63avb3M
extra : rebase_source : 9f2510f6bd4577ea3de8ad6552ab9d71bb6b30fe
2015-11-27 16:27:34 +01:00
Sebastian Kaspari db5aae07ef Bug 1189336 - (Part 3) Move from a list of disallowed things to a list of restrictable features. r=ally
--HG--
extra : commitid : KSNcNwqDdsf
extra : rebase_source : b5a8becbf236df83ed3773a76456f905a29c0cc1
2015-11-11 18:17:19 +01:00
Sebastian Kaspari 33f113a021 Bug 1189336 - (Part 1) Rename RestrictedProfiles to Restrictions. r=ally
RestrictedProfiles: The name of the class can be confusing because it handles
guest profiles and restricted profiles. We might even query it from a normal
profile.

--HG--
rename : mobile/android/base/RestrictedProfiles.java => mobile/android/base/Restrictions.java
extra : commitid : BtjvH8aWSlk
extra : rebase_source : 262c9537d7e93658ceea6f94c8481a393ddd3072
2015-11-11 12:29:07 +01:00
Sebastian Kaspari 7fe6ce1c36 Bug 1222381 - Remove default theme for restricted profiles. r=ally
Instead we will introduce a theme picker in bug 1220251.

--HG--
extra : commitid : 3ri8bKZK5rK
extra : rebase_source : 61ec6d19e28388b183c4fe7f67029aeaff52d179
extra : amend_source : 5265e4fc7012afefe839dfa1f98fc1b3e97fc4c1
2015-11-11 13:56:31 +01:00
Sebastian Kaspari 6761261be6 Bug 1191741 - Family friendly browsing: Restrict sharing of camera and microphone with websites. r=ally
--HG--
extra : commitid : JHH8Rr8VrUK
extra : rebase_source : 59fe5a4508003c53446284c3bf51931a6a5b5073
2015-11-09 16:05:09 +01:00
Margaret Leibovic 2ef375af3f Bug 1217073 - Update restricted profile toggles to account for new settings organization. r=sebastian
--HG--
extra : commitid : 3amJfMfOEPv
extra : rebase_source : 8c9f38614d37608448c4ffedadfc7ee737e9827e
2015-11-06 17:26:03 -05:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Sebastian Kaspari 1fd7001f01 Bug 1199596 - Only install "Parental Controls Theme" for restricted profiles and not guest profiles. r=ally
From browser.js's point of view there's no difference between restricted and guest profiles. Both use the
parental controls API. So there are only two "simple" solutions here:

* 1) Add a method to nsIParentalControlsService to determine whether the current profiles is a restricted or
  a guest profile (Something like isGuest()). But then every platform using this interface would require
  to at least implement a stub for this method.

* 2) Add a new restriction that controls installing the theme.

This patch implements option 2. While this restriction is not of much use besides deciding whether we need
to install a specialized theme (DISALLOW_DEFAULT_THEME), it still offers the most flexibility. In a
follow-up bug we could decide to make the restriction configurable by the device admin (requires localized
strings).

--HG--
extra : commitid : 1HcJmNLuz7b
extra : rebase_source : d43407713b7d41a546213e75b7d5e4f03a8b3d78
2015-08-31 18:09:42 +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
Jim Chen d1f529698f Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Sebastian Kaspari 4873e328c5 Bug 1189414 - Restricted Profiles: Clean up missing and unneeded restrictions. r=ally
* Synchronize nsIParentalControlsService.idl and Restriction.java
* Do not hide 'tools' menu but menu items of disabled features
* Hiding 'Report site issue' should not be configurable
* Restricted profiles: DISALLOW_INSTALL_APPS is a system restriction and should not be configurable
* RestrictedProfileConfiguration: Use AboutPages

--HG--
extra : commitid : 8DTKY8nESVS
extra : rebase_source : b0f91e9d578fbeea6093a1f6af9ffa645daa6d2a
2015-08-06 10:51:45 +02:00
Sebastian Kaspari 44c14baf93 Bug 1125977 - Restricted profiles: Hide setting to set master password. r=ally
--HG--
extra : commitid : 20fbuH5Hyzs
extra : rebase_source : bafc4e8840ae8f53ee36be0937530459a6e71ae0
2015-07-31 10:19:46 +02:00
Sebastian Kaspari cf8a9f962f Bug 1188905 - Restricted profiles: Prevent clearing history. r=margaret
--HG--
extra : commitid : 5UXciGuiA05
extra : rebase_source : 246fed443e3d45efd9127a71f69f0e2254db0ebe
2015-07-31 09:59:01 +02:00
Sebastian Kaspari 58e78a3578 Bug 1125975 - Restricted profiles: Hide display settings. r=margaret
--HG--
extra : commitid : 97BeGRE6Zj3
extra : rebase_source : de8a3119fb6519d9addb35b1164f76aa963575ad
2015-07-31 09:45:40 +02:00
Sebastian Kaspari 208eda38c4 Bug 1125309 - Restricted profiles: Hide all Location Services features and related UI. r=margaret
--HG--
extra : commitid : 42c8GrRQAla
extra : amend_source : b3babc754a9bce1d26fcde235ed2d88aae431d1d
2015-07-30 20:18:03 +02:00
Sebastian Kaspari 2b86ebbaeb Bug 1125290 - Hide private browsing support and all related UI. r=margaret
--HG--
extra : commitid : 2LWSL6EAKjQ
extra : amend_source : fef3505c7afebef412827a3bbc99ca92166d97da
2015-07-30 19:55:18 +02:00
Sebastian Kaspari 2523bc8f66 Bug 1125312 - Bug 1125313 - Restriced profiles: Hide "Tools" and "Report Site Issue" menu items. r=ally
--HG--
extra : commitid : 7gRtjkmHG9Q
extra : rebase_source : 93b44eea82001dcc9731ab1905b545c0f2c20bbd
extra : amend_source : 2dc6285f4f918c1c8bb79f18ceb4c43fc83be2e8
2015-07-06 17:08:06 +02:00
Mike Hommey 924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
wesj 46e3babf4c Bug 1113658 - Disable parental control logging on Android. r=mfinkle 2015-01-29 10:40:59 -08:00
Jim Chen db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Jason Duell 888295aca2 Bug 1087182 - Only send Prefer:Safe header if Web Filtering is on (Windows-only) r=dougt 2014-11-11 15:17:37 -08:00
Doug Turner 4a4253aa97 Bug 1073134 - Be more permissive on OSX 10.9.5 when parental control is on. r=jdm 2014-10-14 20:57:00 +02:00
Wes Johnston df61304766 Bug 1074496 - "Disable import from Android in Guest mode" [r=liuche] 2014-09-29 16:19:00 -07:00
Nick Alexander f54014e6bc Bug 1064177 - Part 1: Add RestrictedProfiles.DISALLOW_MODIFY_ACCOUNTS. r=wesj
This corresponds to UserManager.DISALLOW_MODIFY_ACCOUNTS.

--HG--
extra : rebase_source : 9a337cf2cb7c3cf6d8ae4c9b9c7a41138651410f
2014-09-26 11:44:55 -07:00
Daniel Holbert 8409189107 Bug 1068977: Mark toolkit/components/parentalcontrols as FAIL_ON_WARNINGS. r=jaws 2014-09-22 15:57:38 -07:00
Arnaud Sourioux 36f230ceed Bug 1010103: Suppress Linux Clang Warning on unused private field mEnabled in nsParentalControlsService.cpp r=jaws 2014-09-22 15:57:05 -07:00
Mark Finkle 4b81524e74 Bug 1066671 - Regression: Downloading is broken r=wesj 2014-09-14 11:17:18 -04:00
Wes Johnston 03414226cb Bug 1058150 - Use restricted profiles for guest mode. r=mfinkle 2014-09-09 15:08:37 -07:00
Mark Finkle 99cb17f066 Bug 1042715 - Add support for Restricted Profiles r=rnewman 2014-08-20 09:10:06 -04:00
Richard Newman cb038d901f Bug 1006051 - Follow-up: correct over-zealous regex replace. r=trivial 2014-07-23 17:16:29 -07:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Benoit Jacob 210693da34 Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Doug Turner 8538cb176e Bug 1006051 - Implement nsIParentalControlsService on the Mac. r=smichaud 2014-05-05 11:24:25 -07:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Masatoshi Kimura 8ddf7de8a5 Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00