jshin%mailaps.org
4e090b9734
bug 226623: XFT build crashes on PLHashRawAdd. Switch to nsClassHashTable and add a new HashKeyType that duplicates a string in ctor. (r=bsmedberg, sr=bryner, a1.6=tor)
2003-12-10 21:27:01 +00:00
brendan%mozilla.org
15af3ac60c
Avoid deadlock by exiting monitor before processing pending events, when popping (200006, r=danm, sr=darin, a=blizzard).
2003-12-03 23:53:22 +00:00
dbaron%dbaron.org
8b9610f595
Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa
2003-11-29 18:56:10 +00:00
bsmedberg%covad.net
8dd02d1bc3
Fix build bustage, r=biesi.
2003-11-25 20:12:20 +00:00
bsmedberg%covad.net
464a43b564
Bug 226011 - Stop bogus warning in nsGREDirServiceProvider::GetFile
...
r=dougt a1.6b=mkaply
2003-11-25 19:42:00 +00:00
dwitte%stanford.edu
857bdeb8cf
fix regression due to silly casting fu.
...
b=225887, r=bryner, sr=alecf, a=dbaron.
2003-11-20 21:33:50 +00:00
mkaply%us.ibm.com
23847067ef
#214152
...
r=pedemonte, sr=blizzard (platform specific), a=mkaply
adjust unicode return buffer lengths to work around OS/2 bug
2003-11-19 19:35:09 +00:00
bzbarsky%mit.edu
91b42a0363
Make profile directory not be created world readable. Bug 59557, patch by
...
biesi/shaver, r=ccarlen, sr=bzbarsky
2003-11-19 01:30:16 +00:00
bzbarsky%mit.edu
30ffe2a0e4
Read at EOF should not throw. Bug 224093-ish, r=darin, sr=dbaron
2003-11-18 15:06:03 +00:00
dwitte%stanford.edu
a80c072618
removing unnecessary branch.
...
b=225887, r=jag, sr=alecf.
2003-11-18 12:31:25 +00:00
timeless%mozdev.org
28117890eb
Bug 223900 GRE Bustage (AIX, BEOS)
...
Second attempt
2003-11-17 11:26:07 +00:00
timeless%mozdev.org
641da64ddf
Bug 223900 - GRE Bustage (BEOS)
...
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp: In function `PRBool GRE_GetCurrentProcessDirectory(char *)':
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: `buf' undeclared (first use this function)
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: (Each undeclared identifier is reported only once
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: for each function it appears in.)
2003-11-17 10:27:12 +00:00
timeless%mozdev.org
9ac3b062e8
Bug 223900 GRE Bustage (AIX, BEOS)
...
"/usr/include/sys/param.h", line 91.9: 1540-0848 (S) The macro name "MAXPATHLEN" is already defined with a diff
erent definition.
"/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.h", line 47.
9: 1540-0425 (I) "MAXPATHLEN" is defined on line 47 of "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpco
m/glue/standalone/nsGREDirServiceProvider.cpp".
gmake[5]: *** [nsGREDirServiceProvider.o] Error 1
2003-11-17 10:25:46 +00:00
timeless%mozdev.org
d8323ba73f
Bug 106386 Correct misspellings in source code
...
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2003-11-17 10:05:45 +00:00
bsmedberg%covad.net
a888a82d0b
Bug 223900 - Clean up MFCEmbed to use the GRE properly (don't link against xpcom.dll), and make the GRE glue libs more embedder-friendly and flexible. r=adamlock/dougt sr=dougt
2003-11-17 06:13:49 +00:00
bzbarsky%mit.edu
6e374aa4e1
Don't use precision so high it gets rounded in a way we don't want. Bug
...
118117, r+sr=roc
2003-11-15 21:51:39 +00:00
sicking%bigfoot.com
56ad1b1cba
Bug 225507: Implement nsCOMArray::SafeObjectAt for out-of-bounds safe access.
...
r=bryner sr=alecf
2003-11-13 17:01:20 +00:00
bryner%brianryner.com
6c1c138f3c
Re-enable nsCOMPtr_base on gcc 3.x, and use the may_alias attribute for mRawPtr to avoid strict aliasing problems on gcc 3.3+. Bug 212082, r=darin, sr=dbaron.
2003-11-13 07:37:14 +00:00
caillon%returnzero.com
9dcccc1156
Microsoft didn't prefix their core interface names with 'ns'.
...
Fixing comment grammar.
No bug.
r=timeless rs=dbaron
2003-11-11 21:53:36 +00:00
dbaron%dbaron.org
4c6b6d29e0
QueryInterface implementations shouldn't null-check out parameter. b=215352 r=dougt
2003-11-11 21:51:02 +00:00
pete.zha%sun.com
8122870ca0
bug 124029 Roaming - 4.x-HTTP-compatible
...
This is attachment 125933 of this bug
r=darin, sr=bz-vacation
2003-11-06 06:03:14 +00:00
cbiesinger%web.de
c4b48c036f
remove unnecessary semicolon which breaks the build for some gcc versions.
...
no bug, rs=bsmedberg
2003-11-04 20:51:08 +00:00
bsmedberg%covad.net
2034fc15f9
Bug 212222 - Load default prefs from the GRE and from the application. r/sr=alecf/darin
...
NOTE: This is only the backend work necessary to load prefs. The actual separation of prefs into application/embedding will happen in another bug.
2003-11-03 16:46:13 +00:00
darin%meer.net
a9ab636750
fixes bug 224505 "slight static component loader cleanup" r=bsmedberg sr=dougt
2003-11-03 05:31:14 +00:00
darin%meer.net
6affba1504
backing out my last change. it wasn't right. see bug 223084 and bug 224505 for details.
2003-11-03 02:44:23 +00:00
darin%meer.net
cc7db1de31
fixing static build orangeness, b=223084, r=timeless
2003-11-03 02:13:08 +00:00
peter%propagandism.org
93e0a01614
Restoring fix for bug 224231, didn't affect btek's Tp.
2003-11-02 12:58:29 +00:00
peter%propagandism.org
0b431feb53
Back out a part of the fix for bug 224231 to see if it affects btek's Tp.
2003-11-02 11:59:54 +00:00
bsmedberg%covad.net
5346dbdacf
Followup on bug 223084, fix bustage of static builds. Pass a null nsIFile* to the static component loader during autoregistration.
2003-11-01 14:46:08 +00:00
peter%propagandism.org
8658999689
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 09:35:48 +00:00
bsmedberg%covad.net
2923bed5da
Fix static build bustage from bug 223084 - r=bryner Sorry about that!
2003-10-31 20:50:22 +00:00
pinkerton%netscape.com
fdc2d7dc32
don't process timers after wakeup (r=sfraser, sr=bryner, bug 197863)
2003-10-31 02:31:13 +00:00
bsmedberg%covad.net
b5a2a67987
Bug 223084 - enable the static component loader by default r/sr=dougt
2003-10-30 21:11:07 +00:00
timeless%mozdev.org
7f3690d97d
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@juno.com r=darin sr=darin
2003-10-30 19:27:47 +00:00
dbaron%dbaron.org
ce5146b843
Incorrect test in previous checkin. b=220291
2003-10-23 02:29:47 +00:00
dbaron%dbaron.org
039566e00c
Combine NSCAP_FEATURE_FACTOR_DESTRUCTOR and NSCAP_FEATURE_DEBUG_PTR_TYPES into NSCAP_FEATURE_USE_BASE to fix leaks when mixing builds compiled in different ways. b=220291 r=scc sr=bryner a=asa
2003-10-22 23:29:00 +00:00
mkaply%us.ibm.com
566850ccfa
#215581
...
r=mkaply
OS/2 only code to support VACPP Compiled XPCOM stuff in the new GCC build
2003-10-21 22:07:19 +00:00
pkw%us.ibm.com
939917399e
Bug 221422 - Unix builds after 2003/09/13 don't start when run with a
...
relative path.
r=darin@meer.net , sr=dougt@meer.net
2003-10-20 17:57:52 +00:00
cls%seawood.org
892b2c8c54
Updating "standalone" build module dependency maps.
2003-10-18 03:10:08 +00:00
cbiesinger%web.de
cb2ee44828
fixing wrong comments. r+sr=darin
2003-10-17 21:21:45 +00:00
timeless%mozdev.org
346f57ac0a
Bug 221826 only create stack objects in Cut if they'll be used
...
r=dbaron sr=dbaron
2003-10-12 23:28:31 +00:00
darin%meer.net
b19293ac8e
fixes bug 221763 "XPTC_InvokeByIndex crashes when cross-compiled under GCC 3.x for target arm-linux" r=timeless sr=shaver
2003-10-10 07:15:24 +00:00
peter%propagandism.org
4c00c9dd8c
trying to fix bustage.
2003-10-09 17:02:05 +00:00
peter%propagandism.org
c584db0925
Trying to fix bustage.
2003-10-09 16:59:23 +00:00
peter%propagandism.org
9059682e5b
Move voidable string into xpcom. Part of fix for bug 221387 (XPathExpression.createExpression doesn't throw NAMESPACE_ERR). r=bz, sr=dbaron.
2003-10-09 16:15:29 +00:00
darin%meer.net
cbcb460359
fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky
2003-10-09 01:54:07 +00:00
cls%seawood.org
044fc56340
Copy of original MoreFiles ReadMe.txt.
...
See mozilla/lib/mac/MoreFiles/ReadMe.txt for the original copy & cvs history.
2003-10-08 04:42:51 +00:00
cls%seawood.org
a1ff9f0409
Move MoreFiles into xpcom.
...
Bug #218777
2003-10-08 03:39:52 +00:00
darin%meer.net
7a85e4d69a
fixes bug 221331 "nsAutoLock: bogus deadlock warning if unlock/lock are used." patch=brendan r+sr=darin
2003-10-08 03:37:17 +00:00
dbaron%dbaron.org
3ca027dcc3
nsCOMArray should not use nsDerivedSafe. b=221525 r=bryner
2003-10-07 23:17:58 +00:00
bryner%brianryner.com
a08b523fc1
Make nsCOMPtr operator== work correctly with multiple inheritance (bug 221316). r=dbaron, sr=darin.
2003-10-07 20:43:34 +00:00
dougt%meer.net
1d91b8a1dd
add Sort() to nsCOMArray. Patch from ari the_great_spam_bin@yahoo.com. r=alecf, b=211535
2003-10-07 05:42:28 +00:00
darin%meer.net
5404cd73d2
fixing win32 bustage
2003-10-06 03:05:40 +00:00
darin%meer.net
1490aa588f
fixing win32 bustage
2003-10-06 02:28:17 +00:00
darin%meer.net
6241c3168f
fixing win32 bustage
2003-10-06 02:10:51 +00:00
darin%meer.net
77642ae698
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
brendan%mozilla.org
b51d49fa43
Follow the modeline, please.
2003-09-29 18:15:52 +00:00
cbiesinger%web.de
3b612aeecf
Bug 220406 nsLocalFileWin::Launch should return more specific errors
...
convert the specific return values to nsresult-errorcodes.
r=dougt sr=darin
2003-09-27 14:37:16 +00:00
cbiesinger%web.de
3c71a4ee64
bug 220257. treat .hta files as executables
...
r=darin sr=bzbarsky
2003-09-26 12:56:49 +00:00
pkw%us.ibm.com
bbef938929
Bug 219493 - nsPersistentProperties doesn't handle multi-line properties
...
files correctly. This is a better patch than the original one.
r=darin@meer.net , sr=alecf@flett.org
2003-09-25 16:28:06 +00:00
dbaron%dbaron.org
d0e0b80805
Do not use nsCOMPtr_base with gcc3, since doing so violates aliasing rules. b=212082 r=scc sr=bryner
2003-09-25 05:43:42 +00:00
timeless%mozdev.org
b47650a711
Bug 220062 Cleanup NS_METHOD_GETTER_STR/NS_METHOD_SETTER_STR
...
r=dougt
2003-09-24 01:56:06 +00:00
pkw%us.ibm.com
f47146b27c
Bug 219493 - nsPersistentProperties doesn't handle multi-line properties
...
files correctly. Checking in the first patch in this bug to ensure there
are no major regressions.
r=darin@meer.net , sr=alecf@flett.org
2003-09-22 16:28:55 +00:00
mkaply%us.ibm.com
e315269a4c
#215581
...
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
2003-09-17 16:00:48 +00:00
mkaply%us.ibm.com
6485807366
#215581
...
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
Also remove some VACPP references
2003-09-15 22:02:35 +00:00
mkaply%us.ibm.com
3686d6833a
#215581
...
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
Also remove some VACPP references
2003-09-15 21:55:23 +00:00
bryner%brianryner.com
00aafbfddd
Use typeof() to implement NS_STDCALL_FUNCPROTO so that pointer-to-member types using stdcall work on mingw gcc. Bug 203137, r=cls, sr=dbaron.
2003-09-15 04:20:20 +00:00
bsmedberg%covad.net
0568e675fc
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
00b3a1d601
Instead of repeating the same code for each event and listener interface, have nsEventListenerManager::HandleEvent use a table containing the event, interface and method, and array bits. This cuts out a _lot_ of redundant code. The checkin also adds the NS_IMETHOD_CALLBACK #define, which can be used to declare pointer-to-member types using stdcall. Bug 217124, r=jst, sr=dbaron.
2003-09-11 06:31:58 +00:00
timeless%mozdev.org
1f97351928
Bug 217852 ASSERTION: nsDebugImpl not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()'
...
r=dougt sr=darin
2003-09-11 01:42:41 +00:00
darin%meer.net
b87acf0a96
fixes bug 215089 "update version of MoreFilesX to 1.0.1" r=ccarlen sr=bryner
2003-09-09 00:13:29 +00:00
bryner%brianryner.com
06c7c1b2b4
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-08 00:31:50 +00:00
darin%meer.net
f13b43b311
fixes bug 210588 "Cancelling download of .lnk file deletes target of .lnk file" r=dougt sr=bryner a=asa
2003-08-25 18:28:10 +00:00
cls%seawood.org
1b51ba858c
Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
2003-08-16 00:42:35 +00:00
darin%meer.net
119d4abd75
fix tinderbox orange and thunderbird/firebird initial startup problem... r=dougt a=mkaply
2003-08-15 20:37:32 +00:00
mkaply%us.ibm.com
37d80e2139
#215457
...
r=dougt, sr=bryner, a=dbaron
Patch v2 - do event queue creation lazily
2003-08-15 13:59:39 +00:00
cls%seawood.org
6c8b228223
Add detection for Darwin/x86.
...
Bug #213541 r=bryner a=asa
2003-08-15 04:00:23 +00:00
cls%seawood.org
74a903bcdb
Move mozilla/string into mozilla/xpcom/.
...
Bug #214700 r=dougt sr=leaf a=mkaply
2003-08-14 23:50:21 +00:00
cls%seawood.org
58164df36e
Move chrome files from xpcom to intl.
...
Bug #214690 r=dougt sr=darin a=asa
2003-08-14 21:25:18 +00:00
mkaply%us.ibm.com
100da12054
Bug #215457
...
r=darin, sr=dougt, a=mkaply
Move creation of event queue before component registration
2003-08-13 20:08:20 +00:00
bsmedberg%covad.net
c174638b2d
Bug 212919 - Fix const issues in nsDataHashtable on MSVC7 (I'm surprised other
...
compilers didn't barf already!) r=swalker sr=scc a=asa
2003-08-09 19:24:24 +00:00
brendan%mozilla.org
e5276da2fb
Fix Timer re-init to drop any old references (215163, sr=dbaron, r?pavlov).
2003-08-06 00:37:43 +00:00
brendan%mozilla.org
b7cdb7debb
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
2003-08-05 20:09:21 +00:00
dougt%meer.net
752aeaf186
Fixing bustage
2003-08-05 06:42:22 +00:00
dougt%meer.net
b74426322b
this shouldn't have been checked in
2003-08-05 06:34:54 +00:00
dougt%meer.net
b0a0a1d1bb
Removing dead files
2003-08-05 05:41:37 +00:00
dougt%meer.net
afedd7faa2
nsTraceRefcntImpl not nsTraceRefcnt.
2003-08-05 05:34:11 +00:00
dougt%meer.net
ed09f93043
Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
2003-08-05 05:29:10 +00:00
cls%seawood.org
064d382e0c
Fix VPATH build problem with cygwin make 3.80:
...
* Force use of native cygwin paths & cygwin_wrapper
* Remove _NO_AUTO_VARS mess
* Use full source path when calling win32 compiler so debugging info shows up
* Change DEPENDENT_LIBS to use an intermediate header file instead of commandline define
Bug #210393 r=leaf sr=bryner
2003-08-05 04:43:49 +00:00
danm-moz%comcast.net
579f5d88fb
debug only: warn when stacks of event queues get surprisingly deep. should speed future attempts to debug problems like bug 206947. r=brendan
2003-08-05 00:01:20 +00:00
timeless%mozdev.org
b719e8300f
Bug 213549 regxpcom thinks SelfRegisterDll FAILED = successful registration.
...
r=dougt
2003-08-03 09:59:05 +00:00
timeless%mozdev.org
41005b886f
Bug 213543 In function nsresult Register(const char *)': warning: return of negative value
-1' to `nsresult' warning: negative integer implicitly converted to unsigned type
...
r=dougt
2003-08-03 09:58:56 +00:00
timeless%mozdev.org
351c79dcc3
Bug 214681 nsDebugImpl is listed as a leak
...
r=dougt
2003-08-01 14:40:33 +00:00
jshin%mailaps.org
b54299e1a6
bug 206811 : xp_iconv should use UTF-16, if available, instead of UCS-2 (r=drepper, sr=darin)
2003-07-30 05:58:28 +00:00
mkaply%us.ibm.com
6c13a8f4d9
#214152
...
r=pedemont, sr=bz
Handle unicode conversion failure better
2003-07-28 21:02:45 +00:00
mkaply%us.ibm.com
beb51bc227
Stray character snuck in there
2003-07-23 01:36:17 +00:00
mkaply%us.ibm.com
1a38ab2d00
rs=leaf
...
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
jaggernaut%netscape.com
83c571e877
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:47:59 +00:00
dwitte%stanford.edu
9ae54e162c
Bug 122892: nsLocalFile::Clone should preserve stat info.
...
make nsLocalFile* impls use copy constructors for their nsIFile::Clone methods.
This avoids unnecessary |stat| calls inherent in using NS_NewNativeLocalFile.
b=122892, r=dougt, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
2003-07-18 22:14:16 +00:00
dougt%meer.net
8d1e97bd83
Fixing firebird bustage. b=211860
2003-07-15 00:17:51 +00:00
timeless%mozdev.org
6e7848a3aa
Bug 211276 nsStaticCaseInsensitiveNameTable::Init doesn't check the return value of PL_DHashTableInit Last
...
r=alecf sr=dbaron
2003-07-14 21:21:54 +00:00
timeless%mozdev.org
ffc2007ca1
Bug 211277 nsPersistentProperties::nsPersistentProperties doesn't check the return value of PL_DHashTableInit
...
r=alecf sr=dbaron
2003-07-14 21:07:31 +00:00
jaggernaut%netscape.com
ac2ee6a6b1
Bug 151916: substring helpers for start and end (StringHead, StringTail, Substring(string, start)). r=dbaron, sr=bzbarsky
2003-07-14 07:42:24 +00:00
jaggernaut%netscape.com
817298ce0b
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com
2d7ed90a69
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu
29080c9146
Fixing think-o.
2003-07-13 07:21:43 +00:00
bzbarsky%mit.edu
401365f06a
Optimize nsSegmentEncoder to not get an mEncoder unless it actually has
...
encoding to do (has a non-ascii spec segment). Bug 212475, r=darin, sr=dbaron
2003-07-12 23:06:13 +00:00
dwitte%stanford.edu
d78b684d26
Bug 113733: nsXPIDLCString doesn't have an assignment operator.
...
adds |operator=( const self_type& )| to nsSharable{C}String and nsXPIDL{C}String, to prevent the compiler from synthesizing its own (which won't do the right thing).
This should fix a bunch of XPIDLString-related cfront compile warnings.
original patch by jag, updated by me; r=dbaron, sr=jag.
2003-07-12 07:14:37 +00:00
dbaron%dbaron.org
fc8c0f9407
Fix DEBUG bustage. b=212109
2003-07-12 01:33:30 +00:00
bzbarsky%mit.edu
7b5865099a
Update the string stream interface a bit and simplify the implementation a
...
lot. Bug 212109, r=dougt, sr=darin
2003-07-11 23:10:27 +00:00
dbaron%dbaron.org
7f9ed75392
Make ns[C]String::AppendFloat locale-independent. b=209569 r=jag sr=bzbarsky
2003-07-09 06:53:44 +00:00
dbradley%netscape.com
8c018c2af6
bug 127585 - xpidl usage is incorrect. r=timeless, sr=jst
2003-07-08 21:41:51 +00:00
dougt%meer.net
14fa809554
Missing control path return value
2003-07-08 20:03:35 +00:00
dougt%meer.net
a856820d8e
Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron.
2003-07-07 22:11:36 +00:00
dougt%meer.net
2481164ffb
Adding support for static builds of minimo. r=pavlov. b=211645
2003-07-05 19:34:19 +00:00
seawood%netscape.com
aa3d6e37cc
Ignore xpcom-config.h & xpcom-private.h
2003-07-03 22:49:28 +00:00
seawood%netscape.com
e0a52544b3
Split private xpcom defines into separate header.
...
Bug #210409 r=dougt
2003-07-03 21:10:00 +00:00
seawood%netscape.com
1a6a612624
Split private xpcom defines into separate header.
...
Bug #210409 r=dougt
2003-07-03 20:55:23 +00:00
timeless%mozdev.org
2f6f278787
Bug 211275 GetAtomHashEntry doesn't check the return value of PL_DHashTableInit
...
r=dbaron sr=bz
2003-07-03 14:45:01 +00:00
darin%netscape.com
ca48f5672f
fixes bug 163988 'Crashes at www.macgamer.com (HREF="&#)' patch=waltershen@netscape.com r=dbaron sr=jag
2003-07-02 21:20:14 +00:00
seawood%netscape.com
8fdbbdff1d
Make user-specific application directory name configurable using --with-user-appdir.
...
Thanks to Ben Bucksch <ben.bucksch@beonex.com> for the original patch.
Bug #58327 r=dougt
2003-07-01 18:32:49 +00:00
seawood%netscape.com
775e423c59
Argh. HAVE_64BIT_OS is not xpcom specific.
...
Bug #210409
2003-06-27 19:17:46 +00:00
jshin%mailaps.org
4f939c139c
bug 183156 (a part of) : rename CopyUTF16toASCII as LossyCopyUTF16toASCII (r,sr=jag)
2003-06-27 07:44:13 +00:00
seawood%netscape.com
cab1558f57
Move xpcom specific defines from mozilla-config.h into xpcom-config.h.
...
Bug #210409 r=dougt
2003-06-27 04:12:16 +00:00
seawood%netscape.com
7a7cda041f
Use the documented __declspec keyword instead of _declspec.
...
Bug #206934 r=dougt
2003-06-24 22:12:37 +00:00
dbaron%dbaron.org
3852bff4c9
Keep the pointer version of NS_ConvertUTF8toUTF16 null-safe. b=210279 r+sr=jag
2003-06-24 05:42:05 +00:00
bsmedberg%covad.net
d266401f8a
Build bustage from bug 210337, sorry 'bout that.
2003-06-23 21:56:07 +00:00
bsmedberg%covad.net
ea12fb91ed
Oops, forgot a file for bug 210337, part 2.
2003-06-23 21:07:29 +00:00
bsmedberg%covad.net
97601586ac
Bug 210337 part 2: remove unused nsObserver r=alecf/dougt
2003-06-23 20:47:45 +00:00
bsmedberg%covad.net
1a9cab373f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
jshin%mailaps.org
b33261e746
bug 183156 : replace UCS2 in function/method names with UTF16 and update the
...
document accordingly. r=jag, sr=alecf
2003-06-23 04:30:57 +00:00
jaggernaut%netscape.com
6d16320259
Bug 210160: Add nsStringComparator parameter to String(Begins)|(Ends)With. r=bzbarsky, sr=dbaron
...
Bug 210162: Fix up comments, argument names of atom getters in nsIAtom.idl. r=bzbarsky, sr=dbaron
2003-06-21 02:59:51 +00:00
caillon%returnzero.com
4cc64cee34
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
kyle.yuan%sun.com
a1bc56e855
Bug 209622 nsTHashtable cause bustage on Solaris with F6U2
...
r/sr=bsmedberg
The missed part in nsBaseHashtable.h, patch by harinath@cs.umn.edu
2003-06-20 01:26:00 +00:00
dougt%meer.net
20dd3f677a
Cleans up nsLocalFile0S2 a bit. Removes code that checks for symlinks. r=r=mkaply, sr=blizzard, bug=209963
2003-06-19 21:53:26 +00:00
bsmedberg%covad.net
581fce1582
Bug 209622 - bustage fix for stupid compilers (Sun WS and DEC OSF1) -
...
also remove unused configure test. r=dbaron sr=alecf
2003-06-19 18:42:23 +00:00
sicking%bigfoot.com
13f65a560a
Bug 209667: Make it possible to hold an nsRefPtr to a class that lacks an empty ctor. I'll back this out if it breaks any ports.
...
r=jag sr=dbaron on the nsCOMPtr.h part
r=Pike sr=peterv on the transformiix part
2003-06-19 18:21:39 +00:00
jst%netscape.com
2d0b6d2c00
Fixing part of bug 209699 (and more of bug 87677). Implement char* and PRUnichar* versions of Copy/AppendUTF*toUTF*(). r=alecf@flett.org, r=dbaron@dbaron.org, sr=jaggernaut@netscape.com
2003-06-19 05:17:55 +00:00
blizzard%redhat.com
c1364687c5
Bug #40950 . xptcall for linux/ia64. Patch from ulrich drepper and derived from the HPUX code. rs=shaver
2003-06-19 02:58:45 +00:00
timeless%mozdev.org
4942b03239
Bug 187031 [nsLocalFileWin] nsLocalFile::Remove returns os remove values (-1) as nsresults
...
r=dougt sr=darin
2003-06-18 23:19:11 +00:00
timeless%mozdev.org
a72dfd67dd
Bug 209681 improve XPCOM_CHECK_PENDING_CIDS: prevent some crashes, enable component manager to block components by contract
...
r=dougt
2003-06-18 23:03:08 +00:00
timeless%mozdev.org
60b80117e3
Bug 209808 Mismatched delete / delete [] in nsCategoryManager.cpp
...
r=dougt
2003-06-18 18:55:35 +00:00
bsmedberg%covad.net
a82cd52521
Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it.
2003-06-18 11:26:27 +00:00
jst%netscape.com
3624ae8b21
Fixing typo in comment.
2003-06-18 06:52:16 +00:00
alecf%flett.org
63cdbb3203
fix bug 209699 r=dougt, sr=jst - move some consumers over to CopyUTF8toUTF16
2003-06-18 02:22:46 +00:00
bryner%netscape.com
0e8aa09510
Fix a debug-only crash when requesting a non-existant contractid. Bug 209680, r=dougt, sr=alecf.
2003-06-17 21:12:11 +00:00
timeless%mozdev.org
45fde5c69a
Bug 204146 Undefined symbols during autoregistration should go to stdout
...
r=dougt
2003-06-17 18:19:40 +00:00
timeless%mozdev.org
f6516c3e12
Bug 204146 Undefined symbols during autoregistration should go to stdout
...
Change output for NSPR_LOG_MODULES=nsComponentManager:1 .. 4 to be useful
r=dougt
2003-06-17 17:50:00 +00:00
jst%netscape.com
d98c2ff1e8
Fixing typo in comment.
2003-06-17 16:30:35 +00:00
jst%netscape.com
5e31f0fbb6
Fixing bug 87677. Making AppendUTF[8|16]toUTF[16|8]() not copy the string twice when not needed. r=jaggernaut@netscape.com, sr=dbaron@dbaron.org
2003-06-17 16:30:17 +00:00
timeless%mozdev.org
14fd47f872
Bug 204407 cleanup warnings in nsToolkit.cpp and plevent.c
...
patch by sergei_d@fi.tartu.ee r=timeless sr=bz
2003-06-15 04:06:04 +00:00
timeless%mozdev.org
7361f0325f
Static build bustage
...
Change for Bug 124958 should not have changed the static build
2003-06-14 00:18:12 +00:00
timeless%mozdev.org
193d42cfcd
Static build bustage
...
Change for Bug 124958 should not have changed the static build
2003-06-13 21:40:06 +00:00
timeless%mozdev.org
ac9af605d4
Bug 124958 Crash on startup in OpenBSD in static constructor calls
...
global variables are shared by all shared libraries
patch by wilfried@spamcop.net r=dougt
2003-06-13 17:05:56 +00:00
dbaron%dbaron.org
18b8c334fb
Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Make various tweaks to improve performance of conversion between UCS2 and UTF-8 (both ways). b=206682 r=jag sr=jst
2003-06-11 04:27:13 +00:00
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 20:12:33 +00:00
dougt%meer.net
0d5620770d
Adding comments to nsDirectoryServiceDefs.
2003-06-10 20:09:25 +00:00
seawood%netscape.com
21e62fa849
Removing cfm specific versions of glib & libidl.
...
Bug #98811 r=macdev
2003-06-10 18:41:52 +00:00
peterv%netscape.com
1db3c32cdc
Fix for bug 208398 (Implement swap on nsRefPtr). r=sicking, sr=dbaron.
2003-06-10 11:39:54 +00:00
dougt%meer.net
60d5f4ed17
Moving all important docs to gila. This is a documentation only change - not part of the tinderbox|release builds
2003-06-06 19:49:28 +00:00
dbaron%dbaron.org
58f15ed67e
Remove unneeded duplication from nsCOMPtr.h. b=208449 r=sicking sr=jag
2003-06-05 23:43:08 +00:00
dbaron%dbaron.org
015ab0d484
Change _MSC_VER ifdef since MSVC++ .net 2003 has fixed one of their compiler bugs. b=208439 Patch from Ian Hickson <ian@hixie.ch>. r=dbaron sr=jag
2003-06-05 18:50:16 +00:00
jkeiser%netscape.com
3eaf824c9d
Make nsAutoPtr declarable with forward-declared classes (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org
2003-06-05 17:55:33 +00:00
jshin%mailaps.org
ff38b26577
bug 183156 : the first step : replace UCS2 in function names with UTF16
...
(r=peterv, sr=alecf)
2003-06-05 11:44:06 +00:00
jshin%mailaps.org
5c17cefb54
Not a bug. Removing 4 spurrious lines (no effect on the binary generated)
...
sneaked in the previous commit (for bug 206811) by mistake.
2003-06-04 06:34:38 +00:00
brendan%mozilla.org
32fe82e60e
Fold premature entry decl initialized by gratuitous ?: expr into dependent if/else in nsFastLoadFileReader::ReadObject.
2003-06-04 06:08:15 +00:00
jshin%mailaps.org
d99c80bf83
bug 206811. use UTF-16 instead of UCS-2 for nsNativeCharsetutils on Unix.
...
Also use iconv(3) on Linux (r=smontagu, sr=alecf)
2003-06-03 12:37:44 +00:00
bsmedberg%covad.net
9ab392b2fb
Bug 207399 - minor cleanup to help building on the Intel compiler. r=dougt
2003-06-03 10:52:26 +00:00
jkeiser%netscape.com
ea020d3190
Remove the no-forward-declared-nsCOMPtr hack (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org
2003-06-03 03:56:14 +00:00
jst%netscape.com
a159b5a1eb
Fixing bug 87677. Implementing {Copy,Append}[UCS2|UTF8]to[UTF8|UCS2](). Lame implementations for now, but at least people can start using these methods to avoid double copying all over (this doesn't eliminate the double copy, but it isolates it). r=jaggernaut@netscape.com, sr=alecf@flett.org.
2003-05-31 06:03:18 +00:00
brendan%mozilla.org
33cce84916
Disable DEBUG_brendan stuff.
2003-05-30 20:25:42 +00:00
alecf%flett.org
8fa1bb278e
remove these files, they aren't built any more
2003-05-30 06:00:51 +00:00
timeless%mozdev.org
95f81078f1
Bug 207081 only create profile window comes up on start attempt
...
GetSpecialSystemDirectory used 'break;' instead of returning NS_OK on OS/2
and assigned its rv to an undeclared variable instead of returninng on Mac Classic.
removed tabs.
r=mkaply a=mkaply
2003-05-27 14:01:32 +00:00
bsmedberg%covad.net
1ec4879a62
bug 206254 allow nsBaseHashtable::IsInitialized() and bug 206528 nsBaseHashtable should initialize mLock. r=alecf
2003-05-26 23:36:19 +00:00
timeless%mozdev.org
915641a045
Bug 205609 control reaches end of non-void function GetSpecialSystemDirectory and lots of unhandled enumeration values
...
r=dougt
2003-05-25 07:11:51 +00:00
jaggernaut%netscape.com
e016c1df62
Bug 206943: Slightly optimize NS_GetSpecialDirectory. r=dougt, sr=dbaron
2003-05-24 03:11:36 +00:00
dougt%meer.net
6ba4b45490
fixing bustage
2003-05-23 22:38:41 +00:00
dougt%meer.net
365d3d936e
Lazy allocation of PLEvent's lock and condvar r=darin, b=204962
2003-05-23 22:26:38 +00:00
dougt%meer.net
ad4efabeb5
removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634
2003-05-23 22:23:10 +00:00
timeless%mozdev.org
b20cd43140
Bug 205608 Warning: C++ style comments are not allowed in ISO C89
...
r=jst sr=jst
2003-05-23 22:18:18 +00:00
timeless%mozdev.org
2ba082c8ae
Bug 205363 Remove SendStatusNotification/nsIPrintStatusCallback
...
r=dbaron sr=dmose
2003-05-23 22:10:13 +00:00
timeless%mozdev.org
d906338455
Bug 203356 In method xptiInterfaceInfoManager::AddOnlyNewFilesFromFileList' warning: unused variable
PRUint32 countOfFilesInWorkingSet
...
r=dougt
2003-05-23 21:50:06 +00:00
dwitte%stanford.edu
270d3909ca
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org
c6ff914d34
Backing out my checkin for bug 206682 due to performance regression (slowing down NS_ConvertUCS2toUTF8).
2003-05-23 00:32:54 +00:00
dbaron%dbaron.org
06133b6d3c
Move the core of NS_ConvertUCS2toUTF8 into character sinks in nsUTF8Utils.h, and use them to make ToNewUTF8String faster. Fix bug in surrogate handling in the moved code. Fix null-termination bug in UTF8ToNewUnicode. b=206682 r=jag sr=alecf a=brendan
2003-05-22 21:25:43 +00:00
dbaron%dbaron.org
77bf6f4e26
Add StringBeginsWith, StringEndsWith, and UTF8ToNewUnicode. Move UTF8 handling utilities to separate file. b=131293 r=jst sr=alecf,jag a=asa b=131293
2003-05-21 22:20:27 +00:00
jdunn%netscape.com
4804786627
fixing xptcstub code for hp-ux ia-64 for kishan@cup.hp.com
...
# 146722
r=dbradley@netscape.com
sr=shaver@mozilla.org
a=sspitzer@netscape.com
2003-05-21 19:11:29 +00:00
sgehani%netscape.com
71ed167934
Make GetFSRefInternal assume NS_ERROR_FILE_NOT_FOUND when CFURLGetFSRef
...
returns false.
b=202772; r=ssu, ccarlen; sr=sfraser; a=asa
2003-05-21 00:53:36 +00:00
dbaron%dbaron.org
4046571e9b
Fix gcc3 builds on Solaris/x86. r=dbradley sr=brendan a=asa b=149461
2003-05-20 20:47:12 +00:00
blizzard%redhat.com
255d8b5a41
Missed file for checkin for bug #205752 .
2003-05-20 18:52:40 +00:00
blizzard%redhat.com
dddd145e35
Bug #205752 . Support a directory for gre config files: /etc/gre.d/ r=dougt,a=asa
2003-05-20 17:43:12 +00:00
timeless%mozdev.org
46bd47de9e
Bug 206287 things Will be re-ordered to match declaration order
...
r=roc+moz sr=roc+moz a=roc+moz
2003-05-20 02:02:56 +00:00
dougt%meer.net
78d341b0c4
disabling unloading of dependent libraries on HPUX. On tihs and possibly other platforms there is no reference count on dso's. This means that when unload is called, the libraries is actually unloaded causing a crash. b=204804, r=blizzard
2003-05-16 13:24:55 +00:00
dbaron%dbaron.org
8eed196c97
Fix bustage on Sun Workshop compiler (nebiros tinderbox). r=darin
2003-05-16 00:52:17 +00:00
darin%netscape.com
ac836dfcc2
fixes bug 162025 "UNC Based Profiles don't work" r=dougt sr=dbaron a=asa
2003-05-14 21:56:49 +00:00
dougt%meer.net
3c693caabd
Stacks nsFactoryEntry's so that we can support overloading factories a bit better. r=darin, a=blizzard, b=204870
2003-05-13 22:50:03 +00:00
bsmedberg%covad.net
110776c7d6
Fix ANSI-strict compiler errors using GCC 3.4 (from CVS). bug 201407 r=jkeiser sr=brendan a=sspitzer
2003-05-11 01:28:03 +00:00
jrgm%netscape.com
cf01c9d921
don't check for SHGetSpecialFolderPathA in shfolder.dll (cause it won't be there) and load the 'ansi' proc name from shell32.dll, bug 204246, r+sr=dougt, a=asa
2003-05-08 20:41:20 +00:00
dougt%meer.net
04fb8b72d8
Sets the current directory to the process directory at startup. This is to avoid a potential problem with embedding applications calling ShellExecute where the working directory parameter. This results in the new process inheriting the current working directory of the old process. See bug 202363. r=wtc@netscape.com, a=asa@mozilla.org
2003-05-08 18:42:15 +00:00
dougt%meer.net
be2a8f6235
Backing out dependent library loading on windows. Fixes 204676.
2003-05-07 18:39:47 +00:00
dougt%meer.net
55d29a7c7b
Missed this checkin when I landed. It is required to prevent a hang. I am also disabling some DEBUG_dougt code. r=darin, a=seth, bug=193442
2003-05-05 06:06:57 +00:00
dougt%meer.net
65b3fedb62
Fixing static build bustage. Need to translate names
2003-05-04 23:32:53 +00:00
dougt%meer.net
9fa187d6ab
Adding a dependent_libs cache. b=193442, r=darin, a=seth
2003-05-03 00:54:20 +00:00
ccarlen%netscape.com
47683e635f
Profile sharing - changes to profile dirserviceprovider, a component to control whether sharing is enabled. bug=202474, rs=dougt/sr=darin/a=asa
2003-05-02 03:59:23 +00:00
dougt%meer.net
61f22d315f
Fixing up the comment so that it doesn't include params which are not there. r=me. Thanks to Ellen Evans for pointing this out.
2003-05-01 23:28:38 +00:00
ssu%netscape.com
3e7f61a67d
fixing bug 125106 - general nsIFile converter change hosed XPInstall intl filenames. r=dveditz, sr=alecf, a=sspitzer
2003-04-30 06:49:04 +00:00
ccarlen%netscape.com
50935327d1
Fix error in original patch to bug 190336. Using address-of operator on the result of a cast is wrong and fails on gcc only when producing optimized code. r=pinkerton/sr=sfraser/a=asa
2003-04-25 19:29:24 +00:00
dougt%meer.net
a02f79969c
Enables generic module code to use DEPENDENT_LIBS if defined. Note that this is not enabled for XPCOM_GLUE since support for DEPENDENT_LIBS requires an unfrozen interface. b=193442, r=alec@flett.org, a=sspitzer@netscape.com
2003-04-25 04:48:22 +00:00
bsmedberg%covad.net
a063aaffd5
Fixing AIX bustage. r=jdunn a=mkaply/ycalonje
2003-04-24 16:01:24 +00:00
bsmedberg%covad.net
d0b580c34a
Fix for mac build bustage, with ccarlen. Cleanup from bug 201034.
2003-04-24 05:27:10 +00:00
bsmedberg%covad.net
22ee934b64
Attempting to fix Mac build bustage.
2003-04-24 03:29:19 +00:00
bsmedberg%covad.net
d1f638b36f
Bug 201034 non-const enumeration in nsBaseHashtable, add
...
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa
2003-04-24 01:54:57 +00:00
brendan%mozilla.org
784eab4a1d
Remove copy-pasted scope qualifier for ReadSegments decl, jdunn says HP aCC barfs on it (a=leaf).
2003-04-23 16:48:08 +00:00
gordon%netscape.com
d83534770a
Fix bug 105344. r=saari, sr=darin.
2003-04-23 05:05:16 +00:00
mkaply%us.ibm.com
fcc51f8013
OK, should be final - need PR_CALLBACK here
2003-04-23 04:51:42 +00:00
mkaply%us.ibm.com
2df9fd3c2d
Putting this back because I think it might break stuff - OS/2 will be broke however
2003-04-23 04:42:35 +00:00
mkaply%us.ibm.com
43cb1a0e6d
One more PR_CALLBACK
2003-04-23 04:38:40 +00:00
mkaply%us.ibm.com
93f248fd4f
OS/2 bustage - PR_CALLBACK stuff
2003-04-23 04:33:14 +00:00
cls%seawood.org
8b363ed6a2
Change the naming scheme for the mingw libraries to use the following format:
...
static lib: libfoo.a
import lib: libfoo.dll.a
shared lib: foo.dll
Bug #134113 r=dmose
2003-04-23 00:54:38 +00:00
jst%netscape.com
8f24979ea4
Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com
2003-04-22 21:57:25 +00:00
ccarlen%netscape.com
82d6d96035
Bug 202798 - Save page as fails when downloads.rdf does not exist (new Profile) r=varga/sr=sfraser
2003-04-21 21:43:38 +00:00
bryner%netscape.com
5aacded6e8
Use the correct filename for libxpcom on OS X. Bug 202686, r+sr=dougt.
2003-04-20 17:59:47 +00:00
seawood%netscape.com
f7bf89f618
Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
...
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com
806c4e65db
Part of bug 190336 - makes nsFileSpec use base64 encoded aliases for persistent descriptor - as does nsILocalFile and nsFileSpec in CFM build. Patch by sfraser, r=ccarlen/sr=sspitzer
2003-04-18 14:18:53 +00:00
ccarlen%netscape.com
35e19dac59
Bug 164396 - Change internal representation of file from FSRef to CFURL, reducing conversions between path and FSRef and fixing other bugs. 2nd checkin of this after testing on other Tinderboxen showed Ts improvement. r=sdagley/sr=sfraser
2003-04-18 13:50:38 +00:00
dougt%netscape.com
130c3dec24
using strnicmp instead. r=darin
2003-04-18 05:43:41 +00:00
mkaply%us.ibm.com
c33d0334cd
202480 for OS/2
2003-04-18 02:22:17 +00:00
dougt%netscape.com
5f9d31938b
bug 202480. Windows doesn't care about case. ::Contains must not either. r=darin
2003-04-18 00:48:38 +00:00
dougt%netscape.com
899eaaa107
bug 201711. We were not uninstalling the component. r=darin
2003-04-18 00:46:34 +00:00
dbradley%netscape.com
6b9b5f339d
Bug 195736 - Small change to xptcinvoke_gcc_x86_unix.cpp. r=dbradley, sr=shaver
2003-04-16 13:30:44 +00:00
alecf%netscape.com
0b48cf638a
fix for bug 199170 - more static atom work in xpcom, chrome registry, rdf, and profile dir service provider.. sr=bryner, r=ccarlen
2003-04-15 22:19:01 +00:00
darin%netscape.com
42ed2c232f
fixes bug 201574 "Many Unaligned access messages when reading XUL.mfasl" r/sr=alecf,brendan
2003-04-15 18:17:54 +00:00
dougt%netscape.com
9a96f1f937
now correctly determines when two services race on a single cid. patch by mscott+dougt, r=dbaron, b=194568.\nalso removes xpcom component release location sr=alecf b=201263
2003-04-14 20:50:14 +00:00
dougt%netscape.com
0fa63324ca
Fixes bug - Mozilla fails to run due to missing StubNNN global data. r=dbradley bug=201490. patch submitted by jim@rrsl.rsmas.miami.edu
2003-04-14 20:43:22 +00:00
dougt%netscape.com
8e41040c94
Fixes a crash on shutdown. patch by bryner. r+sr=dougt
2003-04-12 07:16:31 +00:00
brendan%mozilla.org
e81a02eeb2
Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
...
r=ben, sr=bryner).
- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing. The JS engine does not need a non-null
object parameter for static scope. That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.
- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself. I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.
This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name. We
need SerializeOutOfLine to handle overlay OOL scripts. They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc. This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons. The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.
There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.
- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.
- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.
- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.
- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.
- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments. The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.
But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.
- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.
/be
2003-04-12 01:34:11 +00:00
bsmedberg%covad.net
c47f659d09
forgot Makefile.in bug 200709 r=jkeiser sr=alecf Many apologies, this is my first mozilla checkin.
2003-04-10 14:14:32 +00:00
bsmedberg%covad.net
edeed1b17d
win32 bustage-fix for bug 200709
2003-04-10 14:01:03 +00:00
bsmedberg%covad.net
2fe15728d7
bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf
2003-04-10 13:27:16 +00:00
mhammond%skippinet.com.au
9e50b7b363
Fix bug 200893 - Timeline Service is not thread aware,
...
and bug 200204 - Timeline service should expose NS_TIMELINE_MARK_TIMER1
sr=alecf, r=alecf/dougt
2003-04-10 05:39:46 +00:00
dougt%netscape.com
5a9ee1e7e3
attempt 2 to fix mac os X bustage
2003-04-08 23:45:17 +00:00
dougt%netscape.com
db53003e82
doh. missed a endif
2003-04-08 22:26:13 +00:00
dougt%netscape.com
acf475c8a5
attempting to fix mac bustage
2003-04-08 21:51:58 +00:00
dougt%netscape.com
ba320bcb27
spelling error fixed - thanks pkw@us.ibm.com.
2003-04-08 21:13:54 +00:00
dougt%netscape.com
051cd58d22
fixing mistake in help option
2003-04-08 20:58:08 +00:00
dougt%netscape.com
f5841229f3
RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf
2003-04-08 20:46:17 +00:00
dougt%netscape.com
51d7281d32
Removing obsolete files r=dougt
2003-04-08 20:40:05 +00:00
dougt%netscape.com
ef09d77cea
removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
2003-04-08 20:37:02 +00:00
dougt%netscape.com
d2fa1050d2
removing status and registry locations from xcdll. These two members are not being used. r=alecf. b=200722
2003-04-08 20:29:43 +00:00