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

7577 Коммитов

Автор SHA1 Сообщение Дата
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
brettw%gmail.com 7f74e54994 Bug 340595 r+a=darin Bug in nsTArray::SetLength 2006-06-07 17:00:18 +00:00
mark%moxienet.com 62727bab27 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 e3f2593485 Bug 258058
nsValueArray needs a ReplaceValueAt()
r=bsmedberg sr=alecf
2006-06-06 13:26:26 +00:00
brendan%mozilla.org 8af0ac5642 Eliminate warnings, clean up assertion translation. 2006-06-05 20:35:07 +00:00
timeless%mozdev.org d69e663192 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 d77e79e3cb Bug 289689 - "Memory leak: nsDebugImpl::Assertion, Create Process". r=dougt, sr=darin. 2006-06-02 23:37:10 +00:00
joshmoz%gmail.com f081589556 add a comment for my last checkin, b=339987 2006-06-02 20:20:52 +00:00
joshmoz%gmail.com cd658ed6ba 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 bd1fcaf32b 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 4d5d0f8fb0 Bug 339726 - getter_Copies (internal API) should work with nsString, r=darin 2006-05-31 14:28:14 +00:00
darin%meer.net 9fe4f30c36 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 d261714eef Bug 337731 - Make gnomevfs use frozen linkage, r=darin 2006-05-23 19:50:24 +00:00
benjamin%smedbergs.us 740b1a337e Bustage fix, bug 338734 2006-05-22 14:56:00 +00:00
benjamin%smedbergs.us 6c4776a2bc Bug 338734 - Make nsProxyRelease available to frozen-linkage code, r=darin 2006-05-22 14:19:13 +00:00
benjamin%smedbergs.us 6b72733532 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 aa428eac7a Fix review nit 2006-05-19 22:47:53 +00:00
benjamin%smedbergs.us 53fb009bdb 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 0bca496fd6 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 b1a0e3e757 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 e983a5d96e backing out patch for bug 337492 to fix tinderbox orange 2006-05-16 21:42:52 +00:00
darin%meer.net 5da82cbce3 Attempting to fix nye tinderbox bustage. 2006-05-16 21:14:45 +00:00
darin%meer.net 33a6271db7 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 8fc0bff8ba fixes bug 338075 "CID 538, resource leak" patch by Feng Qian, r=darin 2006-05-16 00:11:38 +00:00
darin%meer.net 044fbae683 removing empty file (bug 330062) 2006-05-15 06:13:10 +00:00
bzbarsky%mit.edu 60c201ffe9 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 720e8da3b7 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 dd44729d20 Do better logging of string leaks. Bug 336914, r+sr=darin 2006-05-12 03:36:37 +00:00
darin%meer.net 82cfeaceb5 Tidy up nsThreadManager::Shutdown per suggestion from roc (see bug 326273) 2006-05-11 01:24:57 +00:00
darin%meer.net 5546eca278 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 014aac9ff4 fix vc6 bustage 2006-05-10 19:02:05 +00:00
darin%meer.net 6889c4d8fa fixing uninitialized variable error in TimerThread::Init. 2006-05-10 18:30:57 +00:00
darin%meer.net d7a07a2772 fixes SunOS (putt) bustage 2006-05-10 18:27:21 +00:00
darin%meer.net e1b5f34f7b fix AIX bustage 2006-05-10 18:13:20 +00:00
darin%meer.net 55bcc4cd75 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 216f81ffd4 fix btek bustage. 2006-05-10 17:47:50 +00:00
darin%meer.net 5dd3ff149b removing empty file (b=326273) 2006-05-10 17:33:01 +00:00
darin%meer.net 7d3e7d7acd 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 d9e73e4fc9 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 1fe4516c9f 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
dbaron%dbaron.org 0c9372c940 Fix threadsafety regression so we're back to the old broken state. b=335734 r=sicking rs=brendan 2006-05-06 17:49:21 +00:00
myk%mozilla.org c5b8e2d95e Initial support for microsummaries via a service and integration into the bookmarks UI.
bug=334471
r=brettw
a=ben for the branch
2006-05-05 22:45:37 +00:00
benjamin%smedbergs.us 896debf2b0 Bug 335248 - Add StringBeginsWith and several other functions to the frozen CRTGlue/stringapi, r=darin 2006-05-04 18:34:45 +00:00
benjamin%smedbergs.us cb2e530081 Bug 78081 - Don't export intermediate libraries, initial changes blanket-r=mento 2006-05-03 22:19:54 +00:00
benjamin%smedbergs.us 7924018c5d Fix build bustage, bug 334038 2006-05-03 16:34:24 +00:00
benjamin%smedbergs.us 6cb145f253 Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
bzbarsky%mit.edu fca88cd9e1 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
benjamin%smedbergs.us e2b1353329 Bug 332147 - Expose nsEscape on a scriptable interface, r=darin 2006-05-02 16:27:23 +00:00
ajschult%verizon.net 5676697873 Bug 334549: Fix for Coverty CID 179: assert instead try to handle being called twice. patch by Jon Smirl <jonsmirl@yahoo.com>, r=bsmedberg, sr=darin 2006-05-01 03:47:02 +00:00
benjamin%smedbergs.us 1da150a196 Bug 333308 - make clean/distclean misses various files, patch by Mike Hommey <mh+mozilla@glandium.org>, r=me 2006-04-28 14:54:54 +00:00
benjamin%smedbergs.us 8018c54539 Bug 335309 - Filehandle leak in XPCOMGlueLoadDependentLibs (found by coverity) - patch by Ryan Flint <rflint@dslr.net>, r=me+darin 2006-04-25 19:04:51 +00:00
benjamin%smedbergs.us ecd28a8337 Re-land this part of bug 305949 now that I've configure-tested the broken compiler (bug 334866) 2006-04-21 17:16:31 +00:00
dbaron%dbaron.org dc8432a80c Make IsPermanent non-virtual so it can be called in the destructor. b=334605 r=mrbkap rs=brendan 2006-04-19 21:46:47 +00:00
benjamin%smedbergs.us 891def4e94 Reverting this to use NS_VISIBILTY_DEFAULT because this exposed GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905 2006-04-19 20:21:29 +00:00
benjamin%smedbergs.us 06474b13cc Bug 305949 - Fix various XPCOM macros in preparation for stopping exporting nonfrozen XPCOM functions, r=darin sr=bryner 2006-04-19 16:29:31 +00:00
dbaron%dbaron.org 268a49156c Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan 2006-04-18 18:30:50 +00:00
dougt%meer.net 68c9206ef3 rmdir is not remove. wince only 2006-04-18 00:07:36 +00:00
peterv%propagandism.org 55bc65e960 Fix for bug 333839 (nsTArray::SetLength doesn't increase array's length). r=bsmedberg, sr=darin. 2006-04-17 17:11:14 +00:00
jshin%mailaps.org 112aaa3724 bug 334167 : make NS_IsNativeUTF8 inline where appropriate r/sr=darin 2006-04-16 23:58:38 +00:00
cls%seawood.org 7ab19fd9bd Fix mingw cross-compile & static build bustage
Bug #333941 r=bsmedberg
2006-04-14 22:59:21 +00:00
mkaply%us.ibm.com c0048ded40 OS/2 build bustage 2006-04-14 14:02:57 +00:00
gavin%gavinsharp.com 79fe6585da Bug 333302: OOM [@ NS_NewInterfaceRequestorAggregation], patch by Ryan Flint <rflint@dslr.net>, r=timeless, sr=darin 2006-04-13 23:39:49 +00:00
benjamin%smedbergs.us 65ad0eece1 Reverting bug 326925 because of a 6.5% Ts increase, even in static builds. 2006-04-13 17:24:12 +00:00
cls%seawood.org 8782803321 Wrap FORCE_PR_LOG with MOZ_LOGGING ifdef so that --disable-logging works.
Bug #243870 r=biesi
2006-04-13 17:03:18 +00:00
benjamin%smedbergs.us 4054a18cd6 Followup from bug 270893 - Don't include this header since the toolkit/libary copy can't find it. 2006-04-13 16:31:15 +00:00
dougt%meer.net 298a4c74ea Fixing build bustage on WinCE. This is not the most optimal way to get windows ce working as it isn't taking advantage of winces unicode backend. WINCE only. 2006-04-12 22:34:25 +00:00
benjamin%smedbergs.us 185c761605 Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
benjamin%smedbergs.us b45aa78749 Bug 326925 - components should be loaded with RLTD_NOW, r=darin - This is an experimental checkin that has the potential to affect Ts times on linux machines, especially nonstatic builds. 2006-04-11 13:28:21 +00:00
darin%meer.net ff0828d61e fixing typos in comment 2006-04-10 23:43:12 +00:00
darin%meer.net 37b6eb8fa1 fixes bug 333212 "SetLastModifiedTime does not work correctly on windows" patch by kovalchuk77@list.ru, r+sr=darin 2006-04-10 18:29:41 +00:00
martijn.martijn%gmail.com fe3dffb677 Bug 333307 - signature is wrong for nsComponentManagerImpl::RegisterComponent and nullchecks are improperly handled. Patch by Nickolay Ponomarev, r=timeless, sr=darin 2006-04-10 17:09:48 +00:00
peterv%propagandism.org 7dcc51c7b3 Fix for bug 332908 (nsUUIDGenerator should use CFUUIDCreate on OS X). r=vlad, sr=darin. 2006-04-06 21:48:47 +00:00
benjamin%smedbergs.us 6856a562fa Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento 2006-04-06 14:17:25 +00:00
dbaron%dbaron.org ac49c790c1 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
gerv%gerv.net c62293b120 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-03-31 06:13:49 +00:00
darin%meer.net a8b562ae72 restoring warning per bsmedberg 2006-03-31 00:59:02 +00:00
darin%meer.net 5521781301 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
jwalden%mit.edu d22daffc44 Bug 322183 - Throw specified exception when moving a folder on top of a non-empty folder. AIX 4.3 defines ENOTEMPTY to be the same as EEXIST by default, so add an #if around code in the last checkin to make AIX happy. 2006-03-30 16:50:17 +00:00
benjamin%smedbergs.us ab17656b13 Bug 332135 - atomservice should provide utf8 accessors, r=darin 2006-03-30 15:22:42 +00:00
jwalden%mit.edu 246847d433 Bug 322183 - Moving a folder on top of a non-empty folder doesn't throw the specified exception (Linux/Windows portion). r=dougt, sr=shaver 2006-03-30 04:03:27 +00:00
mark%moxienet.com 169946e146 278161 Bustage fix when building on XP_UNIX without iconv. r=jshin 2006-03-30 02:28:01 +00:00
jshin%mailaps.org b31e18ff46 bug 332123: ] nsLocalFileWin::AppendRelativeNativePath broken with multiple path components r/sr=darin 2006-03-29 17:14:07 +00:00
leon.sha%sun.com 0dfd596962 Bug 332053.
Fail to build latest firefox and seamonkey trunk on solaris.
Patch by leon.sha@sun.com.
cls: review+
2006-03-29 15:22:28 +00:00
jshin%mailaps.org 3dfc81a3d2 bug 278161 : make file URLs always be in (escaped) UTF-8 regardless of the file system encoding (opening an link to a local non-ASCII file) r/sr=darin 2006-03-29 04:53:21 +00:00
mark%moxienet.com 0f9d7359a9 331827 Provisional build patch to make gtk2/darwin builds functional out of the box. There may be additional changes needed for static builds. r=bsmedberg 2006-03-28 20:06:17 +00:00
mark%moxienet.com c83688efe5 331827 Runtime crash due to xptcall not aligning stack when running on Mac OS X with gtk2. Align stack in xptcall for all $(OS_ARCH) == "Darwin". r=josh sr=shaver 2006-03-28 20:03:50 +00:00
benjamin%smedbergs.us c32e8e59af Bug 325450 - nsGREGlue check of GRE_HOME needs to add /libxpcom.so, r=darin 2006-03-28 18:48:21 +00:00
benjamin%smedbergs.us ee73e9d22f EXTRA_DSO_LIBS isn't included in EXTRA_DSO_LDOPTS automatically. 2006-03-27 21:27:05 +00:00
benjamin%smedbergs.us e3eedd2e1f mozreg requires linking against TK_LIBS 2006-03-27 21:02:33 +00:00
benjamin%smedbergs.us 83ba3e5a9e xpcomobsolete component needs to link with mozreg also, build bustage from bug 214889 2006-03-27 20:48:41 +00:00
benjamin%smedbergs.us a5342e1803 Bug 214889 - add mozreg_s to the static link list and don't link it into xpcom obsolete when in a static build, r=cls 2006-03-27 20:16:50 +00:00
scott%scott-macgregor.org fea64b932e Bug #331433 --> try to fix thunderbird build bustage until the build machine
can be properly upgraded..

