Commit Graph

1758 Commits

Author SHA1 Message Date
Tim Abraldes
e58929288d bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg 2012-05-23 10:09:10 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Robert Longson
4fd52b5cbf Bug 756404 - Address post-landing review comments from bug 512525. r=jwatt 2012-05-18 11:41:30 +01:00
Robert Longson
da7b0caeee Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Benoit Jacob
6de3cc03da Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
fa7d54dc65 Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
030b3abd45 Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
edb4a0b353 Bug 732875 - 5/8 - update CheckedInt docs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
3f5a6d6552 Bug 732875 - 4/8 - CheckedInt: make nonstandard features optional - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
d93597d918 Bug 732875 - 3/8 - update CheckedInt typedefs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
534e463c32 Bug 732875 - 2/8 - Let CheckedInt support the 3 families of integer types: stdint, standard integer types, and PR types - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
c170d6091a Bug 732875 - 1/8 - switch CheckedInt to support stdint types instead of PR int types - r=jwalden 2012-05-14 15:50:19 -04:00
Ed Morley
0f956d7307 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
95a2d59d82 Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
1e2e2b7cf8 Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
310c865351 Bug 732875 - 5/8 - update CheckedInt docs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
d5e33e4e53 Bug 732875 - 4/8 - CheckedInt: make nonstandard features optional - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
5529b2bb6e Bug 732875 - 3/8 - update CheckedInt typedefs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
7ffe0143e7 Bug 732875 - 2/8 - Let CheckedInt support the 3 families of integer types: stdint, standard integer types, and PR types - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
f9040a6b65 Bug 732875 - 1/8 - switch CheckedInt to support stdint types instead of PR int types - r=jwalden 2012-05-14 15:50:19 -04:00
Jeff Muizelaar
5a074cfc83 Bug 751727. Remove NSPR TimeStamp implementation. r=roc
PR_IntervalNow() is not necessarily monotonic and so we shouldn't be using it
for implementing TimeStamp, especially now that it is exposed to web content
(Bug 539095).

Furthermore, it seems that the nspr implementation is being used
unintentionally on some platforms. For example, we used to use it on Android
and just now I see that it is being used in FF12 on Ubuntu.

--HG--
extra : rebase_source : cacc7f2c1d614631b93768e5979cc0820db46d54
2012-05-04 01:17:55 -04:00
Shriram Kunchanapalli
86b1d55b6f Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Andrew McCreight
05fb8bb993 Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Nicholas Nethercote
59ad4345e7 Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
Patrick Wong
4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ryan VanderMeulen
bac0adaded Backout 48213b973bfb (bug 695515) due to suspected OSX orange. 2012-04-24 20:51:53 -04:00
Anant Narayanan
6707836f9a Bug 695515 - Remove last use of memmem. r=khuey 2012-04-24 08:21:12 -07:00
Ryan VanderMeulen
503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Mark Capella
bfa59371ce Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Peter Van der Beken
3b271dc91f Add include guards to nsVariant.h. No bug. r=bz. 2012-03-29 13:18:32 -07:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Jacob Holzinger
6a62cb6a9b Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Nathan Froyd
094e7d2b3c Bug 730825 - Part 2: remove nsDoubleHashtable.h; r=bsmedberg 2012-03-02 09:52:26 -05:00
Justin Lebar
88875b0e3a Bug 729952 - Part 2: Use a better hash function in nsCRT, nsTHashtable, and pldhash. r=bz 2012-03-02 17:20:44 -05:00
Justin Lebar
69fb6f1047 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Boris Zbarsky
b338b37cbf Bug 730414 followup comment to address review comments 2012-02-29 21:44:02 -05:00
Boris Zbarsky
a27156b93e Bug 730414. Expose a quick way to get a hash key for an atom. r=bsmedberg 2012-02-29 21:40:51 -05:00
Nathan Froyd
a34fca0853 Bug 700659 - Delete nsHashSets code. r=bsmedberg 2012-02-27 11:26:58 -05:00
Nathan Froyd
da98e3c58e Bug 722689 - remove nsHashSets from nsCheapSets; r=bsmedberg 2012-02-10 11:30:40 -08:00
aceman
5cfbcc2a29 Bug 406336 - Fix indexOf and enumerate documentation. r=benjamin 2012-02-22 14:05:23 +01:00
Robert O'Callahan
4d53757359 Bug 727695. Add TimeDuration::FromMicroseconds. r=cjones 2012-02-19 21:53:40 +13:00
Nicholas Nethercote
7559a70a04 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Andrew McCreight
821eb101a0 Bug 720292 - add more cycle collector edge names. r=smaug 2012-01-23 15:25:53 -08:00
Nicholas Nethercote
91f119ffce Bug 715770 (part 3) - Remove nsRecyclingAllocator. r=bsmedberg. 2012-01-17 17:29:52 -08:00
Daniel Holbert
342467745b Bug 679832 followup: Use StdInt.h-provided intptr_t to let nsCheapSets int-to-void* cast be cross-platform. r=bsmedberg 2012-01-12 17:01:18 -08:00
Jeff Walden
1f1e0e3e33 Bug 716112 - Add an optional second argument to MOZ_ASSERT to allow explanations to accompany assertions, if desired. r=cjones
--HG--
extra : rebase_source : a6be7ef89c91a58df489057ca4ea67791b6881a0
2012-01-06 15:51:27 -06:00
Daniel Holbert
ce07a2ef7a Bug 679832: In nsCheapSets, cast 32-bit value to intptr_t before converting it to 64-bit void*, to silence GCC 4.6 warning. r=bsmedberg 2012-01-11 12:45:55 -08:00