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

3928 Коммитов

Автор SHA1 Сообщение Дата
aceman c52dc70005 Bug 1303466 - Export nsUConvPropertySearch.h so it can be found for dom/encoding/Unified_cpp_dom_encoding0.cpp. r=hsivonen
--HG--
extra : rebase_source : f45c2f7429b192926f3ed528c401b7d0fae6f977
2016-09-16 15:38:00 -04:00
Sylvestre Ledru 0d42c61ec9 Bug 1306509 - Fix a build error with -Werror=unused-variable r=njn
MozReview-Commit-ID: 4mFbamoWjoR

--HG--
extra : rebase_source : c2bc212e5a2c836576db316cb3bddc06b9f631e9
2016-09-29 18:34:03 -05:00
Jonathan Kew db16886be0 Bug 728180 - Use ICU normalization functions to implement nsUnicodeNormalizer when ENABLE_INTL_API is defined, in place of our obsolete/unmaintained normalization code. r=emk 2016-09-29 12:27:50 +01:00
Jonathan Kew 594fdb205d Bug 1305700 - pt 3 & 4 - Clean up/simplify use of ENABLE_INTL_API conditionals in nsUnicodeProperties (code rearrangement, no change in behavior). r=m_kato 2016-09-28 10:52:51 +01:00
Jonathan Kew 7f21325a4a Bug 1305700 - pt 1 & 2 - Exclude case mappings from nsUnicodePropertyData.cpp, and use ICU case mappings instead of our own table when building with ENABLE_INTL_API. r=m_kato 2016-09-28 10:47:05 +01:00
Xidorn Quan 73cb8d2d09 Bug 898984 - Part 2: Support surrogate pair in XUL cropped element. r=jfkthame 2013-08-11 03:41:00 +09:00
Xidorn Quan 8c11d66ab2 Bug 898984 - Part 1: Add ClusterReverseIterator in nsUnicodeProperties. r=jfkthame 2013-08-11 03:37:00 +09:00
Jonathan Kew e45cb1544d Bug 1296050 - When checking whether bidi resolution is needed, ignore Unicode directional-control characters that do not actually introduce right-to-left-ness. r=xidorn 2016-09-05 14:15:32 +01:00
Nicholas Nethercote 742fc7eb48 Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:

  nsAutoCString spec;
  uri->GetSpec(spec);
  printf("uri: %s", spec.get());

to be changed to this:

  printf("uri: %s", uri->GetSpecOrDefault().get());

This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.

I will fold this into part 1 before landing.

--HG--
extra : rebase_source : ddc19a5624354ac098be019ca13cc24b99b80ddc
2016-08-26 16:02:31 +10:00
Nicholas Nethercote 32e3b7a79e Bug 1295053 (part 6) - Don't use NS_METHOD for intl/uconv/ functions. r=froydnj.
These don't need __stdcall on Win32.

--HG--
extra : rebase_source : f9dde1306f7e663f3f6c89d4fee5a49324e90494
2016-08-16 12:12:29 +10:00
Arthur Edelstein 215601494b Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden, r=baku
--HG--
extra : rebase_source : 09f66db9914cdf865388669082f3efaca37ce558
2016-08-08 13:33:39 -07:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Jeff Walden 5a875fc573 Backed out changeset c3f06ba15fda -- worker setup isn't happening quite as early as it was assumed to occur, so we have impermissible cross-thread happenings occurring sometimes. r=three-to-five-oranges-per-push-per-philor 2016-08-08 19:43:15 -07:00
Arthur Edelstein 099e7246db Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden 2016-08-08 13:33:39 -07: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
Xidorn Quan 76db18facb Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium
MozReview-Commit-ID: FuwAgEGjhxm

--HG--
extra : source : c07ceab42b47b18a1e8d436e7c888bdd113575fa
2016-07-20 15:00:13 +10:00
Xidorn Quan 17ee95ed83 Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
MozReview-Commit-ID: 66TD5A3L73D

--HG--
extra : source : e35f507952ccb081e77d5ba78c1b0d2ed566ac73
2016-07-20 15:00:13 +10:00
Xidorn Quan 30788d7d8b Backed out 4 changeset (bug 1284406) for build bustage on CLOSED TREE
--HG--
extra : amend_source : 9ad3b754789e60fe021f5b1989d7063cea8ca457
extra : histedit_source : 66c8b4fc923335e88a4593fd900c6c2cf57f6123%2C0f634c3c453a5d922de0e4e66dac69deec9f729c
2016-07-16 12:27:45 +10:00
Xidorn Quan 7167e29a37 Bug 1284406 part 2 - Export ICU headers in include/unicode. r=glandium
MozReview-Commit-ID: FuwAgEGjhxm

--HG--
extra : source : a90c00e3fa63f1e9934fe5f515233dddb11970b6
2016-07-16 11:44:15 +10:00
Xidorn Quan 9b80ed9cd0 Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
MozReview-Commit-ID: 66TD5A3L73D

--HG--
extra : source : 61c129befe265ed4628995aaf71aa9ec6bfd9636
2016-07-16 11:44:15 +10:00
Xidorn Quan 01ff2c0efb Bug 1284197 - Make icu_sources_data.py runnable on Windows. r=glandium
MozReview-Commit-ID: JkNIxUUIzAX

--HG--
extra : source : 115eb6bdd28d3585617facc4b616e82c9f778b96
2016-07-16 11:44:15 +10:00
Kit Cambridge edd0c6d29f Back out 2 changesets (bug 1174386) for mochitest and xpcshell bustage.
Backed out changeset 71634609bbaf (bug 1174386)
Backed out changeset 9726b95aadf6 (bug 1174386)