patch by Masatoshi Kumra.
2006-03-27 16:12:05 +00:00
jshin%mailaps.org 75a71d5d88 bug 331453 : downloading a binary file results in a corrupted (truncated) file : r/sr=darin 2006-03-26 15:34:40 +00:00
jshin%mailaps.org 548123895a bug 162361 : fix a 'typo' in the previous check-in. The line in question should have been left alone, but it's changed in the previous check-in by mistake. r/sr=darin 2006-03-24 07:30:22 +00:00
dbaron%dbaron.org 172a860286 Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan 2006-03-23 23:21:27 +00:00
pedemont%us.ibm.com bad43cf355 Bug 330701 - NS_NewPipe with default segment size ignores max size. r=darin 2006-03-22 20:42:55 +00:00
jshin%mailaps.org 0f4a52954a bug 162361 : Unicode file i/o in XPCOM/IO (cannot open files whose names contain characters outside the current locale: e.g. Japanese/Chinese on French Windows) : r/sr=darin, r=bsmedberg 2006-03-22 04:26:30 +00:00
benjamin%smedbergs.us 4ab3ceb1e4 Bug 331012 - topcrash on exit [@timerthread::updatefilter] - r=darin 2006-03-21 14:46:35 +00:00
benjamin%smedbergs.us 5f483e27f3 Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
dougt%meer.net e4b1b62115 Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie 2006-03-19 02:52:30 +00:00
darin%meer.net aed45f7b66 fixes bug 327719 "Passing a big double serialize a rounded double" patch by afatecha@idea.com.py r=dbaron sr=darin 2006-03-15 14:23:11 +00:00
bryner%brianryner.com 41e6c02b2f Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
mkaply%us.ibm.com 97fc90bb52 #301064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-14 22:34:20 +00:00
mkaply%us.ibm.com 3b93c4e8f4 #301064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-14 21:57:09 +00:00
darin%meer.net 38d64d9d99 fix comment typo 2006-03-10 21:38:02 +00:00
mkaply%us.ibm.com 67979a59c8 #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-10 16:01:26 +00:00
darin%meer.net fc4b03d8cb fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin 2006-03-10 05:30:57 +00:00
timeless%mozdev.org c776271958 Bug 329728 Coverity doesn't like main in xpt_link because it pretends header could be null
r=mrbkap sr=bz
2006-03-10 00:01:45 +00:00
darin%meer.net 74dd53a91f backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00
mkaply%us.ibm.com 2248c57ea5 #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-08 19:56:32 +00:00
mkaply%us.ibm.com 481124e49d #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-08 19:29:25 +00:00
darin%meer.net 69abca26db fixes bug 328920, r=mark.mentovai 2006-03-08 05:47:22 +00:00
darin%meer.net e1fd3e6f47 fixes bug 329450 "EnumerateCategory enumerates deleted entries" patch by chpe@gnome.org, r+sr=darin 2006-03-07 20:48:44 +00:00
mark%moxienet.com fe9b9274fd 326668 Add NS_NewLocalFileWithFSRef function to create nsLocalFiles from FSRefs on Mac prior to xpcom startup. r=josh sr=dougt 2006-03-07 01:26:13 +00:00
timeless%mozdev.org 59922a25dd Bug 327997 warning C4005: 'EXTERN_C' : macro redefinition nscore.h and winnt.h
r=darin sr=darin
2006-03-06 01:49:10 +00:00
benjamin%smedbergs.us 05825942c6 Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin 2006-03-04 14:04:05 +00:00
darin%meer.net 641d8abf88 relanding ftp patch for bug 312760 "implement ftp using nsBaseChannel" r=biesi sr=bzbarsky 2006-03-03 16:27:35 +00:00
benjamin%smedbergs.us aa41d3e7e1 Bug 326491 (part 0) - move timer shutdown up to somewhere reasonable, r=darin 2006-03-03 13:48:25 +00:00
mnyromyr%tprac.de a66247d9c0 Bug 328900: Crash in StuffFixedBuffer; r=bsmedberg, sr=darin 2006-03-02 20:30:58 +00:00
benjamin%smedbergs.us 54a2f1f6b7 Bug 329004 - Local (in-app-bundle) XULRunner framework finding broken, r=darin 2006-03-02 15:23:17 +00:00
darin%meer.net 6942519245 backing out my latest patch for bug 312760 to clear Tp regression. 2006-03-01 18:30:51 +00:00
darin%meer.net 0ac7cb7cb3 landing FTP patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky 2006-03-01 04:48:43 +00:00
cvshook%sicking.cc e686e7b714 Bug 324918: Make nsHTMLSelectElement deal better with options in unknown children. r=bz sr=jst 2006-03-01 01:10:20 +00:00
bryner%brianryner.com e4a4946189 Backing out patch for bug 328755 due to crash regression bug 328842. r=darin. 2006-03-01 00:38:15 +00:00
darin%meer.net 23f482eaca fixes bug 305987 "NS_WARN_IF_FALSE asserts" r=bsmedberg 2006-02-28 22:19:55 +00:00
benjamin%smedbergs.us 046c022027 Bug 328855 - Support x86-64 in nsStackFrameUnix, r=dbaron 2006-02-28 18:28:54 +00:00
bryner%brianryner.com 19a0c4915e Don't allocate a buffer when assigning a zero-length string, just call Truncate() instead (bug 328755). r=darin. 2006-02-27 19:44:48 +00:00
benjamin%smedbergs.us 3153d6c09f Typo from bug 325229, caught by dbaron. 2006-02-24 16:11:33 +00:00
dougt%meer.net 78c622a9a2 Updating configure.in to build the vs8 shunt project and wrapper tools. Also making Windows CE use the static version of libIDL. Windows CE only 2006-02-23 20:52:49 +00:00
benjamin%smedbergs.us 2cec3b98ff Backout bug 313309 part 3 again due to gcc2.9x bustage and an ICE on MSVC6 2006-02-23 19:57:50 +00:00
benjamin%smedbergs.us a33f6180dd Bug 313309 part 3 - relanding now that all the mac tinderboxen have been upgraded to xcode 1.5+ - use a weak static data symbol for NS_GET_IID instead of an inline function. Have to use templates to trick compilers into emitting a weak symbol. r=shaver 2006-02-23 18:31:02 +00:00
masayuki%d-toybox.com cbae11fb11 Bug 179056 "Check for new message every" stops after hibernate. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=emaijala+sfraser, sr=roc 2006-02-23 17:02:45 +00:00
timeless%mozdev.org a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
cbiesinger%web.de aad4b05e77 Bug 315598 Allow more than one global redirect observer, using the
"net-channel-event-sinks" category.
r=darin sr=bz
2006-02-22 14:07:21 +00:00
mark%moxienet.com 533113779a 326838 [BeOS] build broken after 313398. Reduce number of asm operands to conform to gcc 2.95's limit of 10. r=josh sr=shaver 2006-02-22 04:05:19 +00:00
darin%meer.net 2e3869b960 fixes bug 326603 "Enable use of tracerefcnt with derived classes" r=bsmedberg sr=dbaron 2006-02-21 22:49:00 +00:00
mark%moxienet.com dbd781b833 322578 Support ppc<->x86 cross builds for Mac OS X. Core cross-compile support. r=bsmedberg r=cls sr=bryner 2006-02-21 00:21:55 +00:00
cls%seawood.org 5a1e15ec25 Fix mingw cross-compile bustage.
Original patch by <basic@mozdev.org>.
Bug #320646 r=cls
2006-02-19 07:43:19 +00:00