7363 Commits

Author SHA1 Message Date
timeless%mozdev.org
b3b9a205df 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.


git-svn-id: svn://10.0.0.236/trunk@203727 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 16:00:16 +00:00
sergei_d%fi.tartu.ee
8cbd9c688c [BeOS]Fixing XPCOM Glue-standalone bustage, p=sergei_d, r=benjamin, affects only BeOS-port
git-svn-id: svn://10.0.0.236/trunk@203547 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 20:33:19 +00:00
mark%moxienet.com
45e529bd46 345397 Support pathnames in nsLocalFileOSX::SetPersistentDescriptor. r=josh sr=darin
git-svn-id: svn://10.0.0.236/trunk@203468 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-23 15:16:37 +00:00
benjamin%smedbergs.us
e5f238eaac Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin
git-svn-id: svn://10.0.0.236/trunk@203371 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 16:28:51 +00:00
benjamin%smedbergs.us
266c1b01a4 Bug 344623 - leaks caused by incorrect refcounting in bug 342311, r=darin
git-svn-id: svn://10.0.0.236/trunk@203130 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 18:28:00 +00:00
benjamin%smedbergs.us
f3d7ef9b58 Part of bug 344623 - stupid typo
git-svn-id: svn://10.0.0.236/trunk@203123 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 15:43:13 +00:00
gavin%gavinsharp.com
09597af3f8 Bug 322169: Clear Private Data does not clear JS Console, patch by Simon Bünzli <zeniko@gmail.com>, r=mconnor, r=darin
git-svn-id: svn://10.0.0.236/trunk@203096 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 12:49:33 +00:00
sergei_d%fi.tartu.ee
50279f3a03 [BEOS] Use real process directory, Bug 341031, p=sergei_d, r=benjaminBeOS-specific patch
git-svn-id: svn://10.0.0.236/trunk@203090 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 12:00:16 +00:00
benjamin%smedbergs.us
e6c830d952 Bug 344652 - Synchronous proxy operations always return NS_OK, patch by Neil Rashbrook, r=me sr=darin
git-svn-id: svn://10.0.0.236/trunk@203017 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 20:04:05 +00:00
benjamin%smedbergs.us
f496ae1be3 Warning fix for Bug 342311 - xpcom/proxy refactoring
git-svn-id: svn://10.0.0.236/trunk@202216 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 14:32:09 +00:00
mozilla%weilbacher.org
2d60be7b41 [OS/2] Bug 325902: make xpt_link expand wildcards, p=abwillis, r=mkaply
git-svn-id: svn://10.0.0.236/trunk@202172 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 20:05:21 +00:00
benjamin%smedbergs.us
7297df589d Bustage fix, bug 342311
git-svn-id: svn://10.0.0.236/trunk@202030 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 16:01:41 +00:00
benjamin%smedbergs.us
5e98b75364 Bug 342311 - xpcom/proxy refactoring, in preparation for xptcall rework, r=darin
git-svn-id: svn://10.0.0.236/trunk@202029 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 15:51:03 +00:00
roc+%cs.cmu.edu
c141c564de Bug 344206. Fix unit coversion Ceil/Floor functions to use floor() and ceil() because the current scheme is nonsense. r=vlad
git-svn-id: svn://10.0.0.236/trunk@201999 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 08:03:04 +00:00
darin%meer.net
5e4d710749 fixes bug 343731 "###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file ../../dist/include/xpcom/nsCOMPtr.h, line 594" r=biesi
git-svn-id: svn://10.0.0.236/trunk@201689 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 18:46:31 +00:00
sspitzer%mozilla.org
49e75eee09 fix for bug #341190
Software update should forward information about specific operating system version.

r=darin


