Commit Graph

297 Commits

Author SHA1 Message Date
Jonathan Kew
241852b4cc Bug 724538 - Regenerate Unicode property data with updated script. r=emk 2016-01-13 15:45:22 +00:00
Jonathan Kew
f3933436cd Bug 724538 - When ICU is available in the build, replace most of nsCharProps2 fields with ICU property accessors. r=emk 2016-01-13 15:45:22 +00:00
Jan Beich
6263cbf48c Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Mike Hommey
547d572dd9 Bug 1229293 - Enforce order when setting a HierarchicalStringList, and forbid reassignment. r=gps
The current implementation of HierarchicalStringList allows the following:

   FOO.bar = [
       'foo',
       'bar',
   ]

while

   FOO.bar += [
       'foo',
       'bar',
   ]

would be invalid because of the StrictOrderingOnAppendList enforcement.

It also allows to overwrite the entire list with a subsequent

   FOO.bar = [
	'baz',
   ]

while we've explicitly forbidden such things for every other list.

While in the vicinity, fix HierarchicalStringList._get_export_variable to not
call the HierarchicalStringList constructor uselessly.
2015-12-02 11:04:37 +09:00
Ted Clancy
81a556ce8d Bug 1157727 - Part 1: Add paired bracket type property to our character data (patch originally by :tedders1, updated by :jfkthame). r=jfkthame 2015-10-06 01:26:23 -07:00
Carsten "Tomcat" Book
21f41275c4 Backed out changeset fb72e312f137 (bug 1157727) 2015-11-25 15:37:03 +01:00
Ted Clancy
f82605b72a Bug 1157727 - Part 1: Add paired bracket type property to our character data (patch originally by :tedders1, updated by :jfkthame). r=jfkthame 2015-10-06 01:26:23 -07:00
Henri Sivonen
08f918f297 Bug 1214619 - Remove nsISaveAsCharset as much as possible without breaking extensions in popular use. r=emk. 2015-10-22 11:18:45 +03:00
Aniket Vyas
a23d5b7f69 Bug 1197309 - remove PR_snprintf calls in intl/; r=froydnj 2015-10-15 21:43:53 -04:00
Simon Montagu
5381d57cba Bug 1201468: Map UErrorCode to nsresult, r=jfkthame 2015-10-06 02:59:00 -07:00
Chris Peterson
dd2fcb9b7d Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nicholas Nethercote
5f59618546 Bug 1203412 - Fix a warning in intl/unicharutil/. r=emk.
This change is for the following warning-as-error that shows up on "B2G L
Emulator" builds: "error: call to 'sprintf' declared with attribute warning:
sprintf is often misused; please use snprintf".

