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

6054 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com b23665411c missed a few files 2003-03-15 01:57:22 +00:00
dougt%netscape.com 0d2808c511 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.
2003-03-15 01:04:32 +00:00
ccarlen%netscape.com 7061fe60e5 If the destination file already exists, moveTo[Native] should replace it. Bug 195109 r=sdagley/sr=sfraser 2003-03-14 20:01:41 +00:00
alecf%netscape.com 8e11ceab33 fix for bug 196210, component manager is malloc-happy:
- use custom non-allocating CID formatter when writing out compreg.dat
- arena allocate category names and keys
- pass around string lengths so we don't keep calling strlen
r=dougt
2003-03-14 05:07:24 +00:00
dougt%netscape.com e594475728 prelanding parts of minimo - not part of build. 2003-03-14 02:02:00 +00:00
rginda%netscape.com 500958a09b bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
add factories so js can create the nsIBinary*Stream objects,
also adds read/writeByteArray functions
2003-03-13 21:23:18 +00:00
dougt%netscape.com 30bc819e29 Changing the default key used. r+sr=dougt, b=190389 2003-03-12 21:48:02 +00:00
cls%seawood.org 040b1e64c2 Remove bogus mingw & win16 ifdefs from plevent.h
Add stub declaration for _mbstr which isn't defined in the current mingw headers but is present in the libs.
Fix GRE definition of XPCOM_DLL for mingw.
Bug #134113 r=dougt
2003-03-12 08:35:57 +00:00
dougt%netscape.com 2ccd3b4f03 Adding debug support to detect reentrant create instance patterns, r+sr=alecf@netscape.com, b=194568 2003-03-12 03:58:33 +00:00
alecf%netscape.com 4358844234 update API docs so that I don't get false positives for GetUnicode()
(not part of build, just a doc)
2003-03-11 23:26:18 +00:00
dougt%netscape.com 34cd7b0fdb adding SpecialSystemDirectory files to trunk. not part of build 2003-03-11 22:47:05 +00:00
dougt%netscape.com a4c7c7573f Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055 2003-03-11 21:36:59 +00:00
alecf%netscape.com fe6074f0b4 fix for bug 173601 - nsIStringEnumerator implementation
r=dougt, sr=darin
Yes, this will cause a code size increase.. but it is for some upcoming interface freezes...
2003-03-10 21:09:31 +00:00
dougt%netscape.com 89bcfadd00 first draft of a xpcom obsolete dir. NOT PART OF BUILD 2003-03-10 20:56:23 +00:00
cls%seawood.org 147a36bc71 Landing mingw/win32 gcc support for xptcall.
Bug #134113 r=dbradley
2003-03-10 20:40:06 +00:00
glazman%netscape.com df24ff7c3f backing out dwitte's changes from last bbaetz check in (at his request) 2003-03-10 10:28:40 +00:00
bbaetz%acm.org 0faaca3203 Bug 196506 - Excessive inlining in string libs: Substring()
patch by dwitte@stanford.edu, r=timeless, sr=dbaron
2003-03-10 08:10:20 +00:00
bryner%netscape.com 4fa9e2a306 Fix shutdown crash on static builds (bug 196507) by ensuring that ENABLE_STATIC_COMPONENT_LOADER is #define'd when the component manager is created, so that the correct amount of memory is allocated. r=dougt, sr=alecf. 2003-03-10 07:01:49 +00:00
cls%seawood.org d1479589a2 Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
brendan%mozilla.org ae0c4d3804 Reorder static and const to match tradition; reomve DEBUG_brendan cruft. 2003-03-08 01:28:02 +00:00
cls%seawood.org d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
timeless%mozdev.org 39a2ea215a Bug 166888 deprecate nsISupportsArray
r=alecf sr=alecf
2003-03-07 01:17:27 +00:00
dougt%netscape.com 3b4e35ca3a fixes warnings 2003-03-06 23:26:43 +00:00
dougt%netscape.com 4212ce0c53 backing this out AGAIN 2003-03-06 19:59:31 +00:00
alecf%netscape.com 5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
dougt%netscape.com bdaff16cf7 follow up landing of 193442. This fixes the strcmp logic error we has when checking for the gre string r=dbradley, alecf, darin 2003-03-06 17:41:01 +00:00
dougt%netscape.com c5ac287dab removing NS_MT_SUPPORTED define. b=186494, r=dougt, r=seawood 2003-03-05 23:30:22 +00:00
dougt%netscape.com 939bb1e75c relanding. Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442)Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin. 2003-03-05 03:22:12 +00:00
dougt%netscape.com 25b0a81f34 not part of build, yet 2003-03-04 00:35:27 +00:00
tor%cs.brown.edu db50a85d91 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +00:00
brade%netscape.com 95f4289849 change ifdefs per cathleen, sfraser, bryner (bug 195654) 2003-03-03 19:06:31 +00:00
dougt%netscape.com 41a7079693 backing out last change - using linear list does not change the start up time. 2003-03-03 03:26:02 +00:00
dougt%netscape.com 2fbb3eb669 Reverting mAutoRegEntries hashtable change. I believe it was responsible for the bulk of the 200ms spike. b=195494. 2003-03-03 01:19:58 +00:00
dougt%netscape.com dccf8bcbee Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin. 2003-02-28 21:30:35 +00:00
brendan%mozilla.org 6e0c7cdde4 Constipation of (JS|PL)DHashTableOps (195298, r/sr=shaver/alecf). 2003-02-28 07:17:59 +00:00
andreas.otte%debitel.net 0f9fa9ad78 fix bug 193477 [URL: colon ":" in URI is escaped in request (not scheme or port delimiter)] no longer escape the colon when it is part of the filename in urls, but force it's escape in links when building dir/index listings, r=bbaetz@acm.org, sr=darin@netscape.com 2003-02-27 13:15:19 +00:00
andreas.otte%debitel.net 6f076f634b fix bug 191638 [index/html: files|dirs with "%" need to be properly encoded] force escape of % as part of filenames to %25 to not be damaged by unescape, r=bbaetz@acm.org, sr=darin@netscape.com 2003-02-27 10:55:01 +00:00
sfraser%netscape.com a972085056 Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf. 2003-02-26 00:52:07 +00:00
mkaply%us.ibm.com 4838fe80e4 Per scc - NS_REINTERPRET_CAST is the right thing here 2003-02-25 19:43:41 +00:00
mkaply%us.ibm.com 097d5ce211 OS/2 bustage - fix from scc - need static cast 2003-02-25 19:38:00 +00:00
scc%mozilla.org 10ccbee43a bug #78016 r=dbradley, sr=dbaron 2003-02-25 15:53:36 +00:00
timeless%mozdev.org dc76dfa0c6 Bug 190800 PL_CreateNativeEventQueue, PL_CreateMonitoredEventQueue should take const char*
r=dougt sr=roc+moz
2003-02-24 17:43:22 +00:00
seawood%netscape.com 7f752bf63b Use va_copy if available for VARARGS_ASSIGN
Bug #187180 r=blizzard sr=brendan
2003-02-23 06:59:39 +00:00
timeless%mozdev.org 85c42d083c Bug 190799 xpcom/io/nsFileSpec.cpp", line 905: Warning: String literal converted to char* in initialization.
r=dougt sr=roc+moz
2003-02-23 04:41:24 +00:00
timeless%mozdev.org 1552cf15e2 Bug 190790 xpcom/glue/standalone/nsGREDirServiceProvider.cpp", line 300: Warning: String literal converted to char* in assignment.
r=dougt sr=roc+mozn
2003-02-23 04:41:23 +00:00
timeless%mozdev.org 9c2c0ed8b6 Bug 190801 TestXPTCInvoke violates xpcom for outparams and should pass its char*s as const
r=dougt sr=roc+moz
2003-02-23 04:41:18 +00:00
dbaron%dbaron.org 33bf89b232 Attempt to fix otaku (gcc 2.95.2) bustage. r=bbaetz sr=bryner 2003-02-23 00:28:06 +00:00
dbaron%dbaron.org 4aee1869d9 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 Fixing Windows bustage. 2003-02-22 16:42:43 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bbaetz%acm.org 9d56f76447 Bug 189661 - fix configure.in tests for gcc-3.4 (cvs)
r=cls, sr=dbaron
2003-02-22 09:02:02 +00:00
bryner%netscape.com 28243cf27e fix OS/2 bustage - don't have nsAutoArrayPtr's |operator= ( nsAutoArrayPtr<T>& )| take a const argument, because it needs to call .forget() on the new pointer to transfer ownership, and forget isn't const. r=bbaetz. 2003-02-22 06:33:00 +00:00
dbaron%dbaron.org e2da493d4e Some compilers insist that AddRef and Release return |nsrefcnt| in order to get along with nsDerivedSafe. Hopefully fixing gcc 2.95 bustage. 2003-02-22 03:57:32 +00:00
dbaron%dbaron.org 05f4441e0d Remove tests with const template parameters. Should fix bustage on various ports. 2003-02-22 02:39:40 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
mkaply%us.ibm.com e6feaaaa72 #194225
r=dougt, sr=blizzard, a=asa
OS/2 only - crash in helpers - destroy window, don't send a close message
2003-02-21 14:52:06 +00:00
sfraser%netscape.com b9251480f2 Fix XPCOM tests linkage error on Darwin (only visible on clobber builds that build tests). r/sr=bryner. 2003-02-21 00:48:21 +00:00
jaggernaut%netscape.com 85174f51b9 Bug 191749: bad define inside nsAFlatString.h. r=/sr=bzbarsky, a=dbaron 2003-02-21 00:34:17 +00:00
bryner%netscape.com 2221f6ed02 move XP_MACOSX block before XP_UNIX so we use that instead on os x. 2003-02-20 06:21:59 +00:00
mkaply%us.ibm.com 9f69e2fd9d OS/2 bustage 2003-02-20 05:36:54 +00:00
dougt%netscape.com 572f20a150 fixing bustage on osx 2003-02-20 04:39:31 +00:00
dougt%netscape.com 975ff0c178 Fixes a problem where clicking an URL outside Mozilla does nothing. r=ssu, sr=dveditz, a=chofmann, b=193189 2003-02-20 02:26:04 +00:00
darin%netscape.com f5e1e52523 fixes bug 193017 "downloading via ftp doesn't proceed" r=dougt sr=brendan a=dbaron 2003-02-19 03:44:46 +00:00
brendan%mozilla.org 04624a2df0 - Turn jrgm's helpful assert/defend changes into assertions that mCIDOffset
is never 0, and make the memset-to-zero required for these assertions be
  #ifdef NS_DEBUG.