git-svn-id: svn://10.0.0.236/trunk@201665 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 06:32:03 +00:00
darin%meer.net
8ef91351f5 fixes bug 333167 "remove idle timer / timer manager after bug 326273 is fixed" r=pavlov
git-svn-id: svn://10.0.0.236/trunk@201170 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 00:01:58 +00:00
darin%meer.net
3ebe1b89e8 fixing win32 build bustage
git-svn-id: svn://10.0.0.236/trunk@201167 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 23:49:57 +00:00
darin%meer.net
5b62b43f3d fixing win32 bustage
git-svn-id: svn://10.0.0.236/trunk@201157 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 22:54:40 +00:00
darin%meer.net
d49c6a4307 fixes bug 335957 "Provide method to resize-and-get mutable string data" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@201151 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 22:11:39 +00:00
darin%meer.net
48c3606657 fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@201040 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 23:13:48 +00:00
beng%bengoodger.com
0dc71f905e 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
git-svn-id: svn://10.0.0.236/trunk@201036 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 22:38:55 +00:00
mozilla%weilbacher.org
1c6ccaa40d [OS/2] Bug 301367: Tag Files with Source URL, p=Rich Walsh, r=me, sr=darin
git-svn-id: svn://10.0.0.236/trunk@200922 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 20:40:08 +00:00
dougt%meer.net
a5583106c2 Enable Reveal and Launch for WINCE. r=me, b=342172
git-svn-id: svn://10.0.0.236/trunk@200734 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 21:38:38 +00:00
dveditz%cruzio.com
1df5c4d525 bug 284219 addendum, missed biesi's review comment
git-svn-id: svn://10.0.0.236/trunk@200636 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 22:21:52 +00:00
dveditz%cruzio.com
f869942298 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
darin%meer.net
24749a116d backing out patch for bug 332730
git-svn-id: svn://10.0.0.236/trunk@200444 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 17:50:49 +00:00
darin%meer.net
8fe4e1d55a fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200396 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 02:05:10 +00:00
dougt%meer.net
f65c262962 Fixing build bustage. WINCE only. r=dougt
git-svn-id: svn://10.0.0.236/trunk@200168 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-17 00:14:35 +00:00
dougt%meer.net
7224799221 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
git-svn-id: svn://10.0.0.236/trunk@200074 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 00:46:00 +00:00
mark%moxienet.com
c0764f0307 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
git-svn-id: svn://10.0.0.236/trunk@199998 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 17:14:00 +00:00
benjamin%smedbergs.us
d8b7bda680 Bug 339105 - nsUnicharPtrHashKey, r=darin
git-svn-id: svn://10.0.0.236/trunk@199971 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 13:48:29 +00:00
bzbarsky%mit.edu
37930f4f77 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


git-svn-id: svn://10.0.0.236/trunk@199951 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 04:40:21 +00:00
mhammond%skippinet.com.au
65e47e3355 Correct the change to the fast-load version. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@199930 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:06:30 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
myk%mozilla.org
bea1c4ae97 moves Firefox-specific microsummary directory definitions to nsBrowserDirectoryProvider
bug=337324
r=bsmedberg
a=mconnor for the 1.8 branch


git-svn-id: svn://10.0.0.236/trunk@199737 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 18:58:37 +00:00
bent.mozilla%gmail.com
c584520d91 Bug 340275 - "Make nsTArray available to XULRunner apps". r=darin.
git-svn-id: svn://10.0.0.236/trunk@199437 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 20:14:52 +00:00
brettw%gmail.com
6ae0a06c16 Bug 340595 r+a=darin Bug in nsTArray::SetLength
git-svn-id: svn://10.0.0.236/trunk@199425 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 17:00:18 +00:00
mark%moxienet.com
b03f0316c3 340032 nsIThreadObserver needs a method called after processing an event to support Cocoa autorelease pools. r=darin sr=bryner
git-svn-id: svn://10.0.0.236/trunk@199172 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 00:06:11 +00:00
cst%yecc.com
cfde75b236 Bug 258058
nsValueArray needs a ReplaceValueAt()
r=bsmedberg sr=alecf


git-svn-id: svn://10.0.0.236/trunk@199104 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 13:26:26 +00:00
brendan%mozilla.org
6395532ef8 Eliminate warnings, clean up assertion translation.
git-svn-id: svn://10.0.0.236/trunk@199058 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 20:35:07 +00:00
timeless%mozdev.org
adc085ea1f 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


git-svn-id: svn://10.0.0.236/trunk@198970 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:23:45 +00:00
bent.mozilla%gmail.com
ffd74d2c73 Bug 289689 - "Memory leak: nsDebugImpl::Assertion, Create Process". r=dougt, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@198922 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 23:37:10 +00:00
joshmoz%gmail.com
4f6ed4fe6d add a comment for my last checkin, b=339987
git-svn-id: svn://10.0.0.236/trunk@198899 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 20:20:52 +00:00
joshmoz%gmail.com
51cd8132db 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
git-svn-id: svn://10.0.0.236/trunk@198898 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 20:06:43 +00:00
dougt%meer.net
eee67134c5 Removing noise from the build. Windows CE always uses the W stubs for now. r=me
git-svn-id: svn://10.0.0.236/trunk@198886 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 18:39:07 +00:00
benjamin%smedbergs.us
897c6c82d6 Bug 339726 - getter_Copies (internal API) should work with nsString, r=darin
git-svn-id: svn://10.0.0.236/trunk@198732 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 14:28:14 +00:00
darin%meer.net
c6462b5272 fixes bug 337492 "xpcom proxies may release proxied object on random threads" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@198691 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 23:07:13 +00:00
benjamin%smedbergs.us
108fbe2771 Bug 337731 - Make gnomevfs use frozen linkage, r=darin
git-svn-id: svn://10.0.0.236/trunk@198275 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-23 19:50:24 +00:00
benjamin%smedbergs.us
cc5a9309a0 Bustage fix, bug 338734
git-svn-id: svn://10.0.0.236/trunk@198157 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 14:56:00 +00:00