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

5661 Коммитов

Автор SHA1 Сообщение Дата
dbradley%netscape.com 3e26086cb2 Bug 153034 - FreeBSD 5.0-current's gcc uses thunks. r=jesup, sr=jst 2002-08-07 23:50:46 +00:00
brendan%mozilla.org a099682b6e Fix a macro name (LIMIT, not MAX -- fencepost, not maximum value; r=lumpy, sr=jack). 2002-08-07 20:22:38 +00:00
hyatt%netscape.com 844a01e44f ifdefs for phoenix. 161448. not part of main mozilla build. 2002-08-07 09:26:30 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
jkeiser%netscape.com d3557c8810 Add generalized macro-based PLDHashTable C++ wrapper (bug 125849), r=alecf, sr=brendan 2002-08-06 04:15:10 +00:00
bzbarsky%mit.edu 8c15be3831 Doh. There's more bustage in this file. 2002-08-06 01:47:23 +00:00
bzbarsky%mit.edu 604e554a98 fix bustage 2002-08-06 01:32:51 +00:00
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
dougt%netscape.com 1891cc66bb Freezes nsAString, nsACString, nsAUTF8String. r=dougt, sr=alecf, a=brendan b=125389 2002-08-01 17:52:56 +00:00
bryner%netscape.com 7dafb891cc Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls. 2002-07-31 20:53:46 +00:00
bryner%netscape.com d0cfcc1da2 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
bryner%netscape.com caa52be426 Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa. 2002-07-30 02:25:08 +00:00
katakai%japan.sun.com 4100197436 bug 153562
crash trashes user directory, requires new profile
avoid BOM at iconv() for Solaris platform
patch from jk@tools.de
a=asa,r=Roland.Mainz@informatik.med.uni-giessen.de,sr=darin
2002-07-30 00:58:36 +00:00
ccarlen%netscape.com f9dc66c40e Bug 149785 - nsHashTable hides important functionality of PLHashTable. r=brendan@mozilla.org/sr=alecf/a=brendan 2002-07-29 22:48:15 +00:00
seawood%netscape.com 1d81c03459 Update standalone xpcom instructions to use proper configure option.
Documentation change.
2002-07-29 20:29:30 +00:00
dougt%netscape.com 45b4cdf8a2 ProxyObjectCallInfo class is exported by many dso. r=darin, sr=alec, a=asa, b=158932 2002-07-25 20:13:06 +00:00
dougt%netscape.com 18565a33ea nsICollection's nsQueryElementAt class is exported. r=darin, sr=alec, a=asa, b=158931 2002-07-25 20:12:18 +00:00
alecf%netscape.com e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
jdunn%netscape.com d0f11b5ff6 moving extern statement out of function scope to fix bustage
r=dougt@netscape.com
sr=rpotts@netscape.com
a=asa@mozilla.org
# 141359
2002-07-25 14:21:00 +00:00
timeless%mac.com 204350a41e Bug 158092 Mozilla for BeOS is unable to show in browser proper international file/folder names.
patch by sergei_d@fi.tartu.ee r=timeless sr=darin a=asa
2002-07-24 00:01:31 +00:00
alecf%netscape.com 47b3f07056 more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
dougt%netscape.com 0868d2b66c compreg.tmp is written out on every startup. r=rjc, sr=alec, a=scc 2002-07-19 21:12:04 +00:00
dougt%netscape.com 102ee4da56 attempting to fix the AIX bustage 2002-07-18 14:38:07 +00:00
dougt%netscape.com 8f56f8da5a backout out change 2002-07-18 07:19:45 +00:00
dougt%netscape.com fe02c02f52 Dynamic loading is failing on linux. disabling 2002-07-18 06:49:48 +00:00
dougt%netscape.com c2ec17237f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org
2002-07-18 05:09:10 +00:00
seawood%netscape.com fe2f4b55ff Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
Bug #154232 r=wtc sr=scc a=scc
2002-07-18 04:09:30 +00:00
mkaply%us.ibm.com 937dfac4d5 #157770
r=dougt, sr=blizzard, a=asa
OS/2 only - up the numbre of file handles when starting Moz, and handle specific error with DosCopy
2002-07-17 05:46:34 +00:00
bryner%netscape.com 1518d9267e Rework the x86 unix + gcc xptcall implementation to speed it up and allow it to work with gcc 3.1 (bug 140412). Patch by drepper@redhat.com, r=shaver, sr=blizzard. 2002-07-16 23:05:11 +00:00
jfrancis%netscape.com 94ae893f2d fix for Bug 154932: Mozilla will not start on MacOS 8.6 if filesharing is on. Corrected the construction of an FSSpec in nsDirectoryService.cpp r=ccarlen sr=sfraser 2002-07-16 22:17:56 +00:00
dougt%netscape.com 25bdc78b8e Fixing bug 157192. r=me, sr=dbaron, a=asa. 2002-07-15 23:32:36 +00:00
dougt%netscape.com bd082469e9 nscore.h has unreachable MSVC #defines (mutually exclusive nested #if), r=dbaron sr=scc a=superfly asa 2002-07-12 21:08:56 +00:00
alecf%netscape.com 51134e0622 bug 66759 - finally remove XPCOM_STANDALONE completely
r=dougt, rs=brendan, a=asa
2002-07-12 19:14:35 +00:00
brendan%mozilla.org ea12555566 Oops, deal with PRInt64 operand to NS_SWAP64 (followup to last checkin). 2002-07-10 05:18:58 +00:00
akkana%netscape.com c25c2e428b Backing out the fix for 154753, which caused a crash at shutdown. sr=sfraser 2002-07-10 04:05:56 +00:00
timeless%mac.com 479b756af5 Bug 154753 nsExceptionService ignoring thread destruction after shutdown
r=dougt sr=smfr
2002-07-10 00:51:25 +00:00
dp%netscape.com b34f76a592 bug 156320 Acquire lock before checking not-used-list (not
after). Fixing topcrash. r=dbaron
2002-07-09 13:48:03 +00:00
brendan%mozilla.org db11f2feb4 Avoid aliasing differently-typed pointers in NS_SWAP64 (142869, r=dbaron, sr=ben). 2002-07-09 03:37:50 +00:00
bryner%netscape.com 90a2f7dfb7 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
timeless%mac.com 651ae14d30 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
seawood%netscape.com 0597412383 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
dp%netscape.com cc314746c1 Trying to fix Irix and HPUX bustage. Defining CPP_THROW_NEW at point
of declaration too.
2002-07-02 22:38:16 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dp%netscape.com af446c2be7 bug 146532 Making Init() non-virtual (thanks dbaron for suggestion) 2002-07-02 18:11:53 +00:00
mkaply%us.ibm.com 781c24bc1b Os/2 bustage 2002-07-02 04:26:18 +00:00
dbaron%fas.harvard.edu 5ec1a4fef0 Attempt to fix BeOS bustage. b=148046 2002-07-02 04:07:20 +00:00
dbaron%fas.harvard.edu 25c3f2c7d9 Attempt to fix Sun WorkShop bustage. b=146532 2002-07-02 03:43:33 +00:00
dbaron%fas.harvard.edu f528da681f Attempt to fix HP-UX and OS/2 bustage. b=146532 2002-07-02 03:42:11 +00:00
mkaply%us.ibm.com 6a050d9a3d Fix Os/2 bustage for now - I've no idea why. I need to build a testcase 2002-07-02 03:34:12 +00:00
dp%netscape.com e1522de4fb bug 146532 Improving recycling allocator
- Uses freelist
- 1 int overhead to store size
- nsIMemory wrapping
r=dougt, sr=darin
2002-07-01 23:36:03 +00:00
dougt%netscape.com 1c8d85478b More XPCOM Glue changes and fixes. Makefile change which can land since 154319 is fixed. r=waterson, sr=rpotts. bug 154319 2002-07-01 22:22:06 +00:00
dougt%netscape.com e1112a5bf6 XPCOM_GLUE nsTraceRefcnt problems. r=dp, sr=jag. bug 154319 2002-07-01 22:19:01 +00:00
dougt%netscape.com 47fc714a87 Damn the nmake build system and the mac. 2002-07-01 21:39:18 +00:00
dougt%netscape.com 529468ad0d backing out last makefile change 2002-07-01 21:13:22 +00:00
dougt%netscape.com 3aa905362b More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. missed this. 2002-07-01 21:11:47 +00:00
dougt%netscape.com c327e1c6c3 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. 2002-07-01 20:37:17 +00:00
dbaron%fas.harvard.edu 8a0de16ab5 Fix excessive fastload file invalidation with some versions of gcc by fixing aliasing bug in NS_SWAP64. Patch by me, with tweaks by brendan. b=142869 r=bryner sr=brendan 2002-06-29 05:13:59 +00:00
mkaply%us.ibm.com eb72cd976b #154680
r=mkaply, sr=jag
Wrong default offset passed into RFind - should be -1
2002-06-28 20:31:09 +00:00
alecf%netscape.com 2a7093d970 add deprecation comment - now that we have a new guide.
doc only, no code, no review
2002-06-26 22:53:36 +00:00
alecf%netscape.com 0bc735834f cleanup after the first fix for bug 154275 - handle errors better and get rid of mCount entirely
sr=jst, r=peterv
2002-06-26 19:36:24 +00:00
ben%netscape.com f47565520b Fix for 86501 - bookmarks truncated when disk full
allow file streams to store and report on the status of the write operation.
r=darin, sr=brendan
2002-06-26 05:17:54 +00:00
alecf%netscape.com 35a797fb3e bug 154280 - remove unimplemented operators from nsISupportsArray
r=dougt, sr=dveditz
2002-06-26 03:48:08 +00:00
alecf%netscape.com 808c595df7 make nsStaticNameTable use PLDHash rather than nsHashtable, to reduce startup allocations from 1315 to 2
r=dougt, sr=dveditz
bug 154275
2002-06-26 03:46:39 +00:00
alecf%netscape.com 3b3212ff35 ack! fix check of entries to use PL_DHASH_ENTRY_IS_FREE() from my previous checkin to prevent tree closure tomorrow! 2002-06-26 03:43:43 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu d520fab25b xptcall porting changes for Darwin gcc3: account for different vtable layout and different symbol mangling, in ifdefs. r=bryner sr=beard b=153525 2002-06-26 03:01:02 +00:00
alecf%netscape.com 728c3f515a remove a bunch more dead code from XPCOM - stringstream stuff that nobody was using anyway
r=dougt, sr=dveditz
2002-06-26 01:40:31 +00:00
alecf%netscape.com 8aff49891f fix for bug 153754 - make nsPersistentProperties (and thus string bundles) use PLDHash, saving some 1100+ allocations at startup.
r=dougt, sr=dveditz
2002-06-26 01:33:07 +00:00
dougt%netscape.com c213112dac Fixing Mismatched new [] / delete []. r=me. bug=153584. patch from pj@ludd.luth.se. 2002-06-22 19:03:11 +00:00
bryner%netscape.com b9e6c3d5cf Reorganize the Darwin xptcall code so that it works correctly with prebinding:
- Move all functions into the text section.
 - Use m4 to generate the StubNNN() functions in the .s file, so that we don't have to use an indirect call to SharedStub (which would clobber r12, where we pass the method index).
 - Use indirect calls for calling invoke_count_words and invoke_copy_to_stack from inside XPTC_InvokeByIndex.