The patch also removes two ALLOW_COMPILER_WARNINGS=True flags, which are no
longer necessary.
2015-09-10 08:01:24 -07:00
Makoto Kato
b2c7b13c7d Bug 1170072 - Part 2. Use ICU instead of GetCharProps1 and its supporting data if ICU is turned on. r=jfkthame 2015-09-07 11:56:13 +09:00
Makoto Kato
9bd627e4ba Bug 1170072 - Part 1. Make GetCharProps1 as static function. r=jfkthame 2015-09-07 11:54:46 +09:00
Jonathan Kew
464d68dda1 Bug 1201533 - Remove the GetEastAsianWidth API and its supporting character-property data. r=smontagu 2015-09-06 19:39:49 +01: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
Makoto Kato
f676e73f32 Bug 1175413 - Cleanup usages of MOZ_ICU_CFLAGS. r=mshal 2015-07-23 09:53:48 +09:00
Simon Montagu
2794a73d24 Bug 1183209 patch 3: update generated data files to Unicode 8, and adapt internal XIDMOD types to the new types in Unicode's xidmodifications.txt, r=jfkthame 2015-07-15 05:55:24 -07:00
Simon Montagu
ca2a9d7d2f Bug 1183209 patch 2: update data generation tools to Unicode 8, r=jfkthame 2015-07-15 05:55:09 -07:00
Kartikaya Gupta
33db177d3f Bug 1169433 - Remove UnicharSelfTest and turn NormalizationTest into a gtest. r=glandium,smontagu 2015-06-04 13:44:55 -04:00
Mike Hommey
4245f5c436 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Mike Hommey
a186075cb0 Bug 1043692 - Move DIST_INSTALL to moz.build. r=gps 2015-05-12 07:55:22 +09:00
Andy Pusch
d0bfe27324 Bug 1003731 - Removal of transliteration. r=hsivonen
IGNORE IDL
2015-04-22 00:21:00 -04:00
Ted Clancy
8444b170f5 Bug 1151908 - Updating our character property data with new Bidi info from Unicode 6.3. r=smontagu 2015-04-17 14:19:39 -04:00
Randall Barker
f2a3a563d8 Bug 1097804 - Part 2 - Added xpcomrt build of library containing unicode util functions. r=gps
Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC
2015-04-03 15:55:00 +02:00
Wes Kocher
23381e8c6e Backed out changeset c7da4d4c09aa (bug 1097804) 2015-04-02 13:42:31 -07:00
Randall Barker
6ddf23e6a3 Bug 1097804 - Part 2, Added xpcomrt build of library containing unicode util functions. r=gps
Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC
2015-04-02 12:13:47 -07: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
Trevor Saunders
6fea45f1df bug 1122100 - more MOZ_OVERRIDE in xpcomish stuff r=froydnj 2015-01-19 17:41:12 -05:00
Ehsan Akhgari
016a359c65 Bug 1118418 - Mark virtual overridden functions as MOZ_OVERRIDE in intl; r=smontagu 2015-01-06 23:33:50 -05:00
Chris Peterson
9cad8a95ff Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps 2014-12-04 01:11:14 -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
Simon Montagu
6dea43f4b8 Bug 1100071 patch 2: add macros for common tests whether bidi level is odd and whether two bidi levels have the same parity, r=dholbert 2014-11-20 12:45:22 +02:00
Mike Hommey
21ec48314e Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Ehsan Akhgari
c81ab5a327 Bug 1079319 - Fix some more bad implicit constructors in intl; r=smontagu 2014-09-24 09:16:53 -04:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Georg Fritzsche
f6dc6b0d5b Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00
Jonathan Kew
3d0e09e48c Bug 1071478 - Update unicode data tables for new release of UTR50 (revision 13). r=smontagu 2014-09-23 11:05:41 +01:00
Jonathan Kew
8ed93928c8 Bug 1066756 - Include characters with Unicode category Sk (modifier symbol) in double-click word selection. r=mats 2014-09-15 17:19:24 +01:00
Mike Hommey
c2a27deef9 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
8fd95ad480 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari
914b3af86e Bug 1060999 - Fix more bad implicit constructors in intl; r=smontagu 2014-09-01 17:43:50 -04:00
Jonathan Kew
5d9a1a8462 bug 1057330 pt 3 - provide character property accessor for Vertical_Orientation. r=smontagu 2014-08-28 16:00:03 +01:00
Jonathan Kew
a35f478ca0 bug 1057330 pt 2 - regenerate Unicode character property tables with updated tool. rs=smontagu 2014-08-28 16:00:03 +01:00
Jonathan Kew
5107a89a97 bug 1057330 pt 1 - update genUnicodePropertyData tool to add Vertical_Orientation property. r=smontagu 2014-08-28 16:00:02 +01:00
Jonathan Kew
ff680a75ee bug 1057548 patch 3 - regenerate transliterate.properties for unicode 7.0. r=smontagu 2014-08-24 15:23:53 +01:00
Jonathan Kew
61e02212a3 bug 1057548 patch 2 - regenerate unicode data tables for version 7.0. r=smontagu 2014-08-24 15:23:24 +01:00
Jonathan Kew
6a0162f1d3 bug 1057548 patch 1 - update table-generating tools. r=smontagu 2014-08-24 15:22:54 +01:00
Nathan Froyd
2374d4767a Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00