Граф коммитов

1206 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg 2ea5d7e810 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 a73308ef4b 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 0df0345c66 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 8af9251fe4 Merge platform-specific branches of bug 568691. 2010-06-21 08:57:50 -04:00
Benjamin Smedberg edbd474f05 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 703663d5db Fix Linux-specific issues with static xpcom registration, bug 568691. 2010-06-11 12:47:31 -04:00
Chris Jones 87d0ed7e60 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 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
Benjamin Smedberg 671fee6656 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 0978149cf3 Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga c81affe35c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Jacek Caban 24a16fd076 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 4e0f4c110e 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 683883e106 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 1fc4de7aed 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 6bfd4c53f7 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 ccf6247cb3 Bug 569504 - Fix the spell checker leaking windows and documents; r=roc 2010-06-02 14:33:47 -04:00
Michael Wu a6b9079633 Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg 2010-06-01 12:02:42 -07:00
Chris Jones 30bb6770cb Bug 565461: Implement nsTArray::operator==. r=bsmedberg 2010-05-22 14:35:41 -05:00
Michael Wu aeb2230399 Bug 565748 - nsTArray.h:905: warning: unused variable ‘elem’, r=roc 2010-05-18 17:14:34 -07:00
L. David Baron cbeb3a19cd Add macro to give alignment requirements of a type. (Bug 562844) r=bsmedberg 2010-05-14 12:05:14 -07:00
Michael Kohler 6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Ben Newman ad7c97dbe8 Patch to fix bug 563573. r=bent
--HG--
extra : rebase_source : cc7f009be395bfc98ffcce4831e233dee1fa7480
2010-05-10 18:05:40 -07:00
Michael Wu 01e4c19b42 Bug 537339 - Add heap functions to nsTArray, r=roc 2010-05-05 10:21:23 -07:00
timeless@mozdev.org ebadf2963c 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 30da94c976 Bug 529820 - nsCategoryCache is slightly unsafe, r=biesi 2009-11-19 07:51:00 -08:00
Ginn Chen ceed44f39b Bug 561736 Add has_cpuid_bit support with Sun Studio compiler on Solaris r=dbaron 2010-04-28 17:39:12 +08:00
Mark Banner 667cf51398 NS_COM_GLUE shouldn't be defined on function definitions/inline functions. Fixing non-libxul bustage on Windows builds from bug 558498. r=bsmedberg over irc 2010-04-27 14:48:25 +01:00
Mark Banner 042e7b5e6b Try and fix Windows non-libxul bustage from bug 518881 due to NS_COM_GLUE being in the wrong place. 2010-04-27 13:52:42 +01:00
Chris Jones 168d0459ca Bug 518881: Make Send/Call*() methods for IPDL parent actors warn_unused_result. r=bent 2010-04-27 00:43:00 -05:00
Chris Jones a2d53e0f5e Bug 545733: |const|-ify some *Channel methods. r=bent 2010-04-27 00:42:59 -05:00
Ben Newman 6251d7498d Support __stdcall nsRunnableMethods (part 2/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:32 -07:00
Ben Newman 8663c1f722 Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
timeless@mozdev.org 0729741b2a Bug 559804 - nsGetInterface::operator() doesn't consistently set *aInstancePtr, r=bsmedberg
--HG--
extra : rebase_source : be81640ea16edd00e0898dafeb4c04c7fc511b24
2010-04-16 06:03:00 -07:00
Brian Hackett ccdcb68413 Remove spurious \r's. Go Windows. b=541220, r=aidan 2010-04-22 11:13:05 -07:00
Chris Jones ce99d8226f Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00
Mike Hommey 0c2b28a6f9 Bug 555901 - Support for GNU/Hurd [r=benjamin]
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Brian Hackett b894296d01 Bug 541220 - Integrate sixgill into build system. r=dwitte 2010-04-15 11:44:23 -07:00
Daniel Holbert 874a758d9b Bug 556303: Fix unsigned/signed compiler warning in nsTArray.cpp. r=bsmedberg 2010-04-05 14:56:35 -07:00
L. David Baron dc591bae4a Fire assertions when guard objects are used as temporaries. (Bug 531460) r=cjones 2010-04-04 11:15:18 -07:00
Chris Jones a8c5a07cbb Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones d17ed699f3 Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones f4b0fe954c Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Pearce 7cdccaed47 Bug 556424 - mozilla::MonitorAutoEnter::NotifyAll() should notify all. r=cjones 2010-04-01 19:54:03 -07:00
Daniel Holbert 3d2f471ff8 Bug 551298, patch A followup i: Add thread safety assertions to AddRef/Release implementations. r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert 098d13a7bd Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert 1faa0a4f90 Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert 9d9224d62d Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 08:07:23 -07:00
L. David Baron 3d6fac3860 Add mechanism for assertions that fire when a guard object is used as a temporary. (Bug 531460) r=bsmedberg 2010-03-26 10:12:39 -04:00
Mike Hommey 992145aea6 Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
Dão Gottwald e48c841523 Backed out changeset 7f301b0d3385 hg push 2010-03-22 17:48:45 +01:00
Mike Hommey 2f031cdafe Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
Jonathan Watt b6427fd0a3 Bug 551299. Add a SetCount() method to nsCOMArray and nsVoidArray. r=bsmedberg.
--HG--
extra : rebase_source : 676b497a4fda08ec509c2ce9fdc7060af8be1663
2010-03-15 11:38:50 +00:00
Uli Link 6087c2c057 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
Neil Rashbrook 342037afb9 Bug 543001 Make nsTArray::GreatestIndexLtEq easier to use r=bsmedberg 2010-02-20 15:26:12 +00:00
Mark Banner 7546a30a33 Bustage fix following bug 541594 - revert NS_strtok change that appears to be causing hangs and fix ini parser to work as intended. rs=dolske 2010-02-10 11:55:18 +00:00
Justin Dolske 3e1253bd35 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Mitchell Field f9279e35d6 Bug 542222 - Followup fix for Reduce recursion in makefiles. r=rstrong 2010-02-05 23:25:10 -08:00
Benjamin Smedberg d5eb4d3947 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Jacek Caban aaf24fc497 Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Brian Birtles 888c897c0d Bug 474743 Prequel: Implement nsTPriorityQueue. r=dholbert r=roc sr=bsmedberg 2010-01-12 12:00:49 -08:00
Metal Sonic 80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
L. David Baron 8d607b1776 Add mozilla::AutoRestore to restore values at the end of a C++ scope. (Bug 518756) r=bsmedberg 2009-12-11 08:13:19 -08:00
L. David Baron 7b16d7e3f7 Add SSE.h to consolidate code for Intel CPU feature detection at both compile-time and run-time. (Bug 513422) r=vlad 2009-12-11 08:13:19 -08:00
Reed Loden bf2102f393 Backout patch from bug 528964 due to bustage. 2009-12-03 03:18:52 -06:00
zbychs@gmail.com 521d6a18bb Bug 528964 - "Memory leak in GRE_GetGREPathWithProperties" [r=bsmedberg] 2009-12-03 03:07:44 -06:00
cbiesinger@gmail.com a07252cff6 Bug 529701 - nsCategoryCache could add a category observer twice in some situation (r=bsmedberg) 2009-11-25 13:50:01 -08:00
Marco Bonardo af309a7c02 Bug 522353 - nsCategoryCache is still observing category changes after xpcom-shutdown, r=biesi, moa=bsmedberg 2009-11-19 14:15:05 +01:00
timeless@mozdev.org 6619031658 Bug 464043 - change nsDeque to use malloc for mData, r=bsmedberg 2009-11-14 16:45:42 -08:00
Benjamin Smedberg 80f60eef3f Bug 526586 - XULRunner crashes on startup on Windows r=bustage fix and at least agreement on the approach from dbaron 2009-11-09 14:30:01 -05:00
L. David Baron 4677b73925 Fix comment, per bug 520661 comment 4. 2009-10-30 14:31:41 -07:00
Benjamin Smedberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) 42e798be85 Add runtime NS_IsMainThread checks to protect the cycle collector's purple buffer, and make NS_IsMainThread faster on our major platforms. (Bug 521750) r=peterv 2009-10-28 10:28:57 -07:00
Benjamin Smedberg 9a7ff08a35 Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron 2009-10-28 10:28:57 -07:00
Boris Zbarsky fbb1d45b16 Bug 523651. Add a CallQueryInterface that works well with nsCOMPtr. r=bsmedberg 2009-10-23 16:24:47 -04:00
L. David Baron 4c250ab973 Make nsDeque handle allocation failure better. (Bug 520661) r=bsmedberg 2009-10-07 20:22:42 -07:00
Henri Sivonen 03f6ef64f9 Bug 517943 - Need a way to append the contents of an nsTArray to another without copying. r=benjamin, sr=dbaron. 2009-09-24 20:26:31 +03:00
Benjamin Smedberg 667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg 36bc86429d Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Benjamin Smedberg ba372f3a4c 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
Hiroyuki Ikezoe 828209d4e2 Bug 502146 – On WinCE, GRE_GetPathFromRegKey fails even if GRE exists on device. r=blassey 2009-08-08 12:29:13 +09:00
L. David Baron 53e2566c2b Use char16_t when available, and when it is, don't test for -fshort-wchar. (Bug 502298) r=bsmedberg 2009-07-20 07:04:41 -04:00
Blake Kaplan 49d335d38c Bug 501840 - Avoid a warning when a cycle collection participant doesn't use tmp. r+sr=peterv 2009-07-16 13:06:26 -07:00
L. David Baron dfd2b373c7 Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
Serge Gautherie 5ea9f32798 Bug 430112 - <nsAutoLock.cpp>: 2 "warning: unused variable status"; (Bv1) Split the init to 2 instructions; r=benjamin 2009-07-06 22:01:37 +02:00
Peter Van der Beken 88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Hiroyuki Ikezoe 13b4c00db7 Bug 494412 – Make error message more clear when we can't load xpcom due to lack of memory; (XPCOM part); r=benjamin 2009-06-26 09:46:09 +09:00
Chris Jones 0f279f0c8c bug 491977: fix "leak" of deadlock detector statics. r=bsmedberg 2009-06-16 12:36:44 -07:00
Arpad Borsos 9c8455122d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos 21896afffc Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
palo misik cab2e26320 Bug 490587 - "Warning in mozilla/xpcom/glue/nsGenericFactory.cpp" [r=benjamin] 2009-06-14 01:37:38 -07:00
Arpad Borsos 118ee75268 Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos 990fceee6e Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Doug Turner a282e85375 Bug 488862 - crash while geolocation is retrieving data [@ nsGeolocation::RemoveRequest]. r=dbaron, sr=smaug, r=ctalbert on tests 2009-06-11 17:46:46 -07:00
Benjamin Smedberg cbf3863732 Bug 492948 - Windows XULRunner stub can't discover the GRE anymore, due to using NS_ConvertUTF8toUTF16 before having loaded XPCOM, r=blassey 2009-05-20 17:00:45 -04:00
Dave Townsend dd2848c629 Backed out changeset 461d728271d1 2009-05-19 13:51:18 +01:00
Arpad Borsos 6a70c37113 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Benjamin Smedberg 8655b73917 Fix trace-malloc build bustage from bug 488175... tracemalloc/nsTraceMalloc.h is no longer 2009-05-18 14:32:00 -04:00
Benjamin Smedberg 6df221580d 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
Peter Van der Beken 8443f4d14c Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Peter Van der Beken 1dfd758d21 Merge backout. 2009-05-16 16:17:50 +02:00