Jeff Muizelaar
8e52a1df42
Bug 711491. Add a StringBuilder class. r=bgirard
...
--HG--
extra : rebase_source : ff726c89f01ca985167e7b0e7a45f6ef86cc27e6
2011-12-16 08:53:30 -05:00
Nicholas Nethercote
667df781bd
Bug 712835 (part 3 of 3) - Move AtomImpl and PermanentAtomImpl out of the header. r=khuey.
...
--HG--
extra : rebase_source : d3fafaa3582faa1642b146d06fe0dfc457639e0a
2011-12-22 17:24:44 -08:00
Nicholas Nethercote
57e4fd55b0
Bug 712835 (part 2 of 3) - Add a memory reporter for the nsAtomTable. r=khuey.
...
--HG--
extra : rebase_source : 3c934649d072e0d519c905cb8baf49b12bce0312
2011-12-22 17:24:43 -08:00
Jeff Walden
a158abd5b6
Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke
2011-12-19 16:58:30 -05:00
Jeff Walden
55d623be48
Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
...
--HG--
extra : rebase_source : e87978380d0821746e7df78dfacc7e381aefccb3
2011-12-17 22:47:45 -05:00
Matt Brubeck
347ae519fe
Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures
2011-12-19 10:43:08 -08:00
Jeff Walden
d6fa425c6b
Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
...
--HG--
extra : rebase_source : 8ca811fe7427626e39f677a672986a27829b0feb
2011-12-17 22:47:45 -05:00
Ed Morley
994e2f4cb4
Merge last green changeset of mozilla-inbound to mozilla-central
2011-12-09 11:12:51 +00:00
Neil Rashbrook
daba677bf4
Bug 698256 Add and use Substring(data, length) convenience method r=dbaron
2011-12-09 08:35:41 +00:00
Honza Bambas
e09bec0c14
Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold
2011-12-09 00:14:42 +01:00
Ed Morley
fc379bcc47
Backout 9a59028a3510 (bug 676349) on suspicion of breaking Win PGO builds
2011-12-07 02:22:09 +00:00
Honza Bambas
4e68ed8180
Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold
2011-12-06 12:16:16 +01:00
Ed Morley
4163fb7744
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Gregory Szorc
1a1f7b30ae
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Neil Deakin
720d31dc88
Bug 94199, part 3, add GetValue method to nsISupportsKey, r=bsmedberg
2011-11-03 16:39:08 -04:00
Jiten Thakkar
6f58530101
Bug 683517 - Make nsExpirationTracker expire all tracked objects when memory-pressure notification is observed. r=roc
2011-10-28 18:36:00 -04:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
L. David Baron
8283b68954
Make the Darwin TimeStamp implementation assert when used before it is initialized. (Bug 693821) r=bzbarsky
...
--HG--
extra : transplant_source : %0B%E5o%993%09%9Fx%27%C5%03NA%A9u%00%82d-%1C
2011-10-12 10:34:39 -07:00
Jeff Muizelaar
760a7e0bbc
Bug 564613. Add documentation to TimeStamp comparing it to C++11's time_point. r=cjones
...
--HG--
extra : rebase_source : dc9f17795565031874f11956cea168bbcee1b616
2011-10-06 11:08:59 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Luke Wagner
f1c2cdd326
Bug 684526 - Unify jsval and js::Value (r=jorendorff)
...
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Shawn Gong
9bc4975c2d
Fixed bug 672641, implemented CharTokenizer which takes arbitrary char as delimiter. r=sicking
2011-07-21 11:13:06 -07:00
Ted Mielczarek
a4f0dbd4f0
bug 682319 - use C99 isfinite on OS X, since finite is deprecated (and not present on iOS). r=bz
2011-08-29 11:14:27 -04:00
Jeff Muizelaar
d628f34ad0
Bug 673228. Use MOZ_ASSERT instead of NS_ASSERTION in TimeStamp.h. r=roc,cjones
2011-08-10 19:32:35 -04:00
Michael Wu
09c0b18b41
Bug 676192 - Remove kHashEnumerateRemove and make nsHashtableEnumFunc return PRBool, r=bsmedberg
2011-08-22 19:15:54 -07:00
Phil Ringnalda
32f48e73ff
Back out 902a7c3eb320 for failing to build on Windows, and 196df669baba for failing to build without it
2011-08-18 20:04:10 -07:00
Daniel Holbert
c38af3c4b3
Bug 679832 followup: add an #include <stdint.h> to fix bustage on Linux Opt QT build.
2011-08-18 16:32:19 -07:00
Daniel Holbert
971e0f2b9f
Bug 679832: Explicitly cast to a pointer-sized integer, when converting between 32-bit ints and void* pointers in nsCheapSets.h. r=bsmedberg
2011-08-18 16:11:55 -07:00
Matheus Kerschbaum
8a4cb927fd
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Matheus Kerschbaum
01939c1789
Bug 677529 - Remove manual jspubtd.h inclusions from IDL files. r=Ms2ger
2011-08-14 19:12:35 +02:00
Jeff Muizelaar
1f4cd33169
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Jeff Muizelaar
8301ad8f64
Revert 17fa5a741f84.
...
The asserts were catching bug 673226 harder than we'd like.
2011-08-10 22:30:10 -04:00
Jeff Muizelaar
a5b4e01eb8
Bug 673228. Use MOZ_ASSERT instead of NS_ASSERTION in TimeStamp.h. r=roc,cjones
...
--HG--
extra : rebase_source : 108c53d18227ee0932751c61c8024faf23183b82
2011-08-10 19:32:35 -04:00
Michael Wu
fbcd07dca0
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07:00
Ed Morley
e3464bb801
Bug 666984 - Remove/substitute NS_FloatIsFinite since it does the same thing as NS_finite; r=jwatt
2011-08-01 13:43:23 -04:00
Landry Breuil
234bf820e1
Bug 674324. Remove leftover references to HAVE_CPP_MEMBER_TEMPLATES/HAVE_CPP_NUMERIC_LIMITS
...
Those should have been removed in rev e5f0916b32d3 (bug 499262)
2011-07-29 15:40:37 -04:00
Robert Longson
0c88b8e318
Bug 672055 - Use nsCharSeparatedTokenizer to parse number-optional-number attributes. r=dholbert sr=jonas
2011-07-23 09:41:17 +01:00
Jeff Muizelaar
9e70947b80
Bug 539093. TimeStamp implementation for OS X using mach_absolute_time. r=cjones
...
--HG--
extra : rebase_source : 66c407448f94ae1b9efa8c7d0d7291e22b5e6191
2011-07-20 14:27:10 -04:00
Jeff Muizelaar
7783f30193
Bug 672207. Add toMicroseconds() for more precision. r=cjones
...
--HG--
extra : rebase_source : a363b3c67c0cebf72777347e741e2499067c1fa3
2011-07-20 13:38:34 -04:00
Yu-Hsun Lin
32325c5b26
Bug 486081. Remove nsTime. r=roc
...
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Matheus Kerschbaum
b0c1f89ef4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Kyle Huey
c87ac2f24d
Bug 663479: Move all IDB structured clone operations to the main thread. r=bent
2011-06-24 07:21:21 -07:00
Marco Bonardo
da3f6b77ac
Revert to changeset a87ee7550f6a due to incomplete backout
2011-06-24 17:23:04 +02:00
Kyle Huey
2ee40b712d
Bug 663479: Move all IDB structured clone operations to the main thread. r=bent
2011-06-24 07:21:21 -07:00
Jonas Sicking
cfcfd3bcb2
Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg
2011-06-16 12:21:25 -07:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ginn Chen
b16e642b85
Bug 654655 ieeefp.h is required for finite() on Solaris r=bz
2011-05-18 09:47:37 +08:00
Ed Morley
33aac194a8
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Ms2ger
ef6537b3b7
Bug 630052, part a: Add NS_finite API to nsMathUtils; r=bz
2011-04-02 14:18:40 -04:00
Ehsan Akhgari
2cc302e02c
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Jeff Muizelaar
b8fdd3ad9d
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Jeff Muizelaar
18eec4d83d
Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg
2011-03-31 20:14:13 -04:00
Ehsan Akhgari
cccdef8b2f
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Ehsan Akhgari
4342d9e7e4
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
bd51cb9b94
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Jeff Muizelaar
18b3ad188c
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Jeff Muizelaar
54d6f693a6
Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg
2011-03-31 20:14:13 -04:00
L. David Baron
db6289bc0a
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Markus Stange
a477f2efe9
Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc
2011-03-26 00:30:19 -04:00
Kyle Huey
225c13b333
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Mitchell Field
646d79f2db
Merge mozilla-central to build-system.
2011-02-23 00:01:54 +11:00
Mitchell Field
a6788f0842
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Ehsan Akhgari
d9b3b4ace6
Bug 635546 - Calculate the string length correctly for REG_EXPAND_SZ values expanded through nsWindowsRegKey::ReadStringValue; r=bsmedberg,jimm a=blocking-betaN+
...
The buffer length returned from ExpandEnvironmentStringsW includes the terminatng
null character, so we need to decrement it before setting the string length, as
XPCOM strings need to be stored with correct length information.
2011-02-22 11:05:26 -05:00
Ehsan Akhgari
b6e363a27f
Bug 634819 - Use the nsIWindowsRegKey APIs instead of direct Win32 API calls; r=josh,jimm a=shaver
2011-02-17 16:18:53 -05:00
Benoit Jacob
85e269ca54
Bug 601535 - fix CheckedInt warnings - r=khuey, a2.0=joe
2010-10-12 17:01:59 -04:00
Benoit Jacob
1cb062d360
Bug 555798 - CheckedInt improvements, init by 0 - r=neil
2010-10-12 17:01:59 -04:00
Benoit Jacob
0ed4ed63bc
Bug 583325; CheckedInt: beware of signed right shift; r=lw
2010-08-05 09:59:37 -04:00
Benoit Jacob
295cb5f473
Bug 580034; Some CheckedInt tweaks; r=jmuizelaar
2010-08-05 09:57:06 -04:00
Neil Rashbrook
e77338c43a
Bug 581652 Some versions of GCC don't like nsCRT::IsAsciiSpace r=jst a=bsmedberg
2010-07-27 12:45:59 +01:00
Boris Zbarsky
69a743e18b
Bug 558306 part 1.5. Make TimeDuration::FromMilliseconds take a double. r=cjones, sr=roc
2010-07-21 15:57:33 -04:00
Mounir Lamouri
64eb241071
Bug 555559: Make nsCharSeparatedTokenizer a template that can accept varying definitions of whitespace. r=smaug,sicking sr=jst
2010-07-21 09:07:10 -07:00
Robert O'Callahan
06e139fe2b
Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats
2010-07-16 09:08:05 +12:00
Chris Jones
b46adb74f9
Bug 576467: Check the return value of clock_getres(). r=roc
2010-07-15 14:27:43 -05:00
Boris Zbarsky
9eb0315c7c
Bug 558306 part 1. Add a TimeDuration::ToMilliseconds. r=cjones
2010-07-15 09:59:23 -04:00
Benoit Jacob
c84a062c1e
b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir
2010-07-03 18:33:05 -04:00
Benoit Jacob
e6358a2cb1
b=576067; Let WebGL use CheckedInt; r=vladimir
2010-07-03 18:32:19 -04:00
Mitchell Field
d0f35f6883
Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
...
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
e17740e1ab
Merge mozilla-central to the bug 568691 branch.
...
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benoit Jacob
8f98b1fc9c
b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir
2010-06-30 11:53:41 -04:00
Benjamin Smedberg
29e089defb
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
4f8e7bcf17
Fix review comments from bug 568691 comment 45.
2010-06-24 11:56:28 -04:00
Benjamin Smedberg
31432df1fb
Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
...
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
c611ebcd81
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Jacek Caban
f48d5e9dd0
Bug 569586 - XPCOM compilation failure on mingw-w64 due to pointer to int cast loosing precision. r=benjamin
...
--HG--
extra : rebase_source : e4d0b0b110992af5f397aea52c36a5f5ed9f56c5
2010-06-25 14:02:24 +02:00
Robert Sayre
5da1b58f01
Merge mozilla-central to tracemonkey
2010-05-17 13:55:37 -04:00
Jason Orendorff
424f3e2bab
Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
...
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
1e779602f9
Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
...
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Michael Kohler
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Daniel Holbert
fabe85bdd1
Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes)
2010-05-04 07:43:48 -07:00
Daniel Holbert
8c1dcec454
Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc
2010-05-04 07:43:48 -07:00
Daniel Holbert
bf0bf82b9c
Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc
2010-05-04 07:43:48 -07:00
Daniel Holbert
53e2d8458c
Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc
2010-05-04 07:43:48 -07:00
Daniel Holbert
b59db02690
Bug 562310 Part 2: Convert nsCommaSeparatedTokenizer class into a custom-SeparatorChar version, nsCharSeparatedTokenizer. r=roc
2010-05-04 07:43:48 -07:00
Daniel Holbert
76eb0b7a70
Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
...
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
timeless@mozdev.org
f02c41da0a
Bug 562525 - nsPropertiesParser::FinishValueState potentially uses a variable uninitialized dependent on a member of a class in a file with threadsafe classes, r=bsmedberg
...
--HG--
extra : rebase_source : 56cb882be1612a7975f1d845e7a8b96e2ab0d060
2010-04-28 17:55:00 -07:00
timeless@mozdev.org
62a31492f2
Bug 561709 Change the dash to an underscore in the status of nsIRecyclingAllocator, r=bsmedberg
2010-04-26 01:18:00 -07:00
Ginn Chen
0540a17b38
revert 43e12453336f, it was fixed by another changeset
2010-04-28 17:44:24 +08:00