MozReview-Commit-ID: CBB0CFQSjQu
2016-07-13 09:41:34 +02:00
Carsten "Tomcat" Book 0dd9cf8167 Backed out changeset 37aed188b674 (bug 1174386) unexpected pass in 576878.xhtml 2016-07-13 09:24:09 +02:00
Kit Cambridge 6bb5701fc8 Back out 2 changesets (bug 1174386) for mochitest and xpcshell bustage.
Backed out changeset 71634609bbaf (bug 1174386)
Backed out changeset 9726b95aadf6 (bug 1174386)

MozReview-Commit-ID: CBB0CFQSjQu

--HG--
extra : amend_source : 612af0b1385f6f2cfdcae3918b03ab297f1f7d78
2016-07-12 21:33:29 -07:00
Nicholas Nethercote a913f99107 Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more

--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00
Arthur Edelstein 214a38a3e8 Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden
--HG--
extra : rebase_source : bb58c75416d4942affef3617ec427b2745261cf3
2016-07-11 18:57:25 -07:00
Benjamin Smedberg bf05496a83 Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
MozReview-Commit-ID: EGqHHhCD7vD

--HG--
extra : rebase_source : a4b9593959dd3ba80189db47eabb056ea207490f
extra : amend_source : a744d833693f0fe7adbea961c00bb5fb55a91580
2016-07-07 12:14:25 -04:00
Krishna 85bf76ed8b Bug 1280757 - Load hyphenation from test profile directory. r=sebastian
MozReview-Commit-ID: 5xEJhXS35uZ

--HG--
extra : transplant_source : %B3Mmm%F8%29%ED%CA%CA%BA%DBgH%5C%94%FBxS_%87
2016-06-29 23:06:45 +08:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Andrea Marchesini 98894192c9 Bug 1272781 - nsEscape should work with ns(C)Strings and not with char pointers, r=smaug 2016-05-18 18:21:56 +02:00
Makoto Kato 40d86ab615 Bug 1268336 - Don't generate unixcharset.properties.h on Android build. r=mshal
Since Android build doesn't compile nsUNIXCharset.cpp, it is unnecessary to generate this header file.

MozReview-Commit-ID: 7JgepIN8s93

--HG--
extra : rebase_source : 5373832a05d41c73bd419a071a9ca87a092c6381
2016-05-16 17:09:29 +09: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
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Makoto Kato ca9ba56b72 Bug 1269246 - Remove unnecessary PromiseFlatString. r=hsivonen
MozReview-Commit-ID: HMZfLqE0RXn
2016-05-02 14:30:40 +09:00
Nicholas Nethercote 2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Jonathan Kew 4a8c24fce5 Bug 1265631 - followup with adjustments for review comments on patch 3. no_r=me 2016-04-26 11:19:19 +01:00
Jonathan Kew 545b8fc9cc Bug 1265631 - patch 3 - Add surrogate support to nsJISx4051LineBreaker so that supplementary-plane characters get correct line-breaking behavior. r=masayuki 2016-04-26 10:32:19 +01:00
Jonathan Kew 0b98a9737f Bug 1265631 - patch 2 - Implement GetLineBreakClass() accessor to get Unicode line-break class from ICU or nsUnicodeProperties data. r=masayuki 2016-04-26 10:32:17 +01:00
Jonathan Kew 982b1a0979 Bug 1265631 - patch 1 - Add line-break data from Unicode's LineBreak.txt to nsUnicodeProperties for builds without ICU. r=masayuki 2016-04-26 10:32:15 +01:00
Xidorn Quan 19931babd5 Bug 1097499 part 8 - Move CountGraphemeClusters to mozilla::unicode. r=emk
MozReview-Commit-ID: J9yR8RPs5u8

--HG--
extra : source : 7b937b3ba984e84da808cd072037726b56da1826
2016-04-22 09:18:41 +10:00
Xidorn Quan 20a1eb1cd7 Bug 1097499 part 7 - Add reverse function of GetFullWidth. r=emk
MozReview-Commit-ID: HRDoZPzr1GO

--HG--
extra : source : 84cb256d16e07d5316db23d5a08353cc7f1abe2a
2016-04-22 09:18:41 +10:00
Jonathan Kew c60f6a1ae4 Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
Jan Beich 60e6250747 Bug 1263325 - Unbreak build with libc++ and config/gcc_hidden.h after bug 1239083. r=glandium
MozReview-Commit-ID: 4y4j6o7V54D

--HG--
extra : transplant_source : %E2%27%20%2A%9Db%EE%252%AD%8F%CC%99_%C9%83%F3%ED%CD%CC
2016-04-11 11:38:54 +00:00
Masatoshi Kimura 44ae48d72a Bug 1255863 - Followup to fix an assertion. r=hsivonen 2016-04-09 17:55:40 +09:00
Ryan VanderMeulen 7543d4f06c Bug 1261190 - Skip no-NO in test_bug22310.js for Win10 failures. r=smontagu 2016-04-07 09:08:22 -04:00
Masatoshi Kimura 9696b4bdf6 Bug 1255863 - Stop using nsTableEncoderSupport subclasses in GBK/GB18030 encoders. r=hsivonen 2016-04-06 20:07:31 +09:00
Nicholas Nethercote c8c2a2bc4d Bug 1262324 (part 2) - Introduce nsUConvProp. r=emk.
This patch fixes the hack of using a trio of |const char*| pointers to
represent a property that has two strings and a length.

--HG--
extra : rebase_source : 9f603b768146a78baf9fa2b4096cccfae9f87322
2016-04-06 13:31:38 +10:00