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

7714 Коммитов

Автор SHA1 Сообщение Дата
timeless%mozdev.org 4bfc04e48c Bug 362843 xpidl should warn about attribute anytype aaaIAa ([a-z]{2,3}I[A-Z][a-z])
r=bsmedberg
2006-12-07 20:10:34 +00:00
timeless%mozdev.org 35d887c035 Bug 283487 nsStringInputStream is still broken
use LengthRemaining consistently
r=darin
2006-12-06 18:46:29 +00:00
alfred.peng%sun.com 1623458bd5 Bug 351950. nsLocalFileUnix has "access"(system call) problem on Solaris.
r+sr=dougt.
2006-12-06 03:58:48 +00:00
timeless%mozdev.org 1510f9e15f Bug 322806 ARM crash [@ XPTC_InvokeByIndex]
patch by apm@dna.fi
eabi arm assembly didn't warn that a variable was a memory operand so the
newer gcc compilers (e.g. gcc4) started optimizing things away...

I tried to get someone to vouch for this code but the people I poked
never got back to me.

moa=timeless
2006-12-06 03:00:09 +00:00
brendan%mozilla.org 452f5690e3 Back out last checkin. 2006-12-05 15:46:19 +00:00
brendan%mozilla.org 84e75653aa Add JS_DHASH_{,DEFAULT_}CAPACITY macros for realloc-free init (356116, r/sr=mrbkap+shaver/dbaron). 2006-12-05 00:52:05 +00:00
dveditz%cruzio.com b6f0089007 Sync executable extension list w/Outlook (bug 348763) r/sr=dougt, a=pavlov 2006-11-30 04:36:21 +00:00
timeless%mozdev.org a6d5a59ee5 Bug 336183 [arm build] undefined reference _PrepareAndDispatch in xpcom_core
This is a GCC3.4 fix over a previous GCC fix it obsoletes the poorlly designed
patch which was written for bug 307418

__attribute__(()) uses pairs of parens :(

moa=timeless
2006-11-28 12:05:49 +00:00
jwalden%mit.edu b4488ce6a0 Bug 361792 - Signed-unsigned comparison in nsVoidArray.cpp. r+sr=darin 2006-11-28 00:32:30 +00:00
bienvenu%nventure.com e522fe4873 change existence test to allow mail folders > 2GB, sr=mscott 361730 2006-11-28 00:19:20 +00:00
timeless%mozdev.org a64042385b Bug 336183 [arm build] undefined reference _PrepareAndDispatch in xpcom_core
This is a GCC3.4 fix over a previous GCC fix it obsoletes the poorlly designed
patch which was written for bug 307418

moa=timeless
2006-11-27 07:48:46 +00:00
roc+%cs.cmu.edu 4482b64219 Bug 361707. nsTArray::SetCapacity should return boolean success/failure. r+sr=sicking 2006-11-26 22:01:24 +00:00
jshin%mailaps.org 41d25104a2 bug 359808 : drop support Win 9x/ME in xpcom/io (r/sr=darin) 2006-11-24 01:02:56 +00:00
kjh-5727%comcast.net 01ed2121b8 Bug 351231: type-pun warnings from nsCOMPtr, part II. r+sr=dbaron. 2006-11-23 16:10:43 +00:00
kjh-5727%comcast.net 274fddbe21 Bug 351231: type-pun warnings from nsCOMPtr. r+sr=dbaron. 2006-11-23 13:21:27 +00:00
ginn.chen%sun.com 9f3d4ecb44 missed two lines in last checkin, sorry for my spam
Bug 361470
2006-11-23 10:45:42 +00:00
allan%beaufour.dk fe27d12b30 Add NSPR debug info to nsObserverService. Bug 361490, r=darin 2006-11-23 08:43:28 +00:00
ginn.chen%sun.com 19ba03b7b6 Bug 361470 Fix Solairs build after refactoring xptcall
r=benjamin moa=timeless
2006-11-23 07:50:02 +00:00
vladimir%pobox.com df954f6171 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com c53729f4c5 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many 2006-11-22 21:31:33 +00:00
vladimir%pobox.com 6044ffd026 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many 2006-11-22 20:48:47 +00:00
vladimir%pobox.com fdf72a2c5b b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
gavin%gavinsharp.com 47e1c35444 Bug 342670 2006-11-22 17:50:35 +00:00
cvshook%sicking.cc 5c7ed7c2dc Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron 2006-11-21 21:28:14 +00:00
mozilla%weilbacher.org cfee5e83b5 [OS/2] Bug 356287: replace possible forward slashes in q:\tmp with backward slashes, r/sr=mkaply 2006-11-20 21:06:11 +00:00
benjamin%smedbergs.us 7b434c0d06 Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher 2006-11-20 17:03:38 +00:00
mats.palmgren%bredband.net 57cc88bce4 Make NS_LIKELY/NS_UNLIKELY accept pointers etc and always return 0 or 1. b=340244 r+sr=darin 2006-11-18 00:48:56 +00:00
benjamin%smedbergs.us 09d80a0a6f Backout xptcall because linux tboxes are stupid, I think. 2006-11-16 20:17:24 +00:00
benjamin%smedbergs.us 8b41b7fdd0 Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher 2006-11-16 18:29:33 +00:00
joshmoz%gmail.com bf9b007046 remove files only used by classic mac os. b=281889 r=bsmedberg moa=timeless 2006-11-16 17:56:25 +00:00
joshmoz%gmail.com 433b32a3c1 remove XP_MAC from xpcom. b=281889 r=bsmedberg 2006-11-16 09:10:09 +00:00
benjamin%smedbergs.us 483abe6df4 Bug 360836 - queryinterface isn't nulling the outparam in failure cases, r=dbaron 2006-11-16 02:29:45 +00:00
cbiesinger%web.de 930dd63eb8 trying to fix non-windows bustage (from bug 359808) 2006-11-16 01:39:09 +00:00
jshin%mailaps.org b4bfe1937d bug 359808 : drop support for Win 9x/ME : r/sr=darin 2006-11-16 01:00:49 +00:00
jshin%mailaps.org 2c8bf7f42d bug 359808 : drop support for Win 9x/ME (r/sr=darin) 2006-11-16 00:59:55 +00:00
benjamin%smedbergs.us d953ca7061 Bug 313309 - Table-driven QI, part 4 (the final piece!) - this could be a test-landing depending on how perf numbers turn out, r=shaver 2006-11-15 22:10:57 +00:00
joshmoz%gmail.com b6bac47c3c Since some platforms do string operations within local file ::Load, we shouldn't declare that objects being created/destroyed from static ctor/dtor is not legal throughout the entire ::Load function. That only needs to be true around the actual PR_LoadLibrary calls. Fixing this stops the ridiculous amount of warning output that we get from every debug mac build. Also removing unused old mac local file impls. b=326837 r=bsmedberg 2006-11-14 22:06:00 +00:00
benjamin%smedbergs.us 4543c02b83 Bug 313309 - Table-driven QI part 3 - use weak statics for interface IDs, r=shaver. This will break VC6 and gcc2.9x, which is ok 2006-11-14 21:21:37 +00:00
benjamin%smedbergs.us 17e6ecf617 Re-land bug 345517 now that the logging issues are hopefully fixed, r=darin/mento/mano 2006-11-13 17:53:01 +00:00
benjamin%smedbergs.us 77343e76ae From bug 345517 - fix adoptcount logging for the frozen string API, r=darin 2006-11-10 20:05:04 +00:00
pavlov%pavlov.net 140ad3f195 backing out 345517 due to leak test bustage 2006-11-10 04:42:03 +00:00
mats.palmgren%bredband.net cfb7879dc8 Backing out the NS_LIKELY/NS_UNLIKELY change to see if it fixes Tinderbox orange. b=340244 2006-11-09 22:52:19 +00:00
mats.palmgren%bredband.net 038bf019d7 Make NS_LIKELY/NS_UNLIKELY accept pointers etc. b=340244 r+sr=darin 2006-11-09 17:41:03 +00:00
benjamin%smedbergs.us e475fe6dc9 Bug 345517, try #2, make the browser component use frozen linkage, so that ff+xr builds. This does *not* --enable-libxul by default for Firefox (yet). That will wait until after 1.9a1. Older patch r=darin+mento, revisions r=mano 2006-11-09 15:02:29 +00:00
dbaron%dbaron.org 4be5f90c84 Revert previous change since nsRegistry still uses it. b=359512 2006-11-04 17:06:32 +00:00
bzbarsky%mit.edu 64d02213e0 Fix some compiler bustage over here and eliminate compiler warnings by being
very clear that it's all unsigned.  No bug, r+sr=sicking
2006-11-04 05:14:55 +00:00
bzbarsky%mit.edu 3544267440 Remove now-useless include. Bug 359224 followup, r+sr=sicking 2006-11-04 02:00:31 +00:00
dbaron%dbaron.org 384bd29a18 Remove unneded NS_COM. b=358953 r=bsmedberg 2006-11-03 23:04:15 +00:00
dbaron%dbaron.org 26597369e6 Define _IMPL_NS_COM. b=358931 r=bsmedberg 2006-11-03 23:01:01 +00:00
cvshook%sicking.cc 45d11c34f5 Back out previous checkin, ENABLE_TESTS is not available inside code 2006-11-03 00:52:40 +00:00
cvshook%sicking.cc c7b1028be8 Better way of fixing previous TestTArray bustage that allows testing nsAutoTArray even for non-debug builds. 2006-11-02 22:42:34 +00:00
timeless%mozdev.org c47d0c2f58 Bug 281222 The file copy under unix can fail and produce zero sized file in some circumstances
patch by wbonnet@on-x.com r=timeless sr=darin
2006-11-02 21:27:37 +00:00
tor%cs.brown.edu cee3122525 Bug 359224 - include nsTraceRefcnt.h so NS_BUILD_REFCNT_LOGGING is valid.
Patch by amenzie@us.ibm.com, r+sr=sicking.
2006-11-02 21:09:47 +00:00
cvshook%sicking.cc 428b7a3dcd Disable test_autoarray in non-debug builds since it relies on debug-only code 2006-11-02 20:26:05 +00:00
cvshook%sicking.cc 03ab6e5bbf fix copy/paste error 2006-11-02 19:50:59 +00:00
cvshook%sicking.cc 9debfc2f3a Ugh, too many versions of this patch that builds on different places. This should be right. 2006-11-02 19:44:06 +00:00
cvshook%sicking.cc bd10875996 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:33:10 +00:00
cvshook%sicking.cc 58bd3889ba Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin 2006-11-02 19:31:05 +00:00
bzbarsky%mit.edu be730c9c74 Add a way to efficiently insert a bunch of identically constructed elements at a
given location in an nsTArray.  Bug 357630, r=sicking, sr=darin
2006-11-02 04:12:24 +00:00
timeless%mozdev.org 24a61f105a Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
2006-11-01 23:02:18 +00:00
redfive%acm.org 10e1e749e3 bug 357426 add static ctor/dtor PRLock methods via nsAutoLock ala. nsAutoMonitor
r=brendan
sr=jst
2006-10-27 00:57:14 +00:00
dougt%meer.net afe5d8312f Bug 308073. Adding Download folder to directory service. r=timeless 2006-10-24 20:56:13 +00:00
vladimir%pobox.com ba3c1f2953 b=354984, patches to build with vista RC1 SDK, r=darin 2006-10-24 20:38:29 +00:00
cvshook%sicking.cc 66f1e23c8f trying to fix redness 2006-10-17 22:11:53 +00:00
cvshook%sicking.cc d86d1443a1 Bug 355754: Add nsTPtrArray. r=darin sr=bz 2006-10-17 21:40:07 +00:00
db48x%yahoo.com 4ba740abce bug 356734: nsBaseHashtable.h casts a pointer to a PRBool, which gives an error in 64 bit gcc
r=dbradly, sr=biesi
2006-10-17 04:00:01 +00:00
timeless%mozdev.org 8d9227e26f Bug 353280 nsThread::PushEventQueue leaks queue if !queue->IsInitialized (nsEventQueue::nsEventQueue() : mMonitor(nsAutoMonitor::NewMonitor("xpcom.eventqueue")) fails)
patch by darin r=timeless
2006-10-16 08:02:37 +00:00
timeless%mozdev.org 79aaaa9c0d Bug 331996 nsIBinaryInputStream.readString/nsIBinaryInputStream.readCString and nsBinaryInputStream.readString/nsBinaryInputStream.readCString don't agree
r=darin
2006-10-16 08:01:00 +00:00
cvshook%sicking.cc e756443cb6 backout of previous patch due to redness and warnings 2006-10-12 19:08:45 +00:00
cvshook%sicking.cc 0f9bc607aa Bug 355754: Add nsTPtrArray and nsTConstPtrArray. r=darin/bz sr=bz 2006-10-12 18:35:12 +00:00
bugzilla%standard8.demon.co.uk 04721cb7bc Bug 351921 Remove xpcom/obsolete/nsSpecialSystemDirectory.{h,cpp} r=darin 2006-10-12 17:45:06 +00:00
bugzilla%standard8.demon.co.uk 92fe681ad7 Bug 351921 Remove xpcom/obsolete/nsSpecialSystemDirectory.{h,cpp} r=darin,edburns 2006-10-12 16:44:32 +00:00
timeless%mozdev.org 94784ecaa2 Bug 350908 setStringProperty() in nsIPersistentProperties2.idl needing comments
patch by gaomingcn@gmail.com r=dougt
2006-10-11 17:21:38 +00:00
mozilla%weilbacher.org 6803744fe0 [OS/2] Bug 351614: do not use strcpy, r=biesi, sr=mkaply 2006-10-02 21:18:23 +00:00
mats.palmgren%bredband.net 8239dcb851 Don't crash on OOM. b=353997 r+sr=darin 2006-09-30 05:15:57 +00:00
roc+%cs.cmu.edu 7fa74d31f1 Bug 354075. Complete move from toolkit/components/gnome to toolkit/system/gnome. r=bsmedberg 2006-09-27 20:17:56 +00:00
kaie%kuix.de bc76032543 Bug 353308, EACCES ignored: empty attachment
r=darin for xpcom changes, sr=mscott
Patch contributed by Stefan Rijnhart
2006-09-27 17:36:45 +00:00
sergei_d%fi.tartu.ee d4ac65df53 Bug 332074, [BEOS]Fix XPCOMGlue for BeOS, p=sergei_d, r=thesuckiestemail, r=bsmedberg 2006-09-27 16:07:06 +00:00
timeless%mozdev.org 5892f37244 Bug 353137 TestVersionComparator.cpp: Warning: String literal converted to char* in assignment.
r=dougt
2006-09-22 07:44:03 +00:00
timeless%mozdev.org eab0384d8e Bug 342671 Leaking process information handle in nsProcessCommon.cpp
patch by David.R.Gardiner@gmail.com r=timeless r=dougt
2006-09-22 07:43:07 +00:00
timeless%mozdev.org 204a110dff Bug 20232 Replace T::GetIID() (etc.) with NS_GET_IID(T)
r=bsmedberg sr=biesi
2006-09-17 00:04:39 +00:00
timeless%mozdev.org ffe1875783 Bug 352573 nsLocalFile::CopyDirectoryTo uses oldPerms uninitialized
r=dougt
2006-09-16 23:53:48 +00:00
bzbarsky%mit.edu 39c8cbae6a Fix allocator mismatch. Bug 352790, r+sr=darin 2006-09-16 02:36:10 +00:00
jshin%mailaps.org 1549282126 bug 344630: "mojibake" in download dialog (relanding with a bustage fix) 2006-09-15 02:56:02 +00:00
jshin%mailaps.org b3bd22426b back out the patch for bug 344630 2006-09-15 01:52:09 +00:00
jshin%mailaps.org 8ece754ae1 bug 344630 : "Mojibake" in file download dialog : r/sr=darin 2006-09-14 18:34:17 +00:00
benjamin%smedbergs.us cf9c92bd85 Build bustage, io.h only exists on windows. 2006-09-12 18:50:10 +00:00
benjamin%smedbergs.us f8b7089d8a Bug 340443 - Not possible to use the XPCOM glue with the static CRT, r=neil sr=darin 2006-09-12 18:22:40 +00:00
mozilla%weilbacher.org 956bd9faab [OS/2] Bug 351472: Fix build break in xpidl_java.c for GCC 3.2.2 builds, r=jhpedemonte 2006-09-07 19:57:16 +00:00
jruderman%hmc.edu 500e22801a Bug 324911, use different error messages for out-of-range in ElementAt and FastElementAt. r+sr=sicking. 2006-09-06 00:22:52 +00:00
brendan%mozilla.org 555a781970 Fix lack of XPC.mfasl versioning via separate JS bytecode version (350787, r=mrbkap/dbaron/jst). 2006-09-05 22:53:47 +00:00
cbiesinger%web.de 33e35afd71 bug 348748 make NS_*_CAST always use C++-style casts (in preparation for
removing the macros altogether)
r=bsmedberg sr=dbaron
2006-09-04 23:04:57 +00:00
cbiesinger%web.de 65a9af04b1 350330 remove unused NS_IPROPERTYELEMENT_CID
r+sr=darin
2006-08-31 00:17:23 +00:00
benjamin%smedbergs.us 04cdcf3b07 Bug 334528 - xulrunner-stub requires the MSVC runtimes to be present; this also fixes embedders and component authors who want to link to the XPCOM glue libraries with various CRTs, r=darin 2006-08-30 15:57:03 +00:00
benjamin%smedbergs.us 681646b263 Bug 350211 - Allow arbitrary build-system extension, parts 2 & 3 $(MOZ_BUILD_APP)/build.mk, r=mento 2006-08-29 16:53:40 +00:00
timeless%mozdev.org 9975414f7c Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
pedemont%us.ibm.com 7ec2464619 Bug 333618 - Use xpidl for generating Java interfaces. r=timeless/bsmedberg, sr=bsmedberg. 2006-08-28 15:24:32 +00:00
benjamin%smedbergs.us c8ddc264c4 Bug 350166 - stop exporting typelib/xpt functions, r=darin 2006-08-28 15:04:06 +00:00
jst%mozilla.jstenback.com f922b83b05 Fixing bug 348062. Making nsContentList hold strong references to the nodes in the list. r+sr=bzbarsky@mit.edu 2006-08-25 17:45:25 +00:00
sayrer%gmail.com d781a030d0 Bug 3344605. nsIPropertyBag2 should grow a non-throwing get() and hasKey(). r=darin, sr=shaver 2006-08-20 16:42:08 +00:00
benjamin%smedbergs.us d3b57fcec8 Bug 348992 - gFastLoadService_ exported unnecessarily, r=brendan 2006-08-17 17:10:24 +00:00
benjamin%smedbergs.us 6488b36a2c Bug 319843 - XULRunner windows are grouped in the taskbar (and all XULRunner apps have the same firewall settings), r=darin 2006-08-17 14:22:04 +00:00
vladimir%pobox.com 8827e3f637 b=327161, real and final fix for btek's orange in uuidgenerator glibc brokenness, r+sr=bz 2006-08-15 00:52:21 +00:00
vladimir%pobox.com 7126f1a5d8 b=327161, uuidgenerator stuff, attempt to fix btek from previous checkin, r=bz 2006-08-14 22:04:01 +00:00
vladimir%pobox.com eb040ffefa b=327161, nsUUIDGenerator subject to reseeding woes, r+sr=bz 2006-08-14 18:53:34 +00:00
gavin%gavinsharp.com 41a8d98101 Bug 347734: remove unused variable, patch by Regis Caspar <regis.caspar+bz@gmail.com>, r=bsmedberg 2006-08-11 20:40:51 +00:00
smontagu%smontagu.org c43db5189e Prevent the IS_*_SURROGATE macros from identifying code points in supplementary planes as surrogates. Bug 347867, r+sr=darin 2006-08-10 10:12:37 +00:00
benjamin%smedbergs.us 4f71380a1c Windows bustage from bug 347183 2006-08-08 19:00:18 +00:00
benjamin%smedbergs.us bece0ea443 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
benjamin%smedbergs.us 6fd13b8909 b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver
Original committer: vladimir%pobox.com
Original revision: 1.10
Original date: 2004/08/30 22:25:27
2006-08-08 17:10:07 +00:00
benjamin%smedbergs.us 74a7cc86d3 Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 1.9
Original date: 2004/04/18 14:18:13
2006-08-08 17:10:04 +00:00
benjamin%smedbergs.us a2a6cbe413 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
Original committer: bryner%brianryner.com
Original revision: 1.8
Original date: 2004/01/15 06:14:12
2006-08-08 17:10:01 +00:00
benjamin%smedbergs.us f9bf646ca3 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.

Original committer: dougt%netscape.com
Original revision: 1.7
Original date: 2003/03/15 01:04:09
2006-08-08 17:09:58 +00:00
benjamin%smedbergs.us d3806004d1 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless

Original committer: alecf%netscape.com
Original revision: 1.6
Original date: 2002/10/07 19:03:34
2006-08-08 17:09:55 +00:00
benjamin%smedbergs.us 2e5e2148b4 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
Original committer: gerv%gerv.net
Original revision: 1.5
Original date: 2001/09/28 20:12:31
2006-08-08 17:09:52 +00:00
benjamin%smedbergs.us a446365458 updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
Original committer: dmose%mozilla.org
Original revision: 1.4
Original date: 1999/11/06 03:38:06
2006-08-08 17:09:49 +00:00
benjamin%smedbergs.us c8ed055d1d Added constructor functions for nsEnumeratorUtils.
Original committer: warren%netscape.com
Original revision: 1.3
Original date: 1999/06/25 01:38:33
2006-08-08 17:09:46 +00:00
benjamin%smedbergs.us 7fb52c75be Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
Original committer: waterson%netscape.com
Original revision: 1.2
Original date: 1999/04/24 02:38:52
2006-08-08 17:09:43 +00:00
benjamin%smedbergs.us 05768680f9 b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver
Original committer: vladimir%pobox.com
Original revision: 3.13
Original date: 2004/08/30 22:25:27
2006-08-08 17:09:40 +00:00
benjamin%smedbergs.us e9e8ae663a Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 3.12
Original date: 2004/04/18 14:18:13
2006-08-08 17:09:37 +00:00
benjamin%smedbergs.us 1984797162 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.

Original committer: dougt%netscape.com
Original revision: 3.11
Original date: 2003/03/15 01:04:09
2006-08-08 17:09:34 +00:00
benjamin%smedbergs.us 7bf9bcddf9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
Original committer: dbaron%dbaron.org
Original revision: 3.10
Original date: 2003/01/08 23:04:15
2006-08-08 17:09:31 +00:00
benjamin%smedbergs.us 58d590dc74 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless

Original committer: alecf%netscape.com
Original revision: 3.9
Original date: 2002/10/07 19:03:34
2006-08-08 17:09:28 +00:00
benjamin%smedbergs.us ef3f9cb688 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
Original committer: dougt%netscape.com
Original revision: 3.8
Original date: 2002/09/07 17:12:47
2006-08-08 17:09:25 +00:00
benjamin%smedbergs.us 7eff1061bb nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
Original committer: dougt%netscape.com
Original revision: 3.7
Original date: 2001/10/19 20:52:43
2006-08-08 17:09:22 +00:00
benjamin%smedbergs.us 4de6cdf63d Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
Original committer: gerv%gerv.net
Original revision: 3.6
Original date: 2001/09/28 20:12:31
2006-08-08 17:09:19 +00:00
benjamin%smedbergs.us 39541a46b7 updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
Original committer: dmose%mozilla.org
Original revision: 3.5
Original date: 1999/11/06 03:38:06
2006-08-08 17:09:16 +00:00
benjamin%smedbergs.us 0379d46fe0 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
Original committer: scc%netscape.com
Original revision: 3.4
Original date: 1999/08/23 10:11:15
2006-08-08 17:09:13 +00:00
benjamin%smedbergs.us 0cc1e9756d Added constructor functions for nsEnumeratorUtils.
Original committer: warren%netscape.com
Original revision: 3.3
Original date: 1999/06/25 01:38:33
2006-08-08 17:09:10 +00:00
benjamin%smedbergs.us 86fdcf4e9c Fixed nsICollection (and Count in particular) to be xpidl friendly.
Original committer: warren%netscape.com
Original revision: 3.2
Original date: 1999/05/13 04:56:02
2006-08-08 17:09:07 +00:00
benjamin%smedbergs.us 843872f0cd Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsEnumeratorUtils.cpp
Original committer: waterson%netscape.com
Original revision: 3.1
Original date: 1999/04/24 02:38:54
2006-08-08 17:09:04 +00:00
benjamin%smedbergs.us e33e61aeb4 Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.11
Original date: 2005/12/13 21:12:38
2006-08-08 17:09:01 +00:00
benjamin%smedbergs.us a9e1afdb7d Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.10
Original date: 2005/11/30 18:51:27
2006-08-08 17:08:58 +00:00
benjamin%smedbergs.us ca3a79b446 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan

Original committer: timeless%mozdev.org
Original revision: 1.9
Original date: 2005/11/25 19:48:01
2006-08-08 17:08:55 +00:00
benjamin%smedbergs.us f48ecf5e9f Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 1.8
Original date: 2005/02/01 15:28:15
2006-08-08 17:08:52 +00:00
benjamin%smedbergs.us 6105c9a34b Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
Original committer: bryner%brianryner.com
Original revision: 1.7
Original date: 2004/01/15 06:14:12
2006-08-08 17:08:49 +00:00
benjamin%smedbergs.us 838b4dafeb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
Original committer: dbaron%dbaron.org
Original revision: 1.6
Original date: 2003/01/08 23:04:15
2006-08-08 17:08:46 +00:00
benjamin%smedbergs.us efa2c5613e Fix crash in ~nsCOMArrayEnumerator. Bug 181592, r=alecf, sr=scc
Original committer: bzbarsky%mit.edu
Original revision: 1.5
Original date: 2002/11/26 18:57:56
2006-08-08 17:08:43 +00:00
benjamin%smedbergs.us 2efc713c9f need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron

Original committer: bzbarsky%mit.edu
Original revision: 1.4
Original date: 2002/10/24 01:03:00
2006-08-08 17:08:40 +00:00
benjamin%smedbergs.us 91ce33fcf3 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless

Original committer: alecf%netscape.com
Original revision: 1.3
Original date: 2002/10/07 19:03:35
2006-08-08 17:08:37 +00:00
benjamin%smedbergs.us 0e5cfc8427 from brendan's review:
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build

Original committer: alecf%netscape.com
Original revision: 1.2
Original date: 2002/10/01 18:29:30
2006-08-08 17:08:34 +00:00
benjamin%smedbergs.us 11d110276e add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115

This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsArrayEnumerator.cpp
Original committer: alecf%netscape.com
Original revision: 1.1
Original date: 2002/10/01 17:34:25
2006-08-08 17:08:31 +00:00
benjamin%smedbergs.us 81a5ec57f4 Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.8
Original date: 2005/12/13 21:12:41
2006-08-08 17:08:28 +00:00
benjamin%smedbergs.us dc50314977 Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.7
Original date: 2005/11/30 18:51:27
2006-08-08 17:08:25 +00:00
benjamin%smedbergs.us 32aaf768b3 Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 1.6
Original date: 2005/02/01 15:28:15
2006-08-08 17:08:22 +00:00
benjamin%smedbergs.us c01727b7f7 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
Original committer: bryner%brianryner.com
Original revision: 1.5
Original date: 2004/01/15 06:14:12
2006-08-08 17:08:19 +00:00
benjamin%smedbergs.us 87cc6baeec Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.

Original committer: dougt%netscape.com
Original revision: 1.4
Original date: 2003/03/15 01:04:09
2006-08-08 17:08:16 +00:00
benjamin%smedbergs.us 27812636d7 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
Original committer: dbaron%dbaron.org
Original revision: 1.3
Original date: 2003/01/08 23:04:15
2006-08-08 17:08:13 +00:00
benjamin%smedbergs.us 9cf269e43a need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron

Original committer: bzbarsky%mit.edu
Original revision: 1.2
Original date: 2002/10/24 01:03:00
2006-08-08 17:08:10 +00:00
benjamin%smedbergs.us 29e64b5fc7 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115

This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsArrayEnumerator.h
Original committer: alecf%netscape.com
Original revision: 1.1
Original date: 2002/10/01 17:34:25
2006-08-08 17:08:07 +00:00
bzbarsky%mit.edu f365a5ece5 Remove no longer used tests so they stop confusing folks. Bug 347658, r+sr=darin 2006-08-08 16:44:29 +00:00
mark%moxienet.com 983e3eb5f7 Annoting tests where failure is expected (bug 347778 comments 3 and 5) 2006-08-08 16:43:41 +00:00
mark%moxienet.com 4d3edaaa3b 347778 nsLocalFile::MoveTo no longer creates directories when needed on OS X after bug 294584. r=darin 2006-08-07 21:27:09 +00:00
cbiesinger%web.de 824ca67583 Bug 344196 make nsVariant::SetAsDOMString set mType correctly
patch by Andrew Miller <ak.miller@auckland.ac.nz> r=dougt sr=brendan
2006-08-04 17:20:27 +00:00
alfred.peng%sun.com e2f791fe98 Bug 347170 nsAString.h and nsSubstring.h should use && instead of &
jst: review+
darin: superreview+
2006-08-04 08:36:36 +00:00
brendan%mozilla.org 16757f0bd9 Fix from alfred.peng@sun.com for a bug hiding out from over four years ago (341595, r=me). 2006-08-03 22:07:03 +00:00
benjamin%smedbergs.us fff88cc6ad Bug 347114 - nsVoidArray::SetArray implementation is marked inline incorrectly, r=obvious build bustage 2006-08-03 13:34:20 +00:00
benjamin%smedbergs.us 66d7b11b39 Bug 305949 - stop exporting nonfrozen XPCOM symbols when libxul is enabled, r=darin 2006-08-02 18:27:25 +00:00
brendan%mozilla.org c2e9731961 Back out last commit to try to turn Balsa green. 2006-08-01 23:33:24 +00:00
brendan%mozilla.org 30a011da04 Fix from alfred.peng@sun.com for old seek-on-selected-stream-without-mBytesLeft-update bug, plus assertions and a null store for stronger consistency (341595, r=me for Alfred's parts, and vice versa). 2006-08-01 20:14:33 +00:00
mark%moxienet.com b88e6ef209 294584 Profile fills with bookmarks-##.html (and cookies-##.txt) files due to contention with Spotlight and virus scanners. Use POSIX rename/unlink/rmdir APIs instead of higher-level File Manager equivalents. r=josh sr=darin 2006-08-01 01:48:24 +00:00
benjamin%smedbergs.us 847f95b096 Bug 345517 - xpcom/glue fixups required to move browser/ code to use the glue, r=darin 2006-07-31 19:37:30 +00:00
martijn.martijn%gmail.com f9f408dd17 Bug 323195 - XPCAutoUnlock messes with detection of potential deadlocks, patch by Matthew Gertner, r=brendan 2006-07-29 14:45:09 +00:00
timeless%mozdev.org 610396f65a Bug 345903 Crash in [@ nsComponentManagerImpl::GetService] with broken JS component
r=dougt
ComponentManager talks to factories when it's asked to create components or get services. The factories are expected to return success when they provide an object or return a failure code and provide a null pointer.

Unfortunately, it's trivially easy for someone writing a js xpcom component to mess up their factory such that they return success without providing an object.

In this case we will now throw NS_ERROR_SERVICE_NOT_FOUND. I've picked this because we did not find a factory capable of properly servicing our request :) -- and because there's no better result available :(.

This branch eventually deserves PR_LOGGING so that people could see it even if they didn't build debug (but did somehow get prlogging), but that's left for a future patch.
2006-07-26 16:00:16 +00:00
sergei_d%fi.tartu.ee dbfcb0e712 [BeOS]Fixing XPCOM Glue-standalone bustage, p=sergei_d, r=benjamin, affects only BeOS-port 2006-07-24 20:33:19 +00:00
mark%moxienet.com bfe4b085ee 345397 Support pathnames in nsLocalFileOSX::SetPersistentDescriptor. r=josh sr=darin 2006-07-23 15:16:37 +00:00
benjamin%smedbergs.us f4fa701ec6 Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin 2006-07-21 16:28:51 +00:00
benjamin%smedbergs.us 3244b5d297 Bug 344623 - leaks caused by incorrect refcounting in bug 342311, r=darin 2006-07-19 18:28:00 +00:00
benjamin%smedbergs.us fe09418e82 Part of bug 344623 - stupid typo 2006-07-19 15:43:13 +00:00
gavin%gavinsharp.com f5c3506ad3 Bug 322169: Clear Private Data does not clear JS Console, patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor, r=darin 2006-07-19 12:49:33 +00:00
sergei_d%fi.tartu.ee 2912c31b74 [BEOS] Use real process directory, Bug 341031, p=sergei_d, r=benjaminBeOS-specific patch 2006-07-19 12:00:16 +00:00
benjamin%smedbergs.us 7280a0bc02 Bug 344652 - Synchronous proxy operations always return NS_OK, patch by Neil Rashbrook, r=me sr=darin 2006-07-18 20:04:05 +00:00
benjamin%smedbergs.us 439f716761 Warning fix for Bug 342311 - xpcom/proxy refactoring 2006-07-17 14:32:09 +00:00
mozilla%weilbacher.org 9ca1138c10 [OS/2] Bug 325902: make xpt_link expand wildcards, p=abwillis, r=mkaply 2006-07-14 20:05:21 +00:00
benjamin%smedbergs.us e9871fff45 Bustage fix, bug 342311 2006-07-13 16:01:41 +00:00
benjamin%smedbergs.us 3a5851d071 Bug 342311 - xpcom/proxy refactoring, in preparation for xptcall rework, r=darin 2006-07-13 15:51:03 +00:00
roc+%cs.cmu.edu 1d2505ffa1 Bug 344206. Fix unit coversion Ceil/Floor functions to use floor() and ceil() because the current scheme is nonsense. r=vlad 2006-07-13 08:03:04 +00:00
darin%meer.net 10589364d8 fixes bug 343731 "###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file ../../dist/include/xpcom/nsCOMPtr.h, line 594" r=biesi 2006-07-06 18:46:31 +00:00
sspitzer%mozilla.org e1ed597e97 fix for bug #341190
Software update should forward information about specific operating system version.

r=darin
2006-07-06 06:32:03 +00:00
darin%meer.net d96f34ca2f fixes bug 333167 "remove idle timer / timer manager after bug 326273 is fixed" r=pavlov 2006-06-29 00:01:58 +00:00
darin%meer.net 2b3e7293f4 fixing win32 build bustage 2006-06-28 23:49:57 +00:00
darin%meer.net d15d2cd88d fixing win32 bustage 2006-06-28 22:54:40 +00:00
darin%meer.net f82984eee5 fixes bug 335957 "Provide method to resize-and-get mutable string data" r=dbaron 2006-06-28 22:11:39 +00:00
darin%meer.net 2fc65eda28 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-27 23:13:48 +00:00
beng%bengoodger.com af5d422f2d 334747, 339893 - desktop application feed readers do not display their app name properly or launch with the specified feed on OSX due to lack of support for a function to get the application bundle name, and a method to invoke an application bundle on OS X with a URL. Add an attribute to nsILocalFileMac called bundleDisplayName to show the application's name, and a method to nsIShellService called openApplicationWithURL which launches an application with a URL parameter appropriately across platforms (nsIProcess on windows and linux, LaunchServices on OS X). Update the client code to use bundleDisplayName, and also the <filefield> binding in preferences to use it too. r=mark sr=darin 2006-06-27 22:38:55 +00:00
mozilla%weilbacher.org 4578273740 [OS/2] Bug 301367: Tag Files with Source URL, p=Rich Walsh, r=me, sr=darin 2006-06-26 20:40:08 +00:00
dougt%meer.net e3c912827b Enable Reveal and Launch for WINCE. r=me, b=342172 2006-06-23 21:38:38 +00:00
dveditz%cruzio.com 07b9556dd1 bug 284219 addendum, missed biesi's review comment 2006-06-22 22:21:52 +00:00
dveditz%cruzio.com f3e1ecabf0 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
darin%meer.net 989912102d backing out patch for bug 332730 2006-06-20 17:50:49 +00:00
darin%meer.net 0bb12bafa5 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-20 02:05:10 +00:00
dougt%meer.net 6e36577f0c Fixing build bustage. WINCE only. r=dougt 2006-06-17 00:14:35 +00:00
dougt%meer.net 80cdb34179 On windows CE, some devices run very slowly if you write data to /Windows. Mike Calligaro suggests that this is a compaction problem in non-native Windows Mobile 5 devices. The solution is to move the profile directory to the same directory as the application. WINCE ONLY 2006-06-16 00:46:00 +00:00
mark%moxienet.com 34b5a77a24 Copy'n'paste (340071) and drag'n'drop (340890) between Mozilla app running natively and Mozilla app running under Rosetta translation does not work [properly]. Byte-swap UTF-16 text in private flavors when running under Rosetta. r=josh sr=pink a/1.8.1=me 2006-06-15 17:13:59 +00:00
benjamin%smedbergs.us c061e0dd91 Bug 339105 - nsUnicharPtrHashKey, r=darin 2006-06-15 13:48:29 +00:00
bzbarsky%mit.edu 9968fe3d8b Make nsUUIDGenerator use the low bits, not the high ones, so we actually get
random numbers on 64-bit systems.  Bug 335549, r=vlad, sr=roc
2006-06-15 04:40:21 +00:00
mhammond%skippinet.com.au 978524b778 Correct the change to the fast-load version. r/sr=bz 2006-06-15 03:06:30 +00:00
mhammond%skippinet.com.au d5ad1dc2b9 Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
myk%mozilla.org 75c5de8e09 moves Firefox-specific microsummary directory definitions to nsBrowserDirectoryProvider
bug=337324
r=bsmedberg
a=mconnor for the 1.8 branch
2006-06-12 18:58:37 +00:00
bent.mozilla%gmail.com e835e5f0dc Bug 340275 - "Make nsTArray available to XULRunner apps". r=darin. 2006-06-07 20:14:52 +00:00