L. David Baron
6154696778
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
d2c47c2119
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
b6bdac1f5b
Merge cedar into mozilla-central
2011-03-25 14:21:07 -04:00
Neil Rashbrook
8c9b3faf99
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
3db8d6cb25
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
ed0ca76d07
Bug 642408 - Drop nsStringArray now that it is no longer used, r=bsmedberg
2011-03-23 15:13:41 -04:00
Mike Hommey
27e7b98dbb
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
e48da647b0
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
6408e43901
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
c13e492e14
Bug 625042 - nsIWeakReferenceUtils.h should include nsIWeakReference.h. r=bsmedberg a=jst
2011-01-19 12:13:54 +01:00
Makoto Kato
cd17517313
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
1906950b35
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
1d88200747
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
da228273d8
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
073645837d
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
1475aa117a
Bug 610823: Make nsTArray infallible by default. r=sicking a=blocker
2011-01-06 20:49:35 -08:00
timeless@mozdev.org
ed998f534b
Bug 569454 bad ownership model for allProperties in GRE_GetGREPathWithProperties, r+a=bsmedberg
2010-12-09 01:22:00 -08:00
Shawn Wilsher
9796714cea
Merge mozilla-central to Places.
2010-12-13 15:08:04 -08:00
Shawn Wilsher
2c1affd39a
Merge mozilla-central into Places
2010-12-06 09:48:54 -08:00
Shawn Wilsher
316bbf47cb
Merge mozilla-central into Places.
2010-11-29 08:43:57 -08:00
Shawn Wilsher
b6067336ca
Merge mozilla-central into Places
2010-11-17 10:55:34 -08:00
Makoto Kato
f9ecadec37
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
294a17a86e
Bug 611639 - NS_ProxyRelease does not work for RefPtrs.
...
r=shaver a=blocking
2010-11-16 01:08:57 +01:00
Chris Jones
900d7c9e15
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
06500875a6
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
8a69f2baf2
Bug 603844: Annotate some xlst classes with leak logging. r=sicking sr=dbaron
2010-12-02 11:15:48 -05:00
Michal Novotny
761b50d2f5
Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN
2010-11-24 16:42:30 +01:00
Robert O'Callahan
5c93d12d42
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
6c63d4b73e
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
d233470b09
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
8955d8bd97
(no bug) Fix mis-indented "}" in nsTArray.h. r+a=whitespace-only, DONTBUILD
2010-12-07 15:54:20 -08:00
Benjamin Smedberg
cbf90f95e2
Android bustage from bug 602891 part A, revision dc021bc9929f. getpid() required <unistd.h>
2010-11-17 18:14:11 -05:00
Robert Sayre
6351a5a62a
Merge tracemonkey to mozilla-centra. a=blockers.
2010-11-17 13:55:14 -08:00
Ben Turner
b31bd393ef
Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst
2010-11-11 14:52:30 -08:00
Benjamin Smedberg
66c912a28e
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
df11244706
Backed out changeset e72707266b4a because of orange on Win Debug. a=backout
2010-10-21 15:16:34 +02:00
Michal Novotny
193d18fb5f
Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b
2010-09-22 11:47:46 +02:00
Steve Krulewitz
d709a4ea24
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
02e280deea
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
Kyle Huey
0a289a4441
Bug 604940: Add various things to GARBAGE. r=Mitch a=NPOTB
2010-10-19 17:19:37 -04:00
Josh Matthews
5211ff525c
Bug 594222 - Prevent RemoveObservers from being called more than once. r=dougt a=dougt
2010-09-07 18:22:00 -04:00
Brian Hackett
e25970c4da
Header changes for sixgill, annotations. bug 601129, r=jorendorff
2010-10-01 21:00:55 -07:00
L. David Baron
d1338e5210
Add NS_COM_GLUE to fix non-libxul bustage from bug 592520. r=taras a=dveditzSheriff
2010-09-16 15:43:15 -07:00
Taras Glek
e0d70d1fe1
Bug 592520 - Do not fragment the hell out of CACHE__00[1-3]__. r=bsmedberg/jduell, a=betaN+
2010-09-16 13:21:12 -07:00
Brian Crowder
c49d4aba8e
Bug 567267 - Move nsIEncodedChannel logic to base Http class, r=dwitte, blocking-fennec2.0b1=mfinkle
2010-09-15 15:55:08 -07:00
Peter Van der Beken
8f03f91e75
Fix for bug 466157 (Better CC logging for nodes). r=dbaron, a=jst.
...
--HG--
extra : rebase_source : 57ff8e5558708e188a5e1e444094a522138c20b1
2009-02-27 15:48:26 +01:00
Justin Lebar
eb969e65ec
Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg
2010-08-17 10:25:41 -07:00
David Humphrey
65684751e0
bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad
2010-08-25 09:10:00 -04:00
Andrew Zitnay
bdb4516c71
Bug 586523 - Provide a version of xpcomglue_s compiled with -DMOZ_NO_MOZALLOC, r=bsmedberg
...
--HG--
extra : rebase_source : bd6f919688fb0dd3193c38c443a73e5a70135198
2010-08-25 10:21:08 -04:00
Justin Lebar
a445d1dd5a
Bug 577950 - Use a hashtable to speed up nsPrefBranch::RemoveObserver. r=bzbarsky, a2.0=jst
...
--HG--
extra : rebase_source : 217d161649839c809a5e88444b882b056632a38f
2010-07-16 14:10:01 -07:00
Justin Lebar
be85bc5cd2
merge backout, a=khuey
2010-08-18 14:41:09 -07:00
Justin Lebar
1fa19fdefd
Backed out changeset 63bb61d1416e
2010-08-18 14:38:05 -07:00
Michael Wu
5d8435dc4d
Bug 559961 - Add files I missed the first time. a=bustage fix
...
--HG--
extra : rebase_source : 03e40c5b148ff1ba61c0accb5bc0798bd4aa105c
2010-08-18 14:30:09 -07:00
Taras Glek
e3ae1cf108
Bug 559961 - Reorder jar files as part of PGO, r=bsmedberg a=blocking2.0
...
--HG--
extra : rebase_source : d8a75545714a131291c74dd79c966150544ff9d1
2010-08-18 10:34:07 -07:00
Justin Lebar
bff687ef95
Bug 577950 - Use a hashtable to speed up nsPrefBranch::RemoveObserver. r=bzbarsky, a2.0=jst
...
--HG--
extra : rebase_source : 212dba5bb879bb413609f44ad404849417dff1dc
2010-07-16 14:10:01 -07:00
Ted Mielczarek
5b7bfea22d
Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures.
2010-08-18 13:04:31 -04:00
David Humphrey
28842f58a8
bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad
2010-08-17 09:40:00 -04:00
Kyle Huey
aaf7f1c342
Whitespace change to trigger another set of builds on a CLOSED TREE
2010-08-01 04:48:59 -07:00
Kyle Huey
eb67ec9c62
Whitespace change to trigger another set of builds on a CLOSED TREE
2010-08-01 04:48:13 -07:00
Kyle Huey
682cc66d87
Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
...
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Boris Zbarsky
c73bd48306
Bug 578696 part 1. Create new macros to notify nsTObserverArray observers without holding strong refs. No behavior changes yet. r=sicking
2010-07-21 11:33:31 -04:00
Eli Friedman
594e231404
Bug 579692 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron
2010-07-18 10:24:23 +02:00
Benjamin Smedberg
3bba8946ce
Bug 573268 - The XPTI rewrite caused an (intentional) leak at shutdown; free this data only in trace-malloc builds so that leakstats are still useful. r=dbaron
2010-07-14 13:09:42 -04:00
Saint Wesonga
dca1fdaf5b
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
af6bdfaeea
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
b11412ff34
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Mitchell Field
dae810b5e1
Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
...
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
be33fdb1a8
Fix --disable-libxul from bug 568691. r=Mossop
2010-07-02 14:23:41 -04:00
Benjamin Smedberg
c242fc8d1e
Fix generic classinfo objects so that they are allocated statically, to avoid leak-detector annoyances, but not initialized statically, because compilers are stupid and won't const-data-initialize an object with a vtable, even if they could.
2010-07-01 12:11:42 -04:00
Benjamin Smedberg
dfed11844b
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
94ef4d2ac3
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
Benjamin Smedberg
27dd21bd1d
Implement compatibility wrapper so that binary components can be compatible with both Firefox 3.6 and Firefox 4, as a result of registration changes from bug 568691.
...
--HG--
rename : xpcom/components/GenericFactory.cpp => xpcom/glue/GenericFactory.cpp
rename : xpcom/components/GenericFactory.h => xpcom/glue/GenericFactory.h
2010-06-24 16:36:27 -04:00
Benjamin Smedberg
f56445a420
Merge mozilla-central into the static-xpcom-registration branch.
2010-06-23 17:26:25 -04:00
Benjamin Smedberg
bbb63fe5cd
Bug 568691 fixups: alter mockObjects.js so that it registers its mock by contractID but doesn't replace the CID. Fix the generic classinfo not to assert when code asks for the class description (which is no longer implemented).
2010-06-23 15:18:13 -04:00
Benjamin Smedberg
54fa052991
Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly.
2010-06-22 12:59:57 -04:00
Benjamin Smedberg
cae1800556
Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
...
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
69b11ac2b1
Merge platform-specific branches of bug 568691.
2010-06-21 08:57:50 -04:00
Benjamin Smedberg
432c4422b8
Bug 568691 part C - Register all components based on reading .manifest files from the components directories. Binary components auto-register using "binary-component name.dll". JS components register using "component CID file.js" "contract @mozilla.org/contract;1 CID" and "category categoryname keyname value".
...
This patch has some bugs, specifically we stop looking for .manifest files in chrome/. I will fix that in a followup. It also probably breaks non-libxul builds because of ordering issues.
Another followup will actually fix our in-tree JS components and add build machinery for creating a proper components.manifest file.
2010-06-11 16:13:26 -04:00
Benjamin Smedberg
36dce4f616
Fix Linux-specific issues with static xpcom registration, bug 568691.
2010-06-11 12:47:31 -04:00
Chris Jones
0dcf14275c
Bug 570912: Allow already_AddRefed<T> to be coerced to already_AddRefed<U> when T can be coerced to U. r=dbaron
2010-06-21 15:35:49 -05:00
Benjamin Smedberg
4d7e3ff7df
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
Benjamin Smedberg
0b24d4d8e9
Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity
2010-06-10 12:51:29 -04:00
Dão Gottwald
01ec17a1f9
Backed out changeset db6f8068e9a5
2010-06-29 17:49:21 +02:00
Saint Wesonga
5d01c7f8a9
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg
2010-06-29 17:14:36 +02:00
Jacek Caban
2a0ed36a96
Bug 508905 - /Zc:wchar_t- is no longer required (wince part) r=doug.turner
...
--HG--
extra : rebase_source : 13d6dadb676ca5e29b7e7bcfff5bbb1c964f78e4
2010-06-27 01:30:05 +02:00
Daniel Holbert
710f9de58f
Bug 575014: cast pointer-subtraction in nsTArray to produce index_type instead of (64-bit) size_t, to fix build warning on Win64. (bustage fix) rs=timeless pending-r=bsmedberg
2010-06-26 17:50:36 -07:00
Eli Friedman
11e066b71e
Bug 573210 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron
2010-06-30 23:11:43 +02:00
Benjamin Smedberg
9ce2a28dc4
Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop
...
--HG--
extra : rebase_source : 9f28729c1032b516e8b950d29d80402e87759fda
2010-06-14 16:05:48 -07:00
Ehsan Akhgari
35b2d40320
Bug 570657 - Make the order of releasing objects and removing them in nsCOMArray's consistent; r=shaver
...
--HG--
extra : rebase_source : 16f05bbfbd31bc01e0545af111dc4e4adbac8e33
2010-06-09 14:13:16 -04:00
Ehsan Akhgari
4077b37e7f
Bug 569504 - Fix the spell checker leaking windows and documents; r=roc
2010-06-02 14:33:47 -04:00
Michael Wu
09f6c9bf19
Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg
2010-06-01 12:02:42 -07:00
Chris Jones
a042fcb159
Bug 565461: Implement nsTArray::operator==. r=bsmedberg
2010-05-22 14:35:41 -05:00
Michael Wu
485bf66bbc
Bug 565748 - nsTArray.h:905: warning: unused variable ‘elem’, r=roc
2010-05-18 17:14:34 -07:00
L. David Baron
d8876c4e12
Add macro to give alignment requirements of a type. (Bug 562844) r=bsmedberg
2010-05-14 12:05:14 -07:00
Michael Kohler
c00ff9684a
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Ben Newman
7eef5278c8
Patch to fix bug 563573. r=bent
...
--HG--
extra : rebase_source : cc7f009be395bfc98ffcce4831e233dee1fa7480
2010-05-10 18:05:40 -07:00
Michael Wu
db9dd1ff0d
Bug 537339 - Add heap functions to nsTArray, r=roc
2010-05-05 10:21:23 -07:00
timeless@mozdev.org
db1ec67578
Bug 562522 - comparison between signed and unsigned integer expressions in nsStringAPI.cpp, r=bsmedberg
...
--HG--
extra : rebase_source : 0568e744cc020fbc8a725ec595213f21fe52681b
2010-04-28 17:30:00 -07:00
timeless@mozdev.org
995de512e5
Bug 529820 - nsCategoryCache is slightly unsafe, r=biesi
2009-11-19 07:51:00 -08:00
Ginn Chen
7b2fd95b73
Bug 561736 Add has_cpuid_bit support with Sun Studio compiler on Solaris r=dbaron
2010-04-28 17:39:12 +08:00