Commit Graph

7403 Commits

Author SHA1 Message Date
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