Commit Graph

111 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
1d65dd6fe1 Bug 1205153 - Use channel->Open2() in intl/strres/nsStringBundleTextOverride.cpp (r=sicking) 2015-09-15 19:49:55 -07:00
Christoph Kerschbaumer
6e2873af5c Bug 1197923 - Use channel->Open2() in intl/strres/nsStringBundle.cpp (r=sicking) 2015-09-02 11:37:16 -07:00
Nicholas Nethercote
69d088e45f 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.
2015-08-27 20:44:53 -07:00
Birunthan Mohanathas
e1f0334d06 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Emanuel Hoogeveen
e1b03075a7 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Eugen Sawin
86e599082a Bug 1158131 - Add local resource whitelisting for string bundle channels. r=snorp
---
 intl/strres/nsStringBundle.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)
2015-04-30 18:07:49 +02:00
David Major
ed6ca74f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Mike Hommey
ee117642af Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Ehsan Akhgari
5cccea6f0f 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
Nathan Froyd
7ff6a1d668 Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
Calling QueryInterface with a statically known IID should typically not
be necessary.  In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.

In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Christoph Kerschbaumer
8bb0600bb8 Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Chris Peterson
47091050b7 Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Birunthan Mohanathas
897787c850 Bug 1070709 - Collapse test-only moz.build files under intl/ into ancestor moz.build files. r=mshal 2014-09-26 07:20:23 +03:00
Christoph Kerschbaumer
6167e5125a Bug 1038756: Callsites creating a channel in /intl/ (r=smontagu) 2014-09-21 09:43:27 -07:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Birunthan Mohanathas
90241100db Bug 1038537 - Part 6: Flatten intl/strres/{public,src}/ directories. r=smontagu
--HG--
rename : intl/strres/public/nsIStringBundle.idl => intl/strres/nsIStringBundle.idl
rename : intl/strres/public/nsIStringBundleOverride.idl => intl/strres/nsIStringBundleOverride.idl
rename : intl/strres/src/nsStringBundle.cpp => intl/strres/nsStringBundle.cpp
rename : intl/strres/src/nsStringBundle.h => intl/strres/nsStringBundle.h
rename : intl/strres/src/nsStringBundleService.h => intl/strres/nsStringBundleService.h
rename : intl/strres/src/nsStringBundleTextOverride.cpp => intl/strres/nsStringBundleTextOverride.cpp
rename : intl/strres/src/nsStringBundleTextOverride.h => intl/strres/nsStringBundleTextOverride.h
2014-07-24 10:56:39 -07:00
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Andrew McCreight
8ba5abc07a Bug 1034915 - Don't explicitly call delete on nsExtensibleStringBundle. r=ehsan 2014-07-08 13:46:24 -07:00
Benoit Jacob
965c1936df Bug 1028588 - Fix dangerous public destructors in intl/ - r=ehsan 2014-06-23 18:40:02 -04:00
Andrew McCreight
27f0eee9f8 Bug 971264 - Remove nsHashtable. r=bsmedberg 2014-05-15 09:52:57 -07:00
Birunthan Mohanathas
504b581650 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
Anuj Agarwal
d507d9e857 Bug 984125 - Convert nsStringBundleService::mBundleMap to nsDataHashtable. r=ehsan 2014-04-22 12:48:46 -07:00
Andrew McCreight
b19fcf6669 Bug 997963, part 9 - Make bundleCacheEntry_t FINAL, have COUNT_CTOR. r=ehsan 2014-04-21 16:34:07 -07:00
Andrew McCreight
a7f8f4b52f Bug 997963, part 8 - Fix typos in string bundle comment. r=ehsan 2014-04-21 09:41:57 -07:00
Andrew McCreight
2e76cc3387 Bug 997963, part 7 - Remove some old ifdef DEBUG_foo code from string bundle code. r=ehsan 2014-04-21 09:41:57 -07:00
Andrew McCreight
f4d4ddae6f Bug 997963, part 6 - Use a refptr in nsStringBundleService::getStringBundle. r=ehsan 2014-04-21 09:41:57 -07:00
Andrew McCreight
d51eefcac6 Bug 997963, part 5 - Remove some useless OOM checks from nsStringBundleService. r=ehsan 2014-04-21 09:41:57 -07:00
Andrew McCreight
d50d87269d Bug 997963, part 4 - Turn bundleCacheEntry_t::mBundle into an nsCOMPtr. r=ehsan
Also remove the now useless recycleEntry.
2014-04-21 09:41:57 -07:00
Andrew McCreight
234e5741cc Bug 997963, part 3 - Make bundleCacheEntry_t::mHashKey into an nsAutoPtr. r=ehsan 2014-04-21 09:41:57 -07:00
Andrew McCreight
e0614fe99d Bug 997963, part 2 - Allocate bundleCacheEntry_t using new and free. r=ehsan 2014-04-21 09:41:56 -07:00
Andrew McCreight
7e6d121327 Bug 997963, part 1 - Delete trailing whitespace from string bundle files. r=ehsan 2014-04-21 09:41:56 -07:00
Andrew McCreight
92b6eebe7d Bug 978486 - Remove nsErrorService::mErrorStringBundleKeyMap. r=froydnj 2014-03-04 09:49:40 -08:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
e655f946b2 Bug 946209 - Build intl/strres in unified mode; r=smontagu
--HG--
extra : rebase_source : aa4b70a6ad3bd3b718169cbf5ee2a7bd038e5c1d
2013-12-04 12:07:57 -05:00
Mike Hommey
931cb49886 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
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b 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
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Ehsan Akhgari
4b6eb92de5 Bug 921472 - Minimize the #includes in intl/; r=smontagu
--HG--
extra : rebase_source : 09da2f7e2e4602e2572a64f45828a660aefe5ec2
2013-09-27 12:45:04 -04:00
Gregory Szorc
160a20817c Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Makoto Kato
9d06ff2f05 Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg 2013-08-22 19:31:48 +09:00
Ms2ger
d54dfa0c57 Bug 904831 - Part c: Move conditional MSVC_ENABLE_PGO definitions into moz.build and remove empty makefiles; r=mshal 2013-08-22 08:56:01 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Joshua Cranmer
ed64749c51 Bug 884061 - Part 3l: Use NS_DECL_THREADSAFE_ISUPPORTS in intl/, r=smontagu
--HG--
extra : rebase_source : 8dcd2324d945f8f968690ec14d47d63935d35210
2013-07-18 21:23:32 -05:00
Trevor Saunders
238525e2d8 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
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00