- Extend FastLoad file format to encode a singleton flag in the high bit of
  nsFastLoadSharpObjectInfo.mWeakRefCnt.  The updater code needs to test this
  bit in order to deserialize a singleton that was not read by the updater's
  reader during this FastLoad episode.  Otherwise the updater is likely to
  reserialize the singleton, leading to multiple entries in the object map
  for the same object, and UMRs when loading from the writer's object map
  enumeration (objvec) in nsFastLoadFileWriter::WriteFooter.
- Remove bogus assertion that worked only when an XPCOM data structure being
  serialized was still alive at the time the writer closed.  In general, there
  is no relationship between the strong ref-counts in a FastLoad file and the
  XPCOM refcnts in memory at close time.
- Bug 189832, r=jrgm, sr=ben, a=dbaron.
2003-02-16 17:40:16 +00:00
jst%netscape.com 953e3d4e09 Backing out the change to use memcmp() for comparing ID's. r=jaggernaut@netscape.com, sr=alecf@netscape.com, a=dbaron@dbaron.org. 2003-02-11 02:05:20 +00:00
darin%netscape.com ad524cbb90 hopefully fixing WIN32 bustage 2003-02-08 02:08:34 +00:00
darin%netscape.com 5a2707f349 fixes bug 192196 "crashes on shutdown" r=dougt sr=blizzard a=asa 2003-02-08 00:54:36 +00:00
ccarlen%netscape.com d0a8576aa6 Bug 191882 - We're building (and shipping) libxpcom.bundle though it's unused and contributes a megabyte to footprint on OSX. r=seawood/sr=dougt/a=asa 2003-02-06 14:37:32 +00:00
alecf%netscape.com 1e643be2a6 back out 121341 and all subsequent regression fixes - there are still regressions and this just isn't worth being broken for 1.3.. I'll check this back in when 1.4a comes along and we have more time in the milestone to catch regressions.
a=dbaron
2003-02-04 05:43:57 +00:00
peterlubczynski%netscape.com 5d73c2bc6a Fixing bug 189461, Java plugin fails to load because it can't find xpcom symbols so load the library with flag PR_LD_GLOBAL, patch by Ken Herron kherron@squm.mci.com r=peterl sr=dougt a=dbaron 2003-02-04 01:10:25 +00:00
jband%netscape.com 1fd1b856a8 NOT PART OF BUILD. Just updating xptcall porting status web page that is reflected into lxr. 2003-02-03 22:16:32 +00:00
mkaply%us.ibm.com aed4ca0fbf #190732
r=mkaply, sr=alecf, a=asa
From ccarlen - check parser state at end of file
2003-02-03 14:59:39 +00:00
darin%netscape.com 99e45ceed4 fixes bug 191227 "file uploads hang (especially w/ slower connections or
slower servers)" r=dougt sr=bz a=dbaron
2003-01-31 02:00:45 +00:00
jrgm%netscape.com 2f7102abeb Guard against bogus entries in the object map of the fastload file, bug 189832, r=ben/jag, sr=jst, a=asa 2003-01-31 01:34:45 +00:00
dougt%netscape.com dbaeb4debd Fixing many problems related to GRE libs versioning. r=ssu sr=me a=dveditz 2003-01-31 00:37:20 +00:00
dougt%netscape.com 53eb543117 re-enables nsDebug in xpcom glue. 191005 , r=chak, sr=darin, a=dbaron 2003-01-30 00:34:03 +00:00
darin%netscape.com a08d67ebc8 fixes bug 190549 "Textarea with lots of text within refuses to submit"
r=sicking sr=bzbarsky a=asa
2003-01-29 06:40:16 +00:00
dougt%netscape.com a587451a90 xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 2003-01-28 22:17:58 +00:00
dougt%netscape.com 1953de132a xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 build/nsXPComInit.cpp 2003-01-28 22:07:53 +00:00
dbaron%dbaron.org 8de25b9b7f Fix leak in AutoRegisterComponent. b=189811 r=dougt sr=bzbarsky a=asa 2003-01-28 01:42:56 +00:00
blizzard%redhat.com fba7fcc785 Part of bug #90010. Mozilla on linux/s390(x). r=wtc,sr=shaver,a=dbaron(ports) 2003-01-27 21:52:52 +00:00
alecf%netscape.com a2468ecc58 fix for bug 190283 - save unicode values stored like \u4ea2 after decoding them.
r=jst, sr=bzbarsky, a=asa
2003-01-25 22:13:48 +00:00
sspitzer%netscape.com 4ba4e22e66 fix for #190215. multi-line properties in string bundles don't work on win32.
this isn't a blocker, but it's bad enough to take for the respin.
patch by alecf.  r/sr=sspitzer, a=kyle
2003-01-24 21:47:53 +00:00
alecf%netscape.com 084da5178b fix for bug 190256 - string bundles broken on escaped characters, and when keys cross buffer boundaries
patch by bzbarsky, r=alecf, sr=jst, a=dbaron
2003-01-23 15:48:19 +00:00
darin%netscape.com bb2017c151 cleaning up "uninitialized variable" warning resulting from last checkin, b=189689 2003-01-23 05:15:56 +00:00
dougt%netscape.com ce7b00a58e Fixing bustage in nsXPIDLString. r=jag, sr=dbaron, b=189591, a=Donald Rumsfeld 2003-01-23 03:35:30 +00:00
darin%netscape.com a82b72fea0 fixes bug 189689 "intermittent duplicated content on pages, CRC errors in
downloads" r=dougt sr=bzbarsky a=dbaron
2003-01-23 02:39:01 +00:00
mkaply%us.ibm.com 66e8db4583 Oops left printf in 2003-01-22 20:49:21 +00:00
timeless%mozdev.org f8238d67cf This is not part of the build (it doesn't build).
nsIConverterInputStream::Init now requires four parameters instead of three.
To build this test, add uconv necko to requires.
2003-01-22 08:10:45 +00:00
timeless%mozdev.org 1d187936dc Not part of the build (without these changes it doesn't build).
Fixed the input string variable name in1/in.
CreateACString takes three params not two.
variables living in nsCOMPtrs should not be left alive past xpcom shutdown.
2003-01-22 07:51:44 +00:00
timeless%mozdev.org c9b0d189e4 This isn't part of the build (without these changes it doesn't build).
"register" is a keyword and wasn't the right name for the variable anyway.
the registrar no longer accepts nsIFileSpec. Converted the caller to nsIFile.
2003-01-22 06:18:06 +00:00
alecf%netscape.com 271b44ce34 oops, warnings fixes from previous checkin 2003-01-22 05:46:07 +00:00
alecf%netscape.com ab070553d6 fix for bug 121341 - make nsPersistentProperties::Load sane. don't make a virtual call for every character read in from the .properties file! 2003-01-22 05:15:40 +00:00
mkaply%us.ibm.com cebb7c2b3c #189349
r=cbiesinger, sr=bzbarsky
Have OS/2 follow the Windows path for downloadManager dialog - launch and open in explorer
2003-01-22 04:58:09 +00:00
seawood%netscape.com b584cb0b06 MOZILLA_VERSION is now defined in mozilla-config.h so no need to explicitly define it here
Bug #189462 r=dougt
2003-01-22 04:24:56 +00:00
dougt%netscape.com 3b838a1833 Fixing crash in NS_MsgStripRE() due to multiply-linked strings. b=189591, sr=dbaron, r=me 2003-01-22 00:21:48 +00:00
jkeiser%netscape.com d73be72429 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com 2003-01-21 21:24:16 +00:00
mkaply%us.ibm.com fe73ee5935 #189841
r=dougt, sr=dmose
OS/2 only - remove config/os2 from the tree
2003-01-21 00:05:39 +00:00
darin%netscape.com 8d699694dc attemping fix for linux Ts/Txul startup regression, b=189567 2003-01-19 20:46:51 +00:00
dbaron%dbaron.org d7151ab531 Replace my work in progress on nsAutoPtr with a new version based on nsCOMPtr. Not part of build. b=104346 2003-01-18 16:20:26 +00:00
sicking%bigfoot.com 5ff462a000 Bug 162115: Make nsCOMArray return nsDeriviedSafes to avoid bad addrefs/releases
r=bz sr=alecf
2003-01-18 14:04:23 +00:00