Commit Graph

356 Commits

Author SHA1 Message Date
Jeff Walden
6fc5b5e274 Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke 2011-12-19 16:58:30 -05:00
Jeff Walden
47be809fe0 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
efc97fe9ac Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures 2011-12-19 10:43:08 -08:00
Jeff Walden
208159aab8 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
a5f3676554 Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-09 11:12:51 +00:00
Neil Rashbrook
d11585e633 Bug 698256 Add and use Substring(data, length) convenience method r=dbaron 2011-12-09 08:35:41 +00:00
Honza Bambas
103f3eb202 Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold 2011-12-09 00:14:42 +01:00
Ed Morley
b1b5515356 Backout 9a59028a3510 (bug 676349) on suspicion of breaking Win PGO builds 2011-12-07 02:22:09 +00:00
Honza Bambas
15b4352a07 Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold 2011-12-06 12:16:16 +01:00
Ed Morley
fddedbce14 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Neil Deakin
58982e7cf0 Bug 94199, part 3, add GetValue method to nsISupportsKey, r=bsmedberg 2011-11-03 16:39:08 -04:00
Jiten Thakkar
90a4845b1b 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
2a602a5685 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
15a828aa14 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
4170d0da18 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
d8e503c38b 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
cc2ce861d1 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Shawn Gong
7369d04bb8 Fixed bug 672641, implemented CharTokenizer which takes arbitrary char as delimiter. r=sicking 2011-07-21 11:13:06 -07:00
Ted Mielczarek
7dee353035 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
6324ef934e 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
ab15475a72 Bug 676192 - Remove kHashEnumerateRemove and make nsHashtableEnumFunc return PRBool, r=bsmedberg 2011-08-22 19:15:54 -07:00
Phil Ringnalda
99f1c05821 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
7ca73796ab 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
1c4b998234 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
887ff1b97a Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Matheus Kerschbaum
d996705797 Bug 677529 - Remove manual jspubtd.h inclusions from IDL files. r=Ms2ger 2011-08-14 19:12:35 +02:00
Jeff Muizelaar
cb92f6ff06 Bug 660662. Eliminate NS_(ceil|floor). r=roc
These just called the system versions.
2011-05-30 15:08:55 -04:00
Jeff Muizelaar
5ab481bfcc Revert 17fa5a741f84.
The asserts were catching bug 673226 harder than we'd like.
2011-08-10 22:30:10 -04:00
Jeff Muizelaar
e7eb090882 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
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Ed Morley
24be888a22 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
3649eaecfa 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
7115c1b565 Bug 672055 - Use nsCharSeparatedTokenizer to parse number-optional-number attributes. r=dholbert sr=jonas 2011-07-23 09:41:17 +01:00
Jeff Muizelaar
f5865f36e6 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
5abdccf9ba 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
b3ee61fe21 Bug 486081. Remove nsTime. r=roc
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Matheus Kerschbaum
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Kyle Huey
b908447ca8 Bug 663479: Move all IDB structured clone operations to the main thread. r=bent 2011-06-24 07:21:21 -07:00
Marco Bonardo
acc6a474c6 Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey
cb9b5a078f Bug 663479: Move all IDB structured clone operations to the main thread. r=bent 2011-06-24 07:21:21 -07:00
Jonas Sicking
caef7c47a8 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ginn Chen
bd84420522 Bug 654655 ieeefp.h is required for finite() on Solaris r=bz 2011-05-18 09:47:37 +08:00
Ed Morley
aa86759d37 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Ms2ger
48d0794225 Bug 630052, part a: Add NS_finite API to nsMathUtils; r=bz 2011-04-02 14:18:40 -04:00
Ehsan Akhgari
73dd5db57d 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
326315dab1 Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Jeff Muizelaar
649e74e3f6 Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg 2011-03-31 20:14:13 -04:00
Ehsan Akhgari
49fceed112 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
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 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
a75fb12531 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)
cc8b4c9c6c 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
f4575bfe5e 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
4e1b7d656b Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Jeff Muizelaar
3e62f06d3f Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg 2011-03-31 20:14:13 -04:00
L. David Baron
b2e59587e8 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
635a2437ca Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc 2011-03-26 00:30:19 -04:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f 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
6309f84e6d 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
c389b80a3c 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
7987aa8357 Bug 601535 - fix CheckedInt warnings - r=khuey, a2.0=joe 2010-10-12 17:01:59 -04:00
Benoit Jacob
dde5763eeb Bug 555798 - CheckedInt improvements, init by 0 - r=neil 2010-10-12 17:01:59 -04:00
Benoit Jacob
39b2609bc8 Bug 583325; CheckedInt: beware of signed right shift; r=lw 2010-08-05 09:59:37 -04:00
Benoit Jacob
af55a384ea Bug 580034; Some CheckedInt tweaks; r=jmuizelaar 2010-08-05 09:57:06 -04:00
Neil Rashbrook
c1ba581be6 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
8a5a8c7f9e 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
530eba15e8 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
9d2392dcc8 Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats 2010-07-16 09:08:05 +12:00
Chris Jones
593697156c Bug 576467: Check the return value of clock_getres(). r=roc 2010-07-15 14:27:43 -05:00
Boris Zbarsky
92a03af2bc Bug 558306 part 1. Add a TimeDuration::ToMilliseconds. r=cjones 2010-07-15 09:59:23 -04:00
Benoit Jacob
54efe381b9 b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir 2010-07-03 18:33:05 -04:00
Benoit Jacob
75dbbc1f1f b=576067; Let WebGL use CheckedInt; r=vladimir 2010-07-03 18:32:19 -04:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
a2833452f8 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
e43682cb4c b=555798; add CheckedInt class; r=jmuizelaar, r=vladimir 2010-06-30 11:53:41 -04:00
Benjamin Smedberg
63c0077443 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
6e8d912e32 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
5cab25b52b 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
9045c05660 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
7393907967 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
13c247559e Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Jason Orendorff
ee50fdd206 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
5aa27b84c9 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
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Daniel Holbert
d4bf1daecc Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes) 2010-05-04 07:43:48 -07:00
Daniel Holbert
4d7b4ac88a 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
06a036b3ef 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
54c4f9b04b Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
a904d63111 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
20950733f1 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
9a289a56f1 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
c8a6358870 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
3afa89d964 revert 43e12453336f, it was fixed by another changeset 2010-04-28 17:44:24 +08:00
Ginn Chen
314bd364fe Bug 560717 Linux FPE running make check r=bsmedberg 2010-04-28 17:40:03 +08:00
Vladimir Vukicevic
838f1fb2ff b=560717; fix TimeStamp initialization in TimeStamp_posix; r=bsmedberg 2010-04-26 14:26:40 -07:00
Vladimir Vukicevic
e3731a1e45 b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop 2010-04-26 11:13:03 -07:00
Vladimir Vukicevic
3ce92fdab6 b=480735; add infrastructure for simple timeline logging; r=bsmedberg 2010-04-20 00:04:42 -07:00
Jonas Sicking
e6aa8d8aab Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch. 2010-03-08 08:03:55 -08:00
Jonas Sicking
0baab851d8 Bug 534136 Part 6: Properly handle invalid UTF8 string being passed to NS_NewAtom/do_GetAtom. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
3cfc98309e Bug 534136 Part 5: Clean up atomtable hash entries. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Uli Link
d5626e719c Bug 537967 - Moving FILE_ILLEGAL_CHARACTERS from nsCRT.h to nsCRTGlue.h for frozen linkages, r=bsmedberg,sr=shaver 2010-03-07 15:15:31 +01:00
Chris Jones
5e03f750df Bug 541185: Fall back on clock_getres() when resolution detection fails, and remove bogus upper-bound sanity check. r=roc 2010-03-01 15:44:05 -06:00
Justin Dolske
d8daefadb7 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Gavin Sharp
5589f1de57 Bug 538920: give nsIObserver the "function" attribute to allow directly passing JS function objects to nsIObserverService::addObserver, r=bsmedberg 2010-01-11 05:01:38 -05:00
Chris Jones
800ff959c1 Bug 522126, part 3: Use POSIX-clock TimeStamp/TimeDuration implementation if configure.in says it's supported. r=luser 2010-01-07 11:21:33 -06:00
Chris Jones
1399b2b545 Bug 522126, part 2: Add a POSIX clock (CLOCK_MONOTONIC) implementation of TimeStamp/TimeDuration. r=roc 2010-01-07 11:21:28 -06:00
Chris Jones
176bc71fd6 Bug 522126, part 1: refactor TimeStamp/TimeDuration so that platform-specific implementations can be added. r=roc 2010-01-07 11:21:23 -06:00
Henri Sivonen
580302d483 Bug 514661 - Introduce scoped atom tables for the HTML5 parser. r=bsmedberg, sr=dbaron.
--HG--
extra : rebase_source : 12e9731c0d86691cde40fc1ea4cc5ab4b3fb5168
2009-09-18 18:13:10 +03:00
Jonas Sicking
e147c900f4 Bug 507114: Make the observer-service deal with do_QueryReferent causing observers to be added or removed. r=bsmedberg 2009-11-16 17:07:41 -08:00
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dbd6355ce6 Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes 2009-11-02 11:36:43 -08:00
L. David Baron
125bd1103e Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
Blake Kaplan
025564a0a9 Bug 520891 - nsHashtable::Put returns null on both failure and when we're adding a new entry. Assume the latter since it's correct more of the time. r=bsmedberg
--HG--
extra : rebase_source : e42e940235456e6edd4dc6d4cfc0f45c1cf71f97
2009-10-07 14:00:01 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Ted Mielczarek
2218ea81b0 fix a leak in nsINIParser::GetSections/GetKeys. r=bsmedberg (no bug)
--HG--
extra : rebase_source : 7ed4d2d3aca5eb90a08e506accc6a82e37fe200e
2009-08-18 11:52:23 -04:00
timeless@mozdev.org
1a965c5ef0 Bug 505886 nsHashtable::Exists doesn't unlock mLock if !mHashtable.ops
r=bsmedberg
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
e2c82df69a Bug 485834 ObserverService shouldn't recurse infinitely for stupid consumers
r=dougt
2009-08-12 11:49:52 +02:00
Serge Gautherie
28965346e8 Bug 508760 - Remove MSVC6 support from the tree; (Bv1) xpcom/ds/*.cpp; r=doug.turner
--HG--
extra : rebase_source : 5a08118a7f1562c89c4e0da5035ef6a578eca9f2
2009-08-09 00:45:46 +02:00
Makoto Kato
815f6cdd90 Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg 2009-07-24 19:11:23 +09:00
Serge Gautherie
82a4092aee Bug 306840 - Improve PR_GetEnv() usages; (Cv1a) <XpCom/nsAtomTable.cpp> (= sync'ed Bv2); r=timeless sr=neil 2009-06-11 19:47:33 +02:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Robert O'Callahan
3b41dc81ee Bug 486991. Add useful operators to TimeStamp/TimeDuration. r=bsmedberg 2009-04-11 21:38:40 +12:00
Robert O'Callahan
5bde4bb05f Backout incorrectly pushed changes 2009-04-06 14:19:27 +12:00
Robert O'Callahan
1ca364a2d0 Fix libxul test bustage
--HG--
extra : rebase_source : 49e42436893e10cae0e70cc5468b4d95a47cb07d
2009-04-06 14:15:26 +12:00
Robert O'Callahan
5ed0163b93 Bug 484921. Create TimeDuration/TimeStamp API that never rolls over and provides better typechecking than PR_IntervalTime. r=bsmedberg,cgj 2009-04-06 11:49:48 +12:00
Arpad Borsos
e79293b2c0 Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg 2009-04-03 18:43:08 +02:00
Makoto Kato
b66ef2ce00 Bug 472609 - Support Win64 (LLP64 model) for xpcom/ds. r=benjamin 2009-03-06 22:37:13 +09:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
timeless@mozdev.org
d79aacc7cc Bug 471296 nsArray (NS_ARRAY_CONTRACTID) can't be used on a single thread of its creator's choice, r=bsmedberg 2009-01-15 20:02:22 -08:00
Taras Glek
5c08797a3f Bug 471087. Kill nsIDKey. r=bsmedberg
--HG--
extra : rebase_source : 9d60a541863c545101417cf00a11cb9ceda70a09
2009-01-08 21:43:07 +13:00
Robert O'Callahan
50bd83420a Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Benjamin Smedberg
8e93542d35 Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent 2008-12-11 15:13:52 -05:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Robert O'Callahan
a5b355c436 Fixing filename case bustage 2008-10-01 14:17:15 +13:00
Jonas Sicking
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Ryan VanderMeulen
950f98985d Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless 2008-09-12 18:24:14 +02:00
Boris Zbarsky
764231c2b9 Bug 439206. Make sure to not skip over the next char after the high surrogate when we have a missing low surrogate. r+sr=jst 2008-09-04 11:13:54 -04:00
Joe Drew
e4a9682ed2 Bug 449543 - nsExpirationTracker's Iterator doesn't work properly, r=roc a=bsmedberg 2008-08-19 10:27:28 -04:00
Justin Dolske
6321402495 Reland bug 121341. 2008-08-13 21:30:45 -07:00
Justin Dolske
91ec607e05 Backed out changeset db55605b2a4c (relanding bug 121341) 2008-08-13 21:30:12 -07:00
Dave Townsend
a05706f1bf Backout of bug 121341 2008-08-13 21:45:08 +01:00
Dave Townsend
ba0b5395d8 Backed out changeset cc82f602d986 2008-08-13 21:44:20 +01:00
Neil Rashbrook
9d850c9502 Bug 447593 Crash [@ NS_NewAtom] r=bsmedberg 2008-08-11 21:26:40 +01:00
Michal Novotny
8ed418dcef Bug 121341. Switch nsPersistentProperties::Load from reading a char at a time to reading a block at a time, with a state-machine parser and all. r=bsmedberg, sr=bzbarsky 2008-08-07 17:05:19 -04:00
Sudheer Kumar Peddireddy
18c18ceba1 Increase the initial sizes of hash tables that are guaranteed to grow. b=432633 r=dbaron 2008-06-03 15:25:31 -07:00
David Mandelin
dbe96cfe58 Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg 2008-05-02 18:03:38 -07:00
smontagu@smontagu.org
fcd4cf5362 Define codepoints below 0x20 as illegal characters in filenames. Bug393488, r=bsmedberg, b=beltzner 2008-04-02 09:05:55 -07:00
reed@reedloden.com
6674ea7ffa Bustage fix for bug 413787. 2008-04-01 21:21:31 -07:00
reed@reedloden.com
2372c88cc4 Bustage fix for bug 413787. 2008-04-01 21:09:08 -07:00
reed@reedloden.com
f4bcba49f5 Bug 413787 - "NSToIntRound, NSToCoordRound code generation" [p=mmoy@yahoo.com (Michael Moy) r+sr=roc a1.9=schrep] 2008-04-01 20:47:07 -07:00
benjamin@smedbergs.us
ca89a98e8c Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
reed@reedloden.com
2696e083e0 Bug 415262 - "Make general use of new NSPR rotate macros" [p=swsnyder@insightbb.com (Steve Snyder) r=wtc sr=dbaron a=blocking1.9+] 2008-02-13 03:34:46 -08:00
peterv@propagandism.org
e7f578a6a7 Part 2 of the fix for bug 413281 (Firefox leaks when Yahoo Toolbar is installed). r/sr=sicking. 2008-02-07 03:37:18 -08:00
benjamin@smedbergs.us
e8c45488e3 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
dwitte@stanford.edu
0179ddf326 remove nsValueArray. b=410360, r+sr=bsmedberg, a=schrep 2008-01-10 12:18:22 -08:00
reed@reedloden.com
1d602b3c42 Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
jwalden@mit.edu
a9b2dc0526 Kick one of the unit test tinderboxen into another build. 2007-11-17 11:47:05 -08:00
reed@reedloden.com
ffa3ace89f Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer] 2007-10-19 16:26:52 -07:00
reed@reedloden.com
e2df9b35fd Backout taras's check-in for bug 398435 to help find Tp regression. 2007-10-16 17:31:01 -07:00
tglek@mozilla.com
62f4ae88bd Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer 2007-10-15 16:40:09 -07:00
benjamin@smedbergs.us
e56c3d784d Bug 392977 - Freeze nsIHashable for 1.9, r=dbaron 2007-10-02 12:16:30 -07:00
roc+@cs.cmu.edu
20e5bb075c Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon 2007-09-30 14:34:56 -07:00
dholbert@cs.stanford.edu
a1da58e6f5 Bug 381074 - Add overflow check for unit conversion in NSFloatPixelsToAppUnits. r=bz sr=roc blocking1.9=dbaron 2007-09-25 10:12:17 -07:00
scott@scott-macgregor.org
f9d06920f7 Bug 384979 --> move nsTextFormatter to the glue code so it can be used with frozen linkage. Patch by prasad <prasad@medhas.org> sr=bsmedberg a=bsmedberg 2007-09-20 16:14:25 -07:00
roc+@cs.cmu.edu
0c7941bd6b Bug 394691. Remove nsAutoBuffer.h now that it's unused (use nsAutoTArray instead). 2007-09-18 17:24:27 -07:00
roc+@cs.cmu.edu
559a8984a7 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
aaronr@us.ibm.com
2c8a07cf79 move nsDeque to xpcom glue. Bug 395349, r+a=bsmedberg 2007-09-18 11:14:34 -07:00
sharparrow1@yahoo.com
287e3b3a5d Bug 282814: nsAutoBuffer::EnsureElemCapacity is broken. r=bsmedberg, a=bzbarsky. 2007-09-05 18:26:57 -07:00
sharparrow1@yahoo.com
70dae41e30 Bug 387023: minor string cleanup in nsAtomTable.cpp. r=bsmedberg, a=bzbarsky. 2007-09-05 18:13:42 -07:00
jwalden@mit.edu
f57320c98b Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
pavlov@pavlov.net
448c760419 bug 378457. use nsAutoBuffers instead of mallocs for unsicribe item data. r=vlad, sr=bsmedberg. original patch from David Humphrey <david.humphrey@senecac.on.ca> 2007-08-28 13:44:12 -07:00
sharparrow1@yahoo.com
6e635b361e Bug 387445: Remove thread safety from atoms. r+sr=dbaron, a=bzbarsky 2007-08-07 12:16:52 -07:00
benjamin@smedbergs.us
0e047142a4 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
jonas@sicking.cc
29f28d46a0 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
jst@mozilla.org
a5ca1451f3 Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org 2007-07-11 13:46:43 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
sharparrow1@yahoo.com
1aec3714f6 Bug 368280: rounding problems with half-pixels + widgets. r+sr=roc 2007-07-01 22:22:51 -07:00
sdwilsh@shawnwilsher.com
63c8d13237 Bug 314846 - exthandler doesn't remove : colon from mac file names (Random filename after downloading). Patch by Edward Lee <edilee@gmail.com>. r=benjamin, sr=cbiesinger 2007-06-26 17:45:52 -07:00
wtc@google.com
ac2afcf8a6 Bugzilla Bug 376568: the definition of PR_STATIC_ASSERT has been moved fromprerror.h to prlog.h. r=jwalden sr=roc 2007-05-28 07:51:08 -07:00
peterv@propagandism.org
98955fbcad Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
asqueella@gmail.com
3c8901d1d8 Bug 347752 - Crash [@ MSVCR80.dll] when using nsIProperties service get method with null argumentp=Alfred Kayser <alfredkayser@nl.ibm.com>r=darin, sr=dougt 2007-05-13 09:48:39 -07:00
smontagu@smontagu.org
fa6eefc1a9 Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin. Recheckin including fix for bug 378839, r=bsmedberg, sr=biesi 2007-04-29 10:51:38 -07:00
smontagu@smontagu.org
4266bdbdc9 Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC 2007-04-26 11:56:30 -07:00
bent.mozilla@gmail.com
410a990fb7 Bug 37795 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg. 2007-04-26 06:53:48 -07:00
smontagu@smontagu.org
360c411c82 Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin 2007-04-25 07:48:12 -07:00
jwalden@mit.edu
28e59734d6 Bug 376568 - Use NSPR static assertion to check parametrized value of K on nsExpirationTracker. r+sr=roc 2007-04-12 15:19:26 -07:00