Bug 151978, r=pavlov, sr=beard.
2002-06-22 00:09:55 +00:00
dougt%netscape.com 9effd97abe 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf 2002-06-21 19:58:54 +00:00
bzbarsky%mit.edu 2cbef8cd27 Change ToInteger to not silently drop '+' and '#' in mid-string. Bug
54142, r=timeless, sr=jag
2002-06-21 02:22:48 +00:00
alecf%netscape.com 1dbe5517cd fix for bug 152929 - we were leaking 900+ nsFactoryEntry objects because they were not always allocated in an arena
(fixes a 75k leak on my system)
r=dougt, sr=dveditz
2002-06-20 21:22:50 +00:00
alecf%netscape.com fb9525040a fix bug 149102 - stop exporting some old unused methods from XPCOM, and get rid of nsOutputConsoleStream and consumers
also removing FilesTest from the build because its outdated, doesn't test anything useful anymore, and is the last consumer of nsOutputConsoleStream
r=dougt, sr=jag
2002-06-20 20:35:37 +00:00
shaver%mozilla.org fb0d67af5b Bug 76968: expand ~/ into NS_OS_HOME_DIR in nsLocalFileUnix. r=bzbarsky,
sr=blizzard.
2002-06-17 21:03:43 +00:00
seawood%netscape.com 6de5b59159 Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
2002-06-17 17:09:57 +00:00
seawood%netscape.com 466c6dd441 Use macros to declare static callback functions to make OS/2 happy.
Fixing tinderbox bustage.
2002-06-15 05:56:20 +00:00
dougt%netscape.com 36400cfcd3 fixing a uninitialized var 2002-06-15 03:58:10 +00:00
dougt%netscape.com fc76c6e218 strdup is not defined on the mac... 2002-06-14 22:25:24 +00:00
dougt%netscape.com 6cab4354a7 48888 missing makefile.win change 2002-06-14 21:50:50 +00:00
dougt%netscape.com f93a81bfcb Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com 2002-06-14 21:33:05 +00:00
ccarlen%netscape.com bd87df6f92 Bug 134448 - xpti needs to scan OS-defined plugin dirs. r=peterl, sr=beard 2002-06-14 12:30:44 +00:00
seawood%netscape.com d3d6e929f1 Use the same name for the application profile directory in the registry as the profile manager does.
Bug #146150 r=arougthopher
2002-06-14 05:08:05 +00:00
darin%netscape.com bf1cb2aa03 fixes solaris orange b=147333
patch=Roland.Mainz@informatik.med.uni-giessen.de
r/sr=alecf,darin
2002-06-13 21:14:24 +00:00
alecf%netscape.com bb0caa0b95 fix for bug 149102 - fix a harmless UMR in the string code
sr=jag, r=dbaron
2002-06-13 20:31:14 +00:00
dougt%netscape.com 92068ae7e2 bug 150165 patch by t.bugz@lament.cjb.net r=bbaetz sr=shaver a=valeski fix typo - [noscrpit] was used instead of [noscript] 2002-06-13 20:13:17 +00:00
seawood%netscape.com 5fd4861d47 Use the unix native char conversion routines on BeOS.
Bug #151406 r=timeless
2002-06-13 14:53:30 +00:00
dbradley%netscape.com 168404c5a9 Bug 148732 - xpidl doesn't accept drive colon args. r=dbradley, sr=shaver 2002-06-12 16:56:19 +00:00
dougt%netscape.com 743ee0877c mac project file fix 2002-06-11 22:44:12 +00:00
dougt%netscape.com 147e826332 fixes hp bustage. r=jdunn 2002-06-11 22:35:10 +00:00
dougt%netscape.com 2e70ad3106 fixing makefile.win bustage. 2002-06-11 20:54:30 +00:00
cbiesinger%web.de 15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
chak%netscape.com c2bcdc4a98 Fix for #130877 - Chnages to create app specific component registries
r=dougt, sr=shaver, a=drivers
2002-06-11 20:38:01 +00:00
dougt%netscape.com ea6c773a85 adding #include for stdio for printf 2002-06-11 19:50:28 +00:00
dougt%netscape.com 74eb6d6381 nsIInterfaceRequestor.cpp has been moved to mozilla/xpcom/glue/. see 149715. r=rpotts@netscape.com, sr=shaver. 2002-06-11 19:41:44 +00:00
dougt%netscape.com e202a87635 Fix for 149754. cleaner xpcom shutdown. r=rpotts, sr=shaver 2002-06-11 19:38:41 +00:00
dougt%netscape.com a92c2a61bd adding nsIIneterfaceRequestorUtils.cpp to glue. 149715. r=rpotts@netscape.com, sr=shaver 2002-06-11 19:36:42 +00:00
dougt%netscape.com 913bbb6f6c Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org 2002-06-11 19:26:04 +00:00
darin%netscape.com c517690a2b fix more bustage 2002-06-10 19:47:22 +00:00
darin%netscape.com fe542beb39 fix win32 gmake build bustage 2002-06-10 19:46:19 +00:00