Commit Graph

465 Commits

Author SHA1 Message Date
Justin Lebar
a55182fa93 Bug 687722 - Make swapping two nsAutoTArrays preserve their auto-ness when possible. r=roc 2011-09-22 11:22:20 -04:00
Justin Lebar
75d358b0cd Bug 685438 - Avoid wasted space in nsTArray_base due to jemalloc rounding up. r=roc
--HG--
extra : rebase_source : a7248bd865ffdc8932ee6dcc796cd4e48a5498ab
2011-09-21 00:46:56 -04:00
Atul Aggarwal
89e9702d5f Bug 685905 - Adding ReplaceElementAt to nsTArray. r=sicking 2011-09-20 21:04:35 +05:30
Ed Morley
dfbe5b23ad Bug 687342 - Move arm.cpp to ARM ifeq block in xpcom/glue/objs.mk to stop MSVC arm.obj LNK4221 warning; r=khuey 2011-09-20 02:13:08 +01:00
Justin Lebar
087ea9e1a0 Bug 686597 - Add a copy constructor to nsAutoTArray and friends. r=bz 2011-09-15 22:16:14 -07:00
Jacek Caban
6f8d9b5235 Bug 680868 - pldhash.cpp fails to compile on mingw-w64 r=benjamin 2011-09-09 15:07:22 +02:00
Atul Aggarwal
01f1da4a4a Bug 661962: Remove mostly-unused variable 'rv' from nsINIParser::Init (moving it inside the #ifdef block where it's used). r=bsmedberg 2011-09-01 03:06:26 +05:30
Ed Morley
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Oleg Romashin
994208d9c8 Bug 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg 2011-08-31 13:16:13 +01:00
Matheus Kerschbaum
3bcb2143b6 Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
887ff1b97a Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Ehsan Akhgari
e48161b8ff Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Mike Hommey
c06a2320b0 Bug 675618 - Compile pldhash as C++. r=bsmedberg
--HG--
rename : xpcom/glue/pldhash.c => xpcom/glue/pldhash.cpp
2011-08-09 09:06:37 +02:00
Rafael Ávila de Espíndola
072904f4bf Bug 674446 - Add a bit of logging to nsGlueLinkingOSX.cpp; r=glandium 2011-08-08 23:16:23 -04:00
Kyle Huey
ea6fb77663 Bug 674284: Add nsTArray::SizeOf. r=bsmedberg 2011-08-01 14:37:00 -04:00
Kyle Huey
edfd32c652 Backed out changeset 030c419226ed 2011-08-01 08:26:15 -04:00
Kyle Huey
812161b9e1 Bug 674284: Add nsTArray::SizeOf. r=bsmedberg 2011-08-01 08:11:26 -04:00
Chris Pearce
3683db2819 Bug 664341 - Provide API to specify thread stack size. r=bsmedberg 2011-07-27 15:26:47 +12:00
Justin Lebar
052b79f0ee Bug 657917 - Update nsIClassInfoImpl docs. r=peterv
--HG--
extra : rebase_source : 1815579133e03e9f1579ea5f1d3deb784be45e11
2011-05-20 12:37:32 -04:00
Timothy B. Terriberry
d8e5f86ad1 Bug 668672 - Respect HAVE_ARM_NEON in MSVC NEON detection, r=jmuizelaar 2011-06-30 16:26:30 -07:00
Ted Mielczarek
4c1a85c89f bug 681716 - use dlopen linking glue on iOS. r=bsmedberg 2010-11-05 09:11:57 -04:00
Peter Van der Beken
2cc98005f0 Fix for bug 664388 (NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS uses wrong pointer). r=bent.
--HG--
extra : rebase_source : b98acfb314f8b3e59b31d10e6ac7bc7d965287a1
2011-06-21 15:23:35 +02:00
Andrew McCreight
8795ae8744 Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent 2011-06-23 14:10:52 -07:00
Makoto Kato
032a2ebaee Bug 665816 - nsGlueLinkingDlopen.cpp:161: error: expected unqualified-id before numeric constant with NDKr5 after landing bug 632404. r=glandium 2011-06-21 16:52:18 +09:00
Mike Hommey
c45b867ecd Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-16 10:25:05 +02:00
Mike Hommey
ee6b8fc9f2 Bug 658995 part 1 - Properly divert memory allocation functions for trace malloc with standalone glue on Linux. r=dbaron 2011-06-15 07:30:44 +02:00
Matt Brubeck
28a99ad4d4 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Mike Hommey
4e720e7338 Bug 632404 - Preload dependent libraries at startup. r=tglek,r=bsmedberg 2011-05-16 10:25:05 +02:00
Mike Hommey
085cc21666 Bug 658995 part 1 - Properly divert memory allocation functions for trace malloc with standalone glue on Linux. r=dbaron 2011-06-15 07:30:44 +02:00
Makoto Kato
5713f0f90a Bug 662765 - Respect _M_IX86_FP. r=jlebar 2011-06-13 17:12:33 +09:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ehsan Akhgari
31f121187d Bug 659546 - Silence clang warnings about alignment requirement increase in nsID::Equals after bug 164580; r=bsmedberg 2011-05-30 11:39:12 -04:00
Shawn Gong
d399113e9b Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Mounir Lamouri
bbd24ff805 Back out bug 632255 and bug 658683 due to oranges on Windows Mochitest-1. 2011-05-24 15:45:53 +02:00
Shawn Gong
e7ef1c6ccd Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Jason Duell
05cec30300 Bug 646373 - Fix AdBlock2 on fennec (nsITraceableChannel.setNewListener() is unimplemented under e10s.) r=honza, a=queue 2011-05-24 02:32:26 -07:00
Jonas Sicking
4293ebbbed back out probably cause of orange. a=backout 2011-05-23 20:21:10 -07:00
Shawn Gong
6af29d61e1 Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking 2011-05-23 18:09:28 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Justin Lebar
e4d14ff224 Bug 164580 - Use 64-bit words in nsID::Equals. r=bsmedberg
--HG--
extra : rebase_source : cc6b5ebc3f523ce887ceab275f721f5310c8695d
2011-05-17 16:24:04 -04:00
Ed Morley
aa86759d37 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Chris Jones
90cfcf0f2b Bug 556214, part 2: Create non-reentrant Monitor. r=roc sr=brendan 2011-04-29 14:21:57 -05:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Peter Van der Beken
2f1dbc28dd Fix for bug ug 652135 (Add more CC edge names). r=dbaron.
--HG--
extra : rebase_source : a29d880341d333f6082f640ea467928b621b5b82
2011-02-02 16:30:03 +01:00
L. David Baron
3f90844e3c Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
Gavin Sharp
e9ac5d6a43 Fix comment typo per bug 550611 comment 34 2011-03-30 15:55:00 -04:00
Timothy B. Terriberry
6942d5d5c0 Bug 650162 - #ifdef out unused functions; r=dholbert 2011-04-14 18:14:19 -07:00
Ehsan Akhgari
7bb3346ed1 Bug 643885 - Part 1: Add the new RemoveObjectsAt API to nsCOMArray; r=bsmedberg 2011-04-14 10:18:02 -04:00
Benjamin Smedberg
57f55bb3bb Bug 642795 - Remove support for registering and finding "system XULRunner" via config files or the registry. r=glandium
--HG--
extra : rebase_source : d42aa76683b6bb7de5df1b49b47f422a469201f4
2011-04-01 13:28:33 -04:00
Peter Van der Beken
afdf1551f1 Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Peter Van der Beken
5e9f7069fe Fix for bug 584048 (Clean up cycle collection code) - rename RootAndUnlinkJSObjects to Root. r=bent. 2010-12-16 16:30:13 +01:00
Peter Van der Beken
122342da0b Fix for bug 584048 (Clean up cycle collection code) - move unlinking of JS members from root into unlink. r=bent. 2010-11-08 16:02:49 +01:00
Tim Terribe
6bbc2a8bd4 Bug 583958 - Add NEON detection to SSE.h - r=jmuizelaar
--HG--
extra : rebase_source : 2ae9de7e5a914e7ea30c3ef432edfa100027d656
2011-04-09 06:57:52 +12: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
29f9a86daa Merge backout 2011-03-31 18:58:11 -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
Chris Jones
63313bea5e Bug 646259: Some trivial formatting fixes to deadlock detector output. r=bsmedberg 2011-03-31 14:51:19 -05:00
L. David Baron
d627c1e309 Add assertions that fire when callers using nsAutoLock or nsAutoMonitor use PR_NewLock or PR_NewMonitor directly. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
L. David Baron
8de770e5b6 Initialize statics in OnSemaphoreCreated so that we get data about locks created before any locks are locked. (Bug 594666) r=cjones 2011-03-29 08:43:23 -07:00
L. David Baron
5d2e1c3f7a Make nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor inline so that they have no overhead in non-DEBUG. (Bug 594666) r=cjones 2011-03-29 08:43:22 -07:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Neil Rashbrook
96fa789ca2 Bug 540322 Add some missing methods to the external string API r=bsmedberg 2011-03-25 11:39:38 +00:00
Rafael Ávila de Espíndola
4b8cd0c2c8 Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg 2011-03-24 19:26:55 -04:00
Mark Banner
e1f8617d86 Bug 642408 - Drop nsStringArray now that it is no longer used, r=bsmedberg 2011-03-23 15:13:41 -04:00
Mike Hommey
6ef83c9db5 Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01: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
Rich Walsh
1c2645bfa7 Bug 611934 - OS/2 - implement fallocate() and fix build break; r=taras a=bsmedberg
--HG--
extra : rebase_source : fa550cc278888ae6b6cb0a36875b1287ebdd6bc3
2011-02-02 13:51:22 -05:00
Mounir Lamouri
e89c5d6486 Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst 2011-01-19 12:13:54 +01:00
Makoto Kato
0b448d34d8 Bug 625629 - Don't define MMX in SSE.h since Microsoft compiler for x64 doesn't support MMX. r=jlebar a=bustage-fix 2011-01-18 14:08:47 +09:00
Jonathan Protzenko
99c88d604b Move comment for nsTObserverArray near the start of the file, r=bz a=bz over IRC. DONTBUILD 2011-01-14 18:15:27 +01:00
Justin Lebar
3e89ff8ac2 Bug 585708 - Part 2: Move CPUID code out of SSE.h and into SSE.cpp. r,a2.0=dbaron
--HG--
extra : rebase_source : 70d336e2e0f4df5d807bc520c44740e17d69eb40
2010-12-16 10:42:52 -08:00
Justin Lebar
642adce7f3 Bug 585708 - Part 1: Rework SSE.h so that it supports and encourages putting intrinsics in a file separate from the main code. r,a2.0=dbaron
--HG--
extra : rebase_source : 6bc2169ba4e451e1d8a36540614024fe40902e62
2010-08-11 16:49:42 -07:00
Rafael Ávila de Espíndola
f73cc161b4 Bug 622142 - nsTArray class depends on invalid unqualified lookup into dependent bases of class templates; r,a=bsmedberg 2011-01-12 16:37:20 -05:00
Chris Jones
b7a60499b6 Bug 610823: Make nsTArray infallible by default. r=sicking a=blocker 2011-01-06 20:49:35 -08:00
timeless@mozdev.org
3799bc5da5 Bug 569454 bad ownership model for allProperties in GRE_GetGREPathWithProperties, r+a=bsmedberg 2010-12-09 01:22:00 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Makoto Kato
6f13e49a7d Bug 592551 - dist\include\nsTArray.h(416) : warning C4244: 'return' : conversion from '__int64' to 'nsTArray_base::index_type', possible loss of data. r=bsmedberg a=bsmedberg 2010-11-17 14:51:05 +09:00
Marco Bonardo
e473967fee Bug 611639 - NS_ProxyRelease does not work for RefPtrs.
r=shaver a=blocking
2010-11-16 01:08:57 +01:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Chris Jones
8b81995ada Bug 598862, part 1: Add mozilla::ScopedClose to do just that to an fd. sr=bsmedberg 2010-11-08 20:48:59 -06:00
Kyle Huey
3952caa12e Bug 603844: Annotate some xlst classes with leak logging. r=sicking sr=dbaron 2010-12-02 11:15:48 -05:00
Michal Novotny
ed3636fead Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Robert O'Callahan
50f59c86bf Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker 2010-11-08 22:06:14 +13:00
Ryan VanderMeulen
d3b7d04d97 Bug 606070 - warning C4244: 'return' : conversion from 'const PRUint64' to 'PLDHashNumber' in nsHashKeys.h r,a=bzbarsky
--HG--
extra : rebase_source : e0f4a753c9408c85165a9d3047be00e6c8ca757c
2010-11-06 14:53:37 +00:00
Jacek Caban
fdcabe2dd8 Bug 589807 - printf_stderr doesn't check if _dup call succeeded r,a=benjamin
--HG--
extra : rebase_source : a68963a26fb6479ba006e4bd8a9945230426fb22
2010-11-06 14:23:15 +00:00
Daniel Holbert
a2fa1fe7f6 (no bug) Fix mis-indented "}" in nsTArray.h. r+a=whitespace-only, DONTBUILD 2010-12-07 15:54:20 -08:00
Benjamin Smedberg
24467f20eb Android bustage from bug 602891 part A, revision dc021bc9929f. getpid() required <unistd.h> 2010-11-17 18:14:11 -05:00
Robert Sayre
2d10c1480d Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Ben Turner
fca93ac512 Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst 2010-11-11 14:52:30 -08:00
Benjamin Smedberg
3930901751 Bug 602891 part A - refactor the code which notes intentional crashes for leak logging, so that it can be shared between testplugin and the jetpack. r=ted
--HG--
extra : rebase_source : c1f50eb1525883cfec34a7d0fec81d8227c5b8f6
2010-11-17 15:55:25 -05:00
Mounir Lamouri
4291f1e845 Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny
c12906c97c Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02:00
Steve Krulewitz
e157dd74d7 Bug 323376 - nsTextFormatter::ssprintf adds extra '\0' to result; Patch by Steve Krulewitz, updated by Jonathan Protzenko; r=darin approval2.0=beltzner 2010-10-21 11:56:33 +01:00
Boris Zbarsky
53a6a5fae9 Bug 605492 part 2. Add a way to get an outer window object given its window id via windowutils. r=mrbkap 2010-10-20 20:24:16 -04:00