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

7477 Коммитов

Автор SHA1 Сообщение Дата
benjamin%smedbergs.us 9bbc39a68d 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 ba76d53caa 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 c8ccd4e6e9 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 29b2d6ae22 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 ce8797942d 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 8060aec60c 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 2e67e2a63e 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 ec2c3e9d6b 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 d2f609f624 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 417460f7ae 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 ce4bb9ad33 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 2e8086a742 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 08de256cc5 Annoting tests where failure is expected (bug 347778 comments 3 and 5) 2006-08-08 16:43:41 +00:00
mark%moxienet.com 3faa5035a0 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 4b1e73757c 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 d54f29958e 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 ee6d5a0d06 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 9ca8e85066 Bug 347114 - nsVoidArray::SetArray implementation is marked inline incorrectly, r=obvious build bustage 2006-08-03 13:34:20 +00:00
benjamin%smedbergs.us a1d0d30501 Bug 305949 - stop exporting nonfrozen XPCOM symbols when libxul is enabled, r=darin 2006-08-02 18:27:25 +00:00
brendan%mozilla.org 6ec73b11fa Back out last commit to try to turn Balsa green. 2006-08-01 23:33:24 +00:00
brendan%mozilla.org a500820740 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 5cd71b72d1 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 4243c38899 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 584a33c71c 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 bf613adffe 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 b66d351891 [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 f41b9c5029 345397 Support pathnames in nsLocalFileOSX::SetPersistentDescriptor. r=josh sr=darin 2006-07-23 15:16:37 +00:00
benjamin%smedbergs.us c9125873ca Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin 2006-07-21 16:28:51 +00:00
benjamin%smedbergs.us 2defb1043c Bug 344623 - leaks caused by incorrect refcounting in bug 342311, r=darin 2006-07-19 18:28:00 +00:00
benjamin%smedbergs.us c2f4de14b4 Part of bug 344623 - stupid typo 2006-07-19 15:43:13 +00:00
gavin%gavinsharp.com 15076987ab 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 0b6a998d5b [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 b3399d66ea 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 4f1ea0e1ac Warning fix for Bug 342311 - xpcom/proxy refactoring 2006-07-17 14:32:09 +00:00
mozilla%weilbacher.org a8ccae2f88 [OS/2] Bug 325902: make xpt_link expand wildcards, p=abwillis, r=mkaply 2006-07-14 20:05:21 +00:00
benjamin%smedbergs.us 53db5074f4 Bustage fix, bug 342311 2006-07-13 16:01:41 +00:00
benjamin%smedbergs.us f370c28641 Bug 342311 - xpcom/proxy refactoring, in preparation for xptcall rework, r=darin 2006-07-13 15:51:03 +00:00
roc+%cs.cmu.edu b3e499d2c6 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 8d68c36a7f 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 7ce269136a 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 0f94d8ab55 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 1fe60255fb fixing win32 build bustage 2006-06-28 23:49:57 +00:00
darin%meer.net 218045e9fd fixing win32 bustage 2006-06-28 22:54:40 +00:00
darin%meer.net 1bda9a04bc 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 edc7e0ce24 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-27 23:13:48 +00:00
beng%bengoodger.com 65ef342f8e 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 db68ff7b6c [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 7910a4cc61 Enable Reveal and Launch for WINCE. r=me, b=342172 2006-06-23 21:38:38 +00:00
dveditz%cruzio.com 4a2fa425a7 bug 284219 addendum, missed biesi's review comment 2006-06-22 22:21:52 +00:00
dveditz%cruzio.com 506140bd0c 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 1e7da7adf8 backing out patch for bug 332730 2006-06-20 17:50:49 +00:00
darin%meer.net 753dd7db43 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky 2006-06-20 02:05:10 +00:00
dougt%meer.net 4ecd5be03c Fixing build bustage. WINCE only. r=dougt 2006-06-17 00:14:35 +00:00
dougt%meer.net 29fd3e6431 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 ffba1158c6 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 0ce991da3a Bug 339105 - nsUnicharPtrHashKey, r=darin 2006-06-15 13:48:29 +00:00
bzbarsky%mit.edu f2cf54597a 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 90ce32e3d2 Correct the change to the fast-load version. r/sr=bz 2006-06-15 03:06:30 +00:00
mhammond%skippinet.com.au 0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
myk%mozilla.org 2d4618d268 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 b7504ca8a4 Bug 340275 - "Make nsTArray available to XULRunner apps". r=darin. 2006-06-07 20:14:52 +00:00
brettw%gmail.com efa80a10a5 Bug 340595 r+a=darin Bug in nsTArray::SetLength 2006-06-07 17:00:18 +00:00
mark%moxienet.com a6b04ae8c0 340032 nsIThreadObserver needs a method called after processing an event to support Cocoa autorelease pools. r=darin sr=bryner 2006-06-07 00:06:11 +00:00
cst%yecc.com 6b66156a30 Bug 258058
nsValueArray needs a ReplaceValueAt()
r=bsmedberg sr=alecf
2006-06-06 13:26:26 +00:00
brendan%mozilla.org fa309dd75b Eliminate warnings, clean up assertion translation. 2006-06-05 20:35:07 +00:00
timeless%mozdev.org 536dae940c Bug 336989 Useless null check of aOwner in nsPluginHostImpl::InstantiateEmbeddedPlugin
Also fixing a spelling error which happens to appear in pluginhostimpl and xpconnect sample
r=jst sr=jst
2006-06-03 23:23:45 +00:00
bent.mozilla%gmail.com 96ba6e66fd Bug 289689 - "Memory leak: nsDebugImpl::Assertion, Create Process". r=dougt, sr=darin. 2006-06-02 23:37:10 +00:00
joshmoz%gmail.com 5ea4cf029a add a comment for my last checkin, b=339987 2006-06-02 20:20:52 +00:00
joshmoz%gmail.com 704e5701f1 Make Mac OS X debug trap impl use raise(SIGTRAP) instead of Mac OS X debugging function so we're only required to set the XPCOM debug env variable and not also the Mac OS X debug break variable. Also make GNUC/x86 test more robust, include '__i386__' in the test because not all platforms define '__i386' (Mac OS X is one of those, though it doesn't really matter here since we do a separate test for Mac OS X). b=339987 r=mento sr=dougt 2006-06-02 20:06:43 +00:00
dougt%meer.net 18263835ff Removing noise from the build. Windows CE always uses the W stubs for now. r=me 2006-06-02 18:38:38 +00:00
benjamin%smedbergs.us f51ee5d8fd Bug 339726 - getter_Copies (internal API) should work with nsString, r=darin 2006-05-31 14:28:14 +00:00
darin%meer.net 5ca35e1e89 fixes bug 337492 "xpcom proxies may release proxied object on random threads" r=bsmedberg 2006-05-30 23:07:13 +00:00
benjamin%smedbergs.us e0c5b54688 Bug 337731 - Make gnomevfs use frozen linkage, r=darin 2006-05-23 19:50:24 +00:00
benjamin%smedbergs.us bf889b560a Bustage fix, bug 338734 2006-05-22 14:56:00 +00:00
benjamin%smedbergs.us 5cf5cfff96 Bug 338734 - Make nsProxyRelease available to frozen-linkage code, r=darin 2006-05-22 14:19:13 +00:00
benjamin%smedbergs.us 10a6c9e4c4 friend declarations need the same declspec on windows, so to avoid complexity just make the semi-private data public 2006-05-19 23:00:22 +00:00
benjamin%smedbergs.us 135baa7fce Fix review nit 2006-05-19 22:47:53 +00:00
benjamin%smedbergs.us 0008d413fc Bug 337730 - add additional utilities to nsStringAPI, r=darin
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:46:38 +00:00
benjamin%smedbergs.us b4210273da Bug 337730 - add additional utilities to nsStringAPI, r=darin
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:37:17 +00:00
bryner%brianryner.com d1e00151e6 Implement nsIShellService for GNOME (bug 242254). r=biesi, sr=shaver. Note: set as wallpaper for images that use transparency will be broken until bug 250531 is fixed. This also makes toolkit/ always be pulled in preparation for migrating more code to the new GNOME XPCOM interfaces. 2006-05-17 02:22:33 +00:00
darin%meer.net 2f10fa4a71 backing out patch for bug 337492 to fix tinderbox orange 2006-05-16 21:42:52 +00:00
darin%meer.net e46fc51cd7 Attempting to fix nye tinderbox bustage. 2006-05-16 21:14:45 +00:00
darin%meer.net bc7d72de6f fixes bug 337492 "xpcom proxies may release proxied object on random threads" r=bsmedberg 2006-05-16 20:17:36 +00:00
darin%meer.net 54d7419a37 fixes bug 338075 "CID 538, resource leak" patch by Feng Qian, r=darin 2006-05-16 00:11:38 +00:00
darin%meer.net fa833be9ab removing empty file (bug 330062) 2006-05-15 06:13:10 +00:00
bzbarsky%mit.edu 792a02421d Make it ok to call nsUUIDGenerator from off the main thread. Bug 334983,
r=vlad, sr=darin
2006-05-14 22:41:47 +00:00
darin%meer.net ea010b8b75 fixes bug 337752 "gcc 3.2.2 generates bad code for nsRunnableMethod<T>" r=bsmedberg 2006-05-12 20:18:13 +00:00
bzbarsky%mit.edu 5abe2229c9 Do better logging of string leaks. Bug 336914, r+sr=darin 2006-05-12 03:36:37 +00:00
darin%meer.net bc46644aa6 Tidy up nsThreadManager::Shutdown per suggestion from roc (see bug 326273) 2006-05-11 01:24:57 +00:00
darin%meer.net e53eb29e72 fixing upload to a file channel and the win32 vc6 build bustage (out with NS_NewRunnableMethod and in with NS_NEW_RUNNABLE_METHOD) 2006-05-10 22:49:04 +00:00
darin%meer.net 7321e2791d fix vc6 bustage 2006-05-10 19:02:05 +00:00
darin%meer.net d892c6c2e4 fixing uninitialized variable error in TimerThread::Init. 2006-05-10 18:30:57 +00:00
darin%meer.net 8602491b67 fixes SunOS (putt) bustage 2006-05-10 18:27:21 +00:00
darin%meer.net 12f9fa579b fix AIX bustage 2006-05-10 18:13:20 +00:00
darin%meer.net b6261df5f9 fixing btek build bustage. making destructor public so it can be called
from a static destructor :(
2006-05-10 18:05:38 +00:00
darin%meer.net 342082f9ca fix btek bustage. 2006-05-10 17:47:50 +00:00
darin%meer.net f2da6ac0a8 removing empty file (b=326273) 2006-05-10 17:33:01 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
timeless%mozdev.org bd0c85a467 Bug 331818 xpidl crashes when no file name is given on the command line
patch by mh+mozilla@glandium.org changes per dbradley r=timeless sr=shaver
2006-05-06 23:39:09 +00:00
cbiesinger%web.de 51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00