vidur%netscape.com
3ee2570bb6
Fix for Solaris compiler warning from scc. r=vidur
2000-12-12 23:02:01 +00:00
vidur%netscape.com
3d01aed3f7
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
2000-12-12 21:58:14 +00:00
vidur%netscape.com
0a4eedc07d
Implementation of ReadSegments to support less copying in the parser. r=rpotts, sr=jst
2000-12-12 21:57:47 +00:00
jst%netscape.com
23a0adddb7
Fixing compiler warnings, not part of the build yet. r=vidur
2000-12-12 21:52:08 +00:00
ccarlen%netscape.com
fe233dba77
Bug 51932 - Allow getting the FSSpec of a file which doesn't exist.
r=sdagley, sr=sfraser
2000-12-12 20:14:03 +00:00
vidur%netscape.com
221266180e
New file for buffer management for shared strings, written by scc. Not yet added to the build. r=vidur
2000-12-12 20:13:33 +00:00
brendan%mozilla.org
1633b91a46
Fix realloc bookkeeping blunder (r=waterson,pnunn, NOT PART OF DEFAULT BUILD).
2000-12-12 05:48:16 +00:00
mang%subcarrier.org
8279725fbb
Fix for #62572
...
Removed obsolete code that allowed implicit declaration of nsid types.
This will cause a rebuild.
r=mccabe
sr=jband
2000-12-11 23:06:26 +00:00
danm%netscape.com
84daaa9b30
delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan
2000-12-11 21:55:47 +00:00
dbaron%fas.harvard.edu
3331dd382b
Attempt to fix |address_of| bustage on IRIX. r=scc@mozilla.org b=59414
2000-12-10 03:13:53 +00:00
dbaron%fas.harvard.edu
4597daa244
Fix bustage. Forgot to change NS_IMETHODIMP in function definitions.
2000-12-09 04:58:10 +00:00
dbaron%fas.harvard.edu
fa7d014c05
Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
2000-12-09 04:46:08 +00:00
dbaron%fas.harvard.edu
81352c0825
Work in progress for bug 59414. Prepare to make |nsCOMPtr|'s |operator&| private to prevent many cases of accidental usage, and provide |address_of| for clients who really want a pointer to an nsCOMPtr. r=scc@mozilla.org sr=waterson@netcape.com
2000-12-09 04:45:43 +00:00
dbaron%fas.harvard.edu
2b2160f1b0
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
2000-12-09 04:21:51 +00:00
dbaron%fas.harvard.edu
de24c96d88
Avoid relying on static constructor for nsFSStringConversion in nsLocalFile by making all methods static and avoiding the need for an object and then doing cleanup during XPCOM shutdown. b=43591 r=dougt@netscape.com sr=waterson@netscape.com
2000-12-09 04:11:05 +00:00
mkaply%us.ibm.com
be46098572
OS/2 build break
...
Need PR_CALLBACK
2000-12-08 20:36:53 +00:00
dmose%mozilla.org
0a3c12b78b
Fix for bug 61692: IDLify nsIEventQueue and nsIEventQueueService. This makes it possible to create an nsISupports proxy for calling across threads in languages other than C++ (eg JS). r=dougt@netscape.com, r=jband@netscape.com, sr=brendan@mozilla.org
2000-12-08 04:30:36 +00:00
mccabe%netscape.com
2463c6c216
Fix to 8734. Make xpidl produce its' output file in the same directory it is run in. This only applies when the -o someotheroutname option isn't supplied. Previous behavior was to produce the output file in the same directory as the input file. Hopefully this'll save some confusion for first-time xpidl users.
...
Thanks to Mike Ang <mang@subcarrier.org> for fixing several errors in the initial version of this patch.
r=mang
sr=jband
2000-12-07 04:25:07 +00:00
mccabe%netscape.com
63bb35887d
Usage message spelling fix courtesy Mike Ang <mang@subcarrier.org>.
...
r=mccabe
2000-12-07 04:22:24 +00:00
mccabe%netscape.com
54b6fe9784
Fix to 54913. Add check against 'const unsigned long = -4', and centralize many const checks in xpidl_util.c from the various xpidl backends.
...
This'll cause the tree to rebuild.
sr=jband.
2000-12-07 04:17:33 +00:00
jband%netscape.com
b27fc45e0b
fix warnings from fix to bug 61369
2000-12-06 19:40:56 +00:00
waterson%netscape.com
f7b54ed67f
Bug 61571. Improve speculative RTTI heuristics by adding one more instruction to the signature for typeinfo(). r=brendan, sr=beard
2000-12-06 00:05:45 +00:00
dbaron%fas.harvard.edu
3a40e42717
Add information to stack trace format so it can be processed by addr2line. b=59136
...
Make logging not crash when dll unloading is enabled. b=60710
r=waterson@netscape.com sr=brendan@mozilla.org
2000-12-02 16:10:50 +00:00
mccabe%netscape.com
7ddbcb075b
Fixes to 52520 and 13813. Move checks against [retval] usage from xpidl_typelib code to the common xpidl_util code used by all modes, and add a new check asserting that [retva] is only applied to the last parameter. XPConnect has had this restriction for a long time.
...
no r=, but it's very similar to previous approved changes. I want to get it in with other xpidl modifications, as everybody's tree needs to be rebuilt anyway.
2000-11-30 10:51:39 +00:00
mccabe%netscape.com
4e0b0efbf3
Fix to 13765. Disallow IDL interfaces with [shared] parameters that aren't string, wstring or native. Also disallow [shared] with nsid or [array] parameters.
...
sr=jband
2000-11-30 09:52:29 +00:00
mccabe%netscape.com
a65e320dd3
Better fix to problem with 57094; reinstate 57094 fix and add a conditional #undef of NS_NO_VTABLE to nsISupportsUtils.h before defining it there.
...
r=jband
2000-11-30 08:08:24 +00:00
mccabe%netscape.com
0dac69a5cc
Fix to 57094 is running into trouble on windows, commenting out.
2000-11-30 07:56:47 +00:00
mccabe%netscape.com
7be75703a4
Tweak to previous checkin. Rectify 'to to' typo in comment added to generated header files. Thanks to jband for saving me the shame.
2000-11-30 07:52:16 +00:00
mccabe%netscape.com
493faa54ce
Fixes for 40008, 40152, 40016, 51795, 57094.
...
Fix various aspects of xpidl, including:
don't fail on empty idl / idl containing only #includes
use error location instead of typedef location when reporting type errors
warn on interfaces that lack a uuid attribute (thanks Warren for the prod)
add include guards to generated .h files - faster mac compilation?
xpidl-generated headers don't need NS_NO_VTABLE defined.
This'll cause a tree rebuild.
r=mang (several)
sr=jband.
2000-11-30 07:51:02 +00:00
jband%netscape.com
c1564bb79e
fix bug 58959 and groundwork for bug 57370. Handle interface whose name has changed correctly and add support for comparing iids without fetching. r=mccabe sr=hyatt
2000-11-30 06:55:40 +00:00
jband%netscape.com
0848a5d31c
Add some thread stress tests used to figure out problem in bug 61369. r=brendan sr=waterson
2000-11-30 05:26:15 +00:00
jband%netscape.com
fe62695f13
fix bug 61369. Race between nsThread Init and Main. Also additions to make the interface more useful to non-C++ code. r=brendan sr=waterson
2000-11-30 05:24:53 +00:00
waterson%netscape.com
a692ac7ac4
Oops, remove one 'bamboozler' that isn't globally exported, except in my build.
2000-11-29 21:18:03 +00:00
waterson%netscape.com
e1bdb8b1aa
Bug 61241. Change trace-malloc's live object output format to mimic beard's format from Boehm. r=brendan, sr=jband
2000-11-29 21:16:53 +00:00
mkaply%us.ibm.com
7863bcb388
#56767
...
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:51:05 +00:00
mkaply%us.ibm.com
b12d0a5ba2
#56767
...
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:27:38 +00:00
danm%netscape.com
06a281a74b
ignore busy threads when determining whether to add a new thread to the pool. bugs 55032,56337,58404,60338, others. r=beard,brendan,dougt,saari
2000-11-28 22:38:02 +00:00
cls%seawood.org
b4ffe758bb
Fix linux/sparc test to work for sparc64 arch.
...
Thanks to Myth <frb@wiw.org> for the patch.
Bug #57501 r=cls@seawood.org
2000-11-28 05:27:19 +00:00
cls%seawood.org
3ea6bf0f4d
Fix the BeOS implementation of Normalize().
...
Thanks to Hiromasa Kato <hiro@eng.iastate.edu> for the patch.
Bug #53014 r=cls@seawood.org sr=scc@mozilla.org
2000-11-28 01:43:09 +00:00
cls%seawood.org
5aafa0b4a6
Under BeOS, we must call Normalize() on a local file before it can be used.
...
Thanks to Hiromasa Kato <hiro@eng.ia.state.edu> for the patch. Bug #53014 . r=cls@seawood.org sr=scc@mozilla.org
2000-11-28 01:41:05 +00:00
colin%theblakes.com
880969402b
OpenVMS specific fix for defeciency in stat.
...
b=60199 r=dougt a=waterson
2000-11-27 11:19:41 +00:00
dmose%mozilla.org
03a6ecf015
added macros for deallocating XPCOM arrays. r=alecf@netscape.com, moa=scc@mozilla.org, sr=brendan@mozilla.org
2000-11-22 20:15:23 +00:00
brendan%mozilla.org
4a242ba8a6
Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build).
2000-11-22 08:05:05 +00:00
dougt%netscape.com
29cef744e4
Static Module Patch. r=valeski,warren@netscape.com, sr/a=cls@netscape.com
2000-11-21 23:40:34 +00:00
cls%seawood.org
434edd6f33
Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454
2000-11-21 00:18:46 +00:00
cls%seawood.org
66a18fcbbf
Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
2000-11-20 07:16:06 +00:00
danm%netscape.com
2c6d578e14
removing glowcode directives. won't affect you unless you use an obsolete version of glowcode.
2000-11-18 02:13:42 +00:00
blizzard%redhat.com
646e1d37ac
two line change to remove iostreams from this test list. r=alecf,jag sr=scc
2000-11-17 21:17:53 +00:00
alecf%netscape.com
0934a8bda2
fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
...
r=dveditz a=self
2000-11-17 03:41:41 +00:00
dougt%netscape.com
f8ca50385e
Checking error code from IsDirectory().
2000-11-15 22:39:43 +00:00
disttsc%bart.nl
67a97d42f0
Fix iteration type in ConvertTo(Upper|Lower)Case in nsReadableUtils.cpp, bug=60047, r=dmose, a=scc
2000-11-15 01:58:23 +00:00
ccarlen%netscape.com
db44a10b6c
Bug 55891
r=brade, sr=sfraser
2000-11-14 15:58:54 +00:00
disttsc%bart.nl
a8a18302a4
Checking in the correct patch for bug 59526.
2000-11-10 01:30:07 +00:00
edburns%acm.org
b1aacc0ff8
bug 59526
...
sr=waterson
r=valeski
This bullet-proofs the code so the one thread does not exit twice.
2000-11-09 23:49:57 +00:00
sspitzer%netscape.com
8c9593d2f1
minor fix. sr=warren
2000-11-08 23:59:13 +00:00
mkaply%us.ibm.com
59b1443eba
#58462
...
r=av, sr/a=waterson
Add OS/2 calling conventions for plugins
2000-11-08 21:28:38 +00:00
dbaron%fas.harvard.edu
14f0d12bad
Remove the last remnants of the misspelled nsTextFormater and remove the misspelled files. r=erik@netscape.com sr=brendan@mozilla.org b=16951
2000-11-08 03:02:17 +00:00
mkaply%us.ibm.com
981339093e
#58805
...
r=mkaply, a=blizzard
Code from jkobal to make appshell more like Windows and make timers more efficient
2000-11-02 19:36:30 +00:00
mkaply%us.ibm.com
f1a834a405
#58776
...
r=mkaply, a=blizzard
Code from jkobal to fix helper apps
2000-11-02 15:41:44 +00:00
jband%netscape.com
13697643d2
fixing the broken indenting from dougt's checking (he applied my -wu patch). This is a whitespace change only (cvs diff -wu shows no change). If I don't fix this it will bother me forever!
2000-11-02 03:31:06 +00:00
brendan%mozilla.org
b238fa4ec4
Fix leaks for 'unregistered' monitors and locks (55498, r=beard, sr=jband).
2000-11-01 22:21:28 +00:00
danm%netscape.com
73fe6e57b7
small tweak to get nspr logging running again. bug 58514 r=warren
2000-11-01 20:30:47 +00:00
mkaply%us.ibm.com
407f3c54a9
#55813
...
r=dougt, sr/a=waterson
Support for a MOZILLA_HOME dir to specify pref location
2000-11-01 20:04:59 +00:00
warren%netscape.com
48f769ea63
Moving leak fixes from logging_102900_branch to trunk to quite tinderbox a bit more.
2000-11-01 01:41:15 +00:00
mkaply%us.ibm.com
5ebf8feb5b
Wrong casts being used
...
Caused outside contributor to be unable to build
2000-10-31 15:55:46 +00:00
dbaron%fas.harvard.edu
1694bfa5a6
Remove extraneous line I introduced in previous checkin. r=waterson
2000-10-31 05:39:34 +00:00
dbaron%fas.harvard.edu
414284521b
Fix gcc 2.7.x bustage by defining |operator+()| for combinations involving |nsPromiseSubstring|, within |#ifdef NEED_CPP_DERIVED_TEMPLATE_OPERATORS|. (Based on scc's proposal earlier.) r=waterson
2000-10-31 04:33:32 +00:00
bienvenu%netscape.com
199475237b
fix 55003 null protection in closing nsOutputStream r=kandrot sr=waterson
2000-10-30 15:20:31 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
19543495b3
Fix for leak in Vprintf: taking patrick's patch instead
2000-10-28 05:24:32 +00:00
warren%netscape.com
6357768687
Fix for leak in Vprintf
2000-10-28 05:21:54 +00:00
warren%netscape.com
312e995be6
Fixed leak beard pointed out on PR_vsmprintf
2000-10-28 04:36:33 +00:00
warren%netscape.com
f6bbf1ff6b
Added AddRef/Release method for nsLog so that they don't appear to leak. Changed comments too.
2000-10-28 03:12:02 +00:00
dbaron%fas.harvard.edu
7fed408876
Remove extra 0 param. (Fix warren's bustage.) r=warren
2000-10-28 02:30:42 +00:00
dbaron%fas.harvard.edu
94795db4ee
Terminate statements with semicolon, not colon. (Fixing warren's bustage.)
2000-10-28 02:07:38 +00:00
warren%netscape.com
936b5b752a
Added def for NS_GetLog for optimized builds
2000-10-28 01:58:42 +00:00
warren%netscape.com
f0d64921df
Added NS_GetLog to export list
2000-10-27 23:50:07 +00:00
warren%netscape.com
810f462251
Removed extra 0 arg from macro
2000-10-27 23:41:27 +00:00
warren%netscape.com
d7a5405f11
Added nslog.h
2000-10-27 23:25:45 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
scc%mozilla.org
d2593e5546
fix wrong error return; bug #57981 r=waterson, sr=brendan
2000-10-27 21:46:20 +00:00
mkaply%us.ibm.com
5ed55b8e9a
OS/2 Tinderbox break
...
Need PR_CALLBACK for OS/2, and bad include of windows.h for XP_PC...hurrah we have XP_WIN now
2000-10-27 18:30:16 +00:00
warren%netscape.com
7017831b21
Added forgotten nsILoggingService.idl
2000-10-27 06:41:11 +00:00
warren%netscape.com
95e38718ea
Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson
2000-10-27 06:18:39 +00:00
warren%netscape.com
3ab01ebc2d
Changes to build on Mac.
2000-10-27 05:11:58 +00:00
ramiro%eazel.com
f155f7f244
Bug 56793. Add support for building unix mozilla with a default
...
MOZILLA_FIVE_HOME. Build changes r=cls. Small XPCOM change sr=scc.
2000-10-21 08:33:16 +00:00
warren%netscape.com
b1bf163d31
Added new file - not in build yet.
2000-10-20 01:14:47 +00:00
ccarlen%netscape.com
d735ea5c51
Fix for 56998 which blocks 56041. nsLocalFile::Exists() could return TRUE if the file in fact didn't exist. Happened with files for which the volume or dir didn't exist. r=sfraser.
2000-10-19 20:41:55 +00:00
bnesse%netscape.com
9d1c3322a1
Look for 'NSPL' as well as 'shlb'. Fix for bug #45697 . r=av, sr=scc, a=rtm++.
2000-10-17 18:06:23 +00:00
shaver%mozilla.org
a6239048b2
#56636 , remove debug cruft, r/sr=blizzard
2000-10-17 17:15:36 +00:00
cls%seawood.org
c8bf15435a
Removing unneeded TK_LIBS from LIBS. r=rcassin@supernova.org sr=shaver@mozilla.org
2000-10-14 17:18:42 +00:00
sfraser%netscape.com
0a8858c5a6
Fix for 53310; implement IsLowMemory() on Mac, and turn on the low memory detection thread. r=waterson, sr=scc.
2000-10-14 00:39:16 +00:00
jst%netscape.com
1bef7c0474
(Checking in for jefft@netscape.com). Fixing rtm++ bug 56129. The file input stream wasn't always setting the EOF state correctly, this caused problems with saving mail messages to the sent folder and also problems with 'Save As Draft'. r=ducarroz, r=sspitzer, sr=mscott.
2000-10-13 11:14:48 +00:00
jst%netscape.com
17691505d4
Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst.
2000-10-11 22:50:14 +00:00
mccabe%netscape.com
b67b16e35f
Fix to 53929. Fix previously-broken UnregisterListener method on console service, by proxy-wrapping the service we've been asked to remove before comparing it to those in the listener list. The saved listeners are already proxy-wrapped, so the previous straight compare failed.
...
The equality check works because the proxy service caches proxies, and will always return the same wrapper.
This fixes a leak and a situation that led to some asserts in XPConnect on shutdown. (Some listeners were proxy-wrapped JS objects.)
r=jband.
2000-10-09 23:45:59 +00:00
dougt%netscape.com
aeee5aad67
Fixes 64 bit address conversion in proxy. Also fixes proxing char parameters. p=jband, r=dougt, a=brendan. 52200, 26560.
2000-10-08 18:19:28 +00:00
jst%netscape.com
610222d73f
Fixing rtm++ bug 55587. nsAReadableString::FindChar() was returning the index from the offset to the character if found in stead of the index from the beginning of the string. r=kin, sr&a=scc
2000-10-07 01:50:36 +00:00
disttsc%bart.nl
3a2fed4fb9
Add |.get()| to NS_ConvertUCS2toUTF8 to make getting rid of some MLKs easier, bug=54740, r=scc, a=waterson
2000-10-07 00:08:47 +00:00
mkaply%us.ibm.com
d5d97c8b5f
#55327
...
r=mkaply, a=blizzard
OS/2 only code - bring nsLocalFileOS2 to current level
2000-10-05 20:44:11 +00:00
colin%theblakes.com
5d88f8bd74
r=dougt, sr=blizzard, bugzilla=55163
...
OpenVMS-specific change to handle HOME
correctly. Fixes location of appreg bug.
2000-10-05 10:12:15 +00:00
hyatt%netscape.com
cd13ab3d62
Fix win32 build bustage, r=scc
2000-10-05 07:48:20 +00:00
scc%mozilla.org
c14a699819
and trying to fix OS/2 bustage
2000-10-05 07:24:51 +00:00
vishy%netscape.com
8113e13325
sr=mscott,r=vishy (this is racham's code), bugzilla=48981
...
for standalone app, the profile data has to go in the windows
app data directory - not where the app is running
2000-10-05 03:34:18 +00:00
scc%mozilla.org
c56e2b14a0
and a access error ... r=waterson on this fix
2000-10-05 03:28:41 +00:00
scc%mozilla.org
09316bb030
damn typo
2000-10-05 01:51:52 +00:00
scc%mozilla.org
6c61076b41
bug #54601 : r=waterson, a=brendan. Fix string allocation policy -- allocate exact size, double on fault ... thanks to everybody who helped me test this patch.
2000-10-05 01:19:59 +00:00
scc%mozilla.org
350a58ac5c
fixed comments (so people are aware of the allocation policy)
2000-10-05 01:07:40 +00:00
scc%mozilla.org
64e5d4cbd1
bug #54712 , r=rjc, a=waterson. Added a |Distance| function to calculate the span between two iterators, then added a constructor and appropriate global function to allow |Substring|s to be made from iterators in addition to the old scheme of {index,length}
2000-10-05 01:07:02 +00:00
dougt%netscape.com
66479b016a
Replaces check for processingEvents. r=danm, darin a=hyatt
2000-10-04 19:47:12 +00:00
mkaply%us.ibm.com
2281d92324
#52455
...
r=dougt a=blizzard
These are OS/2 specific porting fixes in an XP file (plevent.c)
I'm checking it in without super-review because we desperately
need these fixes in our nightly build.
2000-10-03 00:20:05 +00:00
dougt%netscape.com
25f36f554d
Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750
2000-10-01 05:35:03 +00:00
mkaply%us.ibm.com
a47da58b87
#54535
...
r=mkaply, dougt, a=jband
Code from jpedemonte to fix profile creation
2000-09-29 20:40:10 +00:00
waterson%netscape.com
be8f8ecc25
Bug 53353. Factor nsMemoryImpl create/destroy from flusher thread startup/shutdown. Avoids creation of second memory flusher thread after XPCOM shutdown. r=scc, sr=warren
2000-09-28 23:17:49 +00:00
sgehani%netscape.com
cb37a54b7a
Merging pr3 branch to trunk:
...
Renaming "Plugins" -> "Plug-ins"
b=53976
r=ssu
a=sfraser
2000-09-28 22:52:51 +00:00
mkaply%us.ibm.com
c90bc3ef8b
OS/2 Tinderbox breakage
...
HOME dir isn't working on OS/2, so profile can't be created so the browser won't come up.
Change to OS2 dir to get things working.
r=dr
2000-09-22 17:32:10 +00:00
jband%netscape.com
45e7f2d67e
checking in patch from Jon Smirl <jonsmirl@mediaone.net> that lets us see past xptcall 'SharedStub' frames in stack traces. Because xptcall was doing a non-standard frame the debuggers and trace tools were not showing callers. This fixes that problem and will allow us to get *much* better data on crashes and other problems where the stack crosses xptcall. Tested on debug and release. r=jband@netscape.com, a=brendan@mozilla.org, a=waterson@mozilla.org. Thank you Jon!
2000-09-22 10:09:23 +00:00
ccarlen%netscape.com
48d1306eb1
Fix for #52181
r=dougt, a=buster
2000-09-21 13:45:31 +00:00
warren%netscape.com
181bb2dcb2
Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
2000-09-20 19:35:24 +00:00
waterson%netscape.com
a1e0644138
Fix orangeness on Linux.
2000-09-20 07:31:53 +00:00
waterson%netscape.com
7dc55680e8
Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren
2000-09-20 05:44:19 +00:00
jband%netscape.com
d9691850b8
Allow for detection and graceful failure when we stumble upon an incompatible typelibs which might exist in the future. bug 53155. NOT fixing brendan's nit about the grammar in the comment. a=brendan@mozilla.org, r=shaver@mozilla.org,mccabe@netscape.com
2000-09-19 21:42:47 +00:00
beard%netscape.com
e4d75a2017
[Not part of build] Changed getServices() to attribute services.
2000-09-19 14:48:11 +00:00
beard%netscape.com
40fafcfe3c
[Not part of build] Added traceCollection, getServices methods.
2000-09-19 05:40:17 +00:00
brendan%mozilla.org
a791fb2253
Fixes to use atomic rename(2) if possible in nsLocalFile::MoveTo (33098, r=?),
...
plus a bunch of other fixes and cleanups:
- Fix comment misstatements of fact in nsIFile.idl, improve style slightly.
- Fix typo in comment in nsILocalFile.idl.
- Avoid gratuitous nsCString and nsXPIDLCString copy-constructions, which
entail malloc'ing, in nsLocalFileUnix.cpp's CopyTo and GetParent methods.
But do use nsXPIDLCString instead of raw nsMemory::Alloc/Free.
- Get rid of unnecessary mLL_II2L and mLL_L2II macros, use "prlong.h" API only.
Also use the LL_* macros consistently in case a Unix lacking long long type
support wants to use this code.
* BTW, the "Date" methods should be renamed to use "Time" instead -- after all
PRTime is the type, and traditionally "time" refers to the time-number, a
scalar independent of one's position on the surface of the earth, while
"date" refers to a struct full of locale-specific information derived from
time and some "environment" variables such as DST. Can we rename these
nsIFile methods before Mozilla 0.9 / Netscape 6?
- Use CHECK_mPath consistently and first, before any assertions relating to
arguments (which logically come after the 'this' parameter CHECK_mPath is
making assertions about).
- Use nsCOMPtr for singly-inheriting implementations of XPCOM interfaces, to
avoid scary-when-scaled 0-refcnt instances from being handled (these all
got a ref via QI or equivalent soon enough, but you never know). This also
removed some naked deletes.
- Canonize all paths copied into mPath to lack trailing slashes, so we don't
need to strip trailing slashes elsewhere, in higher-frequency methods (you
set path less often than you get it or a substring of it).
- ssize_t for strlen return values.
- Since shaver used a function pointer to consolidate creat/mkdir logic, but
didn't fold the necessary close of the new fd returned by non-failing creat
into the pointed-at function, I did that.
- AppendRelativePath forbids .. as a component (bounded by / or beginning or
end of string on either side), not just in the middle of fragment (so that
foo..bar is not an illegal relative pathname -- it should not be). BTW,
what the heck is the difference between NS_ERROR_FILE_UNRECOGNIZED_PATH and
...INVALID_PATH?
- SetLeafName was overallocating the new pathname buffer by failing to subtract
the old leafname's length.
- CopyTo was failing to return an NSRESULT_FOR_ERRNO(), it just called that
macro on a line by itself -- eek! It also contained redundant if (newFD
== nsnull) {...} cleanup code, it did a useless PR_GetFileInfo call, and it
leaked FDs on read or write error.
- Implemented CopyToFollowingLinks as a forwarded call to CopyTo, Unix does
not support "copying" a symlink via normal file i/o. Should we instead
lstat in CopyTo and if a link is the source of the copy, do readlink and
then symlink?
- Fixed the readlink method (GetTarget) to null-terminate the link string in
the out parameter (readlink does not do that for you).
- Lots of little nsnull vs. NULL vs. 0, == and != applied to boolean or null
literals, white-space, indentation, bracing, comment, and sloppy code order
(e.g., declaring an initialized variable that's not used till after early
returns) fixes. Also invert some return logic so that NS_OK is the normal,
least indented, final return.
2000-09-19 00:22:41 +00:00
mcafee%netscape.com
a8dd507165
Ignore generated files
2000-09-18 17:43:15 +00:00
brendan%mozilla.org
0352ff10a7
Define QI now that XPConnect wraps JS objects; fix comments (NOT PART OF BUILD).
2000-09-18 02:31:11 +00:00
cls%seawood.org
fa27c24583
If MOZ_ENABLE_JAR_PACKAGING is set, do not install the xpcom.properties. They will be in the the jar file
2000-09-15 22:16:01 +00:00
rayw%netscape.com
3cd14f5878
Bug fix for 52648 -- remaining stash of progids which I missed on
...
the mega-change yesterday. This will fix a few more issues.
r=warren
2000-09-14 23:20:49 +00:00
dougt%netscape.com
c2923c8476
+ Added OnSecurityChange() to nsIWebProgressListener interface.
...
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.
Fixes bug 46872. r=valeski/rpotts
2000-09-14 22:56:56 +00:00
mjudge%netscape.com
e2be918716
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
rayw%netscape.com
29095de5ca
File went back by mistake, reverting.
2000-09-14 04:21:39 +00:00
rayw%netscape.com
f00b08f5d0
fix to mal-formed contract id introduced in mega-check-in:x
2000-09-14 04:18:07 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
jdunn%netscape.com
db73c9ba7c
changing C++ comments to C comments since for some reason
...
nscore.h is being included by intl/lwbrk/src/rulebrk.c &
modules/libpref/src/prefapi.c
r= scc@mozilla.org & brendan@mozilla.org
2000-09-13 12:22:17 +00:00
scc%mozilla.org
a2b86d5574
adding |.get()| for the other half of |NS_LITERAL_STRING|
2000-09-13 03:44:58 +00:00
scc%mozilla.org
c8bd6535e2
if you want a pointer to the characters, you're going to have to |.get()| it
2000-09-13 02:56:52 +00:00
scc%mozilla.org
b9d91cdd90
fix typo
2000-09-13 02:56:13 +00:00
scc%mozilla.org
23ed30f8b6
fixed indentation, added inheritance that makes classes cooperate in our buffer sharing strategy, added |get()| to flat classes, as we're deprecating implicit operators for this task
2000-09-13 02:41:06 +00:00
scc%mozilla.org
63e4e5b46c
fixed ugly name |nsXXXBufferHandle| --> |nsFlexBufferHandle|; hey, it may not be perfect, but it's better than 'XXX'
2000-09-13 02:27:11 +00:00
scc%mozilla.org
b84bc0e8e1
fixing signatures, includes
2000-09-13 02:24:55 +00:00
shaver%mozilla.org
db75ac4221
#44426 , fix FreeBSD > 2.5, a=brendan
2000-09-12 19:57:02 +00:00
shaver%mozilla.org
5fc525c2bc
#44857 , fix Linux/SPARC compilation (a=brendan)
2000-09-12 19:54:45 +00:00
mkaply%us.ibm.com
1f08244363
OS/2 Tinderbox break
...
Need cast for VisualAge
2000-09-12 12:28:31 +00:00
mkaply%us.ibm.com
5d8916353e
OS/2 Tinderbox break
...
The Windows way was right, not sure why it was made different for OS/2.
2000-09-12 12:24:32 +00:00
warren%netscape.com
9fc7180eb9
Added URL attribute to nsIFile (why: because (a) needs to vary for different implementations, and (b) need to factor out of necko for installer). Not implemented yet.
2000-09-12 08:05:13 +00:00
dougt%netscape.com
8af176eece
Backing out changes which reduces the number of notifies on the event queue monitor. We still are reducing the number of native notifications.
2000-09-12 04:37:35 +00:00
dougt%netscape.com
d4abfb1de7
PLEvent optimizations. Part of bug 50104. This reduces the number notifications. r-valeski@netscape.com
2000-09-11 20:59:56 +00:00
pete%alphanumerica.com
e49a8860f7
cleaned up and added two more functions
...
a=brendan
2000-09-11 16:50:44 +00:00
scc%mozilla.org
1881ab2220
finishing up the special string class for the parser
2000-09-11 05:24:49 +00:00
rpotts%netscape.com
b845d5a563
Changed the nsIInputStreams created by the storage stream to be thread-safe...
2000-09-10 08:12:26 +00:00
ccarlen%netscape.com
68500bd674
Fix for Win95 machines which don't have APP_DATA dir
r=racham
2000-09-09 15:31:27 +00:00
ccarlen%netscape.com
fa65e9669f
Fix for #38770
Also fixed (unreported bug) in SetPersistentDescriptor.
r=dougt
2000-09-09 15:26:52 +00:00
scc%mozilla.org
c84f6229fb
more HPUX fixes
2000-09-09 13:26:07 +00:00
scc%mozilla.org
cd400fe3cf
HPUX is smarter than me
2000-09-09 12:53:38 +00:00
scc%mozilla.org
bd62c909ac
moved |Mid|, |Left|, and |Right| to "nsAWritableString.h" since on SunOS, they couldn't compile until after they'd seen the definition of |basic_nsAWritableString|. They're still members or readable ... got to get rid of these functions
2000-09-09 11:57:43 +00:00
scc%mozilla.org
6c54834914
fixing some bugs in the new parser string code; changing some names
2000-09-09 11:31:04 +00:00
scc%mozilla.org
ea2b0fd9c3
added method to make linking possible :-)
2000-09-09 10:30:49 +00:00
scc%mozilla.org
1ee6f4da63
fixing linux bustage
2000-09-09 10:24:45 +00:00
scc%mozilla.org
a9c1d0dd41
fix typo
2000-09-09 10:21:31 +00:00
scc%mozilla.org
3cbbb0afad
fix |const| error
2000-09-09 10:17:45 +00:00
scc%mozilla.org
51a6875de0
adding more new string files
2000-09-09 09:50:14 +00:00
scc%mozilla.org
4976300d7a
fixing the build for VC++
2000-09-09 09:48:12 +00:00
scc%mozilla.org
8271620013
fixes for VC++
2000-09-09 09:44:45 +00:00
scc%mozilla.org
52146b8bc8
fixes to make it compile on VC++
2000-09-09 09:39:44 +00:00
scc%mozilla.org
ef2e163089
adding new string files to the build
2000-09-09 09:05:16 +00:00
scc%mozilla.org
446f9a7680
adding new string files to the build
2000-09-09 08:54:03 +00:00
scc%mozilla.org
b957ef46c6
adding new string headers to exports
2000-09-09 08:53:39 +00:00
scc%mozilla.org
fc5dcc58b5
adding new string headers to exports
2000-09-09 08:24:31 +00:00
scc%mozilla.org
26fdf3a955
refactoring |ToUpperCase|, |ToLowerCase|
2000-09-09 07:30:55 +00:00
scc%mozilla.org
f9628a5ea2
nobody uses |nsFragmentedString| as yet ... changing it now to be based on the new work from |nsSlidingString|/|nsSlidingSubstring| for the parser
2000-09-09 06:42:45 +00:00
scc%mozilla.org
2f06e33fc1
adding a |#if|d out hunk of code to remind me of something later
2000-09-09 06:40:49 +00:00
scc%mozilla.org
d20b91809f
closer to getting the parser strings in; these files are still not part of the build
2000-09-09 06:35:16 +00:00
scc%mozilla.org
2e1d1cad8f
fix |const| errors, this file is not yet part of the build
2000-09-09 06:32:46 +00:00
scc%mozilla.org
3798ef25f3
adding more new string files
2000-09-09 06:29:37 +00:00
scc%mozilla.org
1b5dad648c
fix a |const| error
2000-09-09 05:02:19 +00:00
scc%mozilla.org
f005c9b3b7
adding the new string files
2000-09-09 04:43:55 +00:00
scc%mozilla.org
59389ddca9
more work towards a working |nsSlidingString|, |nsSlidingSubstring| for the parser, these files are not yet part of the build
2000-09-09 04:42:19 +00:00
scc%mozilla.org
cff3c8e744
fixing comments, not yet part of the build
2000-09-09 04:40:38 +00:00
scc%mozilla.org
4337bf7aef
adding comments
2000-09-09 04:40:01 +00:00
scc%mozilla.org
9c9a645de8
fixing includes
2000-09-09 04:39:25 +00:00
jband%netscape.com
ab447aa9ef
needed to fix bug 46707. We need to autoreg the native loader before the interface info manager (iim) so that the iim can use registered components; e.g. libjar. r=shaver@mozilla.org
2000-09-09 01:36:18 +00:00
scc%mozilla.org
f2845da892
not part of the build, getting closer to turning on the new parser strings
2000-09-09 00:25:00 +00:00
scc%mozilla.org
1792573bee
adding license and include guards
2000-09-09 00:02:48 +00:00
scc%mozilla.org
9cdf61fe64
not yet part of the build, this is the bulk of the work for the special parser strings
2000-09-08 23:54:23 +00:00
scc%mozilla.org
75c8ca9c3d
bug #51662 , r=bienvenu
2000-09-08 22:07:14 +00:00
warren%netscape.com
52514c7ffc
Bug 46772. Added nsIDirectoryService::UnregisterProvider
2000-09-08 04:57:33 +00:00
kandrot%netscape.com
f474ef6516
Missed a change. Fix for bug #46709
...
r=rayw
2000-09-08 02:53:12 +00:00
kandrot%netscape.com
e89ce829b0
Fix for bug #46709
...
Allows registry buffer size to be modified. Increases buffer size during
initial start up, then decreases size.
r=rayw
2000-09-08 01:51:45 +00:00
dougt%netscape.com
45850deaf6
Bug 51445. r=beard@netscape.com
2000-09-07 20:28:00 +00:00
warren%netscape.com
996cfbc2fc
Changed assertion to warning when platform charset doesn't exist.
2000-09-06 23:42:59 +00:00
waldemar%netscape.com
f62502bca4
Added bloattable.pl documentation
2000-09-06 23:23:10 +00:00
pchen%netscape.com
7a08a7e5c0
bug #43585 , r=sfraser, add Mac_DefaultDownloadDirectory to SystemDirectories enum
2000-09-06 21:13:14 +00:00
pchen%netscape.com
fa8df5e6b1
bug #43585 , r=sfraser, here resides the actual code to handle new mac default download directory, prepended code to call new nsIInternetConfigService to get IC default download folder. If we can't get it, then fall back to using desktop folder like before.
2000-09-06 21:13:12 +00:00
pchen%netscape.com
dcd27732f8
bug #43585 , r=sfraser, fix type/creator mix up calling FSpCreate() in nsLocalFile::Create(), fix passing correct FSSpec to AECreateDesc, fix passing AppParameters correctly in LaunchParamBlockRec.
2000-09-06 21:13:10 +00:00
pchen%netscape.com
9edc591583
bug #43585 , r=sfraser, add string NS_MAC_DEFAULT_DOWNLOAD_DIR
2000-09-06 21:13:06 +00:00
pchen%netscape.com
be126281cc
bug #43585 , r=sfraser, add static atom for mac default download dir
2000-09-06 21:13:04 +00:00
pchen%netscape.com
605a452be5
bug #43585 , r=sfraser, add atoms and case for new mac default download folder dir
2000-09-06 21:13:02 +00:00
scc%mozilla.org
d92a2df1aa
A good place to hang the gcc fix, thanks dbaron!, and backing out previous failed fix ideas (|Concat|), r=dbaron
2000-09-04 05:00:25 +00:00
scc%mozilla.org
4bc5b685d6
adding back a couple more |operator+|s for gcc
2000-09-04 01:34:04 +00:00
scc%mozilla.org
0caf9417c2
bustage fix for old gcc; already built on speedracer to ensure that it works, and on Mac to ensure that doesn't break modern compilers
2000-09-03 22:38:38 +00:00
pete%alphanumerica.com
4c2dd8fb4b
added two more functions:
...
permissions and dateModified
did some style cleanup and tested out each function
a=brendan
--pete
2000-09-03 13:37:19 +00:00
scc%mozilla.org
bc2af7530d
files from the string test harness, updated to match the string changes already in the tree
2000-09-03 07:10:03 +00:00
scc%mozilla.org
37ad1671aa
fixing bustage
2000-09-03 04:04:41 +00:00
scc%mozilla.org
766ce2dea2
now that constructors are explicit, we'll have to get rid of extra comparison operators ... in fact, this is to fix immediate bustage
2000-09-03 03:16:47 +00:00
scc%mozilla.org
4b2a937084
turning on |HAVE_CPP_2BYTE_WCHAR_T|
2000-09-03 02:24:58 +00:00
scc%mozilla.org
65a05bda2a
adding |Concat| function to fix pravda and speedracer bustage
2000-09-03 01:38:27 +00:00
dbaron%fas.harvard.edu
6034cb7c24
Fixing code that relied on implicit string construction. r=scc (verbally)
2000-09-03 00:02:34 +00:00
scc%mozilla.org
96b9a39082
making all string construction explicit; plus (now that the DOM APIs are turned on and you can no longer build without NEW_STRING_APIS) chopping out |#ifdef|ed code
2000-09-02 20:53:31 +00:00
scc%mozilla.org
b67501b4c1
fixing build bustage for OS2 and AIX
2000-09-02 12:25:27 +00:00
scc%mozilla.org
76a73c1015
fix build bustage for hpux
2000-09-02 12:20:49 +00:00
mcafee%netscape.com
33f49a5690
Solaris bustage fix from scc/bruce/#mozilla
2000-09-02 07:14:59 +00:00
scc%mozilla.org
13b55a5fda
time to add that specialization of |nsCharSourceTraits<PRUnichar>|, not having it is probably hosing speedracer, r=waldemar
2000-09-02 06:03:50 +00:00
beard%netscape.com
0d706a89f5
[not part of build] traceObject, markObject.
2000-09-02 05:44:48 +00:00
scc%mozilla.org
c18e089b7a
oops. fix windows bustage
2000-09-02 04:57:36 +00:00
scc%mozilla.org
e798b943d0
fixed comment typo (now was a good time, since I just checked in string changes). r=brendan
2000-09-02 04:17:11 +00:00
scc%mozilla.org
e52e438806
bug #49817 : fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge
2000-09-02 04:10:44 +00:00
mkaply%us.ibm.com
2fcc576271
#51105
...
r=dougt, a=brendan
Missing OS/2 support for HOME dir
2000-09-01 22:53:55 +00:00
mkaply%us.ibm.com
b4fb77cbcc
#48208
...
r=dougt, a=brendan
Don't DebugBreak if the messagebox got an error displaying
2000-09-01 21:41:42 +00:00
valeski%netscape.com
1c0c8d7b63
32185. r=wan-teh. Fixing hashtable enumeration lossage.
2000-09-01 19:11:24 +00:00
pavlov%netscape.com
364611d68d
fix for crash when trying to get the parent file when the file was a drive r=dougt bug 50837
2000-09-01 07:36:55 +00:00
vidur%netscape.com
e153192875
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
2000-09-01 01:54:35 +00:00
dougt%netscape.com
16835b5d5f
Removing Cached Monitors from plevent. They are about 5x slower than
...
a lock and condvar according to the nspr documentation. r=valeski
Also I fix a problem where we would wake up from a wait without checking
any data which could cause all sorts of problems.
b=50634
2000-09-01 00:50:51 +00:00
scc%mozilla.org
387fffdcbc
don't know how I omitted this last night, particularly since mscott tested. must shift the bit in the mask to get a new position. This should fix the string hang
2000-08-31 17:56:28 +00:00
beard%netscape.com
5b8256210a
Added traceObject() method.
2000-08-31 14:35:13 +00:00
bienvenu%netscape.com
05988d5c93
whoops, forgot to invoke a pldhash routine
2000-08-31 14:00:38 +00:00
bienvenu%netscape.com
be77e72ef2
add pldhash functions, r+a=waterson+brendan
2000-08-31 13:29:29 +00:00
scc%mozilla.org
3f22a1ad7c
bug #49895 : checking in a slight enhancement on Patrick Beards patch
2000-08-31 11:42:43 +00:00
jband%netscape.com
45fd8ce1e8
add caching of jar/zip files to help fix bug 46707. Also factor out conditional compilation of ziploader support to not just be dependent on XPCOM_STANDALONE. And, factor out manifest directory from component directory (even though they are the same for now) in prepatation for a better fix to bug 39808. r=rginda@netscape.com
2000-08-31 09:48:39 +00:00
scc%mozilla.org
cc2d66fff1
make |Last| not try to adjust an iterator into an empty string (stops illegal calls to |Last| on an empty string from going into an infinite looop), r=mscott
2000-08-31 06:12:35 +00:00
beard%netscape.com
b1ef2faa2c
fixing build bustage. r=scc
2000-08-31 06:00:21 +00:00
mscott%netscape.com
7e54962a72
back out my change until we can get it to build on the mac. This re-introduces the infinite loops when you run the browser though
...
so be warned.
2000-08-31 05:43:21 +00:00
mscott%netscape.com
57a58f3599
Bug #50853 --> fix a nasty infinite loop on windows. The compiler was choosing the wrong overloader method for nsPromiseConcatenation::operator+
...
which caused it to fail to inherit a mask bit which in turn led to the infinite loop.
this code came from scc.
r=mscott
2000-08-31 04:29:42 +00:00
brendan%mozilla.org
2b858a9a05
Forgot to round capacity up to nearest power of two\! r=bienvenu.
2000-08-31 03:12:40 +00:00
waterson%netscape.com
971108565b
Add pldhash.c to the build.
2000-08-31 02:18:08 +00:00
waterson%netscape.com
d7d0dad09e
Add pldhash.h to the build.
2000-08-31 02:17:29 +00:00
brendan%mozilla.org
da11005af4
Add pldhash.[ch], sed-translated from js/src/jsdhash.[ch].
2000-08-30 19:32:03 +00:00
dbaron%fas.harvard.edu
4c5e1655b3
Attempt to fix nebiros (Sun WorkShop 5.0) bustage by changing NULL to nsnull. r=scc (Fix suggested by scc.)
2000-08-30 12:32:13 +00:00
cls%seawood.org
11e77d89f5
Build fixes for BeOS. Thanks to Dan Moore <pergamon@68k.org> for the patch.
2000-08-30 07:21:31 +00:00
akkana%netscape.com
bd7f472335
From scc, to help with bug 44372: add NS_NAMED_LITERAL_STRING macros. r=me
2000-08-30 00:24:57 +00:00
waterson%netscape.com
0cd03cf38a
Damn. Wrong spot.
2000-08-30 00:16:59 +00:00
waterson%netscape.com
7968871a5d
First checked in.
2000-08-30 00:16:58 +00:00
racham%netscape.com
8e5937715a
Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz, ccarlen
2000-08-29 23:44:53 +00:00
racham%netscape.com
2e07457d80
Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz,ccarlen
2000-08-29 23:44:48 +00:00
pete%alphanumerica.com
ec741b9cb3
Ah! found one more undeclared variable.
...
r=dougt
--pete
2000-08-29 20:05:19 +00:00
pete%alphanumerica.com
1008dafcdb
fixing a bunch of member functions that were not returning values etc . .
...
that i found running in strict mode.
cleaned up some of the syntax to make Brendan happy.
r=dougt
--pete
2000-08-29 13:02:02 +00:00
jband%netscape.com
6ba416e575
changed comment to show why compiler warning will not be fixed
2000-08-29 08:55:28 +00:00
jband%netscape.com
4a40401f3c
fix bug 50445. r=shaver@mozilla.org a=brendan@mozilla.org. Thanks to Marcus G. Daniels <mgd@swarm.org> for uncovering this bug
2000-08-29 08:08:33 +00:00
brendan%mozilla.org
5387c4e16b
Add possibly-too-verbose NS_TraceMallocDumpAllocations and its JS window-level function, for leak and bloat analysis.
2000-08-29 01:52:13 +00:00
dbaron%fas.harvard.edu
75784d00bd
Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt
2000-08-28 23:23:32 +00:00
dougt%netscape.com
90b2424793
Fixing 49866. Could cause a crash on opt builds that did not set the env HOME. r=adamlock@netscape.com
2000-08-28 22:14:02 +00:00
pete%alphanumerica.com
40da71f89e
just an update to reflect the interCaps API style changes
...
I also caught a small error running in js strict mode.
r=dougt
--pete
2000-08-26 22:56:35 +00:00
jband%netscape.com
e5089691c4
finish fix to bug 49748. Remove redundant (and too early) call to XPTI_FreeInterfaceInfoManager. This was causing first run crashes after the primary fix to this bug. r=shaver@mozilla.org a=brendan@mozilla.org
2000-08-26 03:19:23 +00:00
mccabe%netscape.com
83a2aee03e
Fix to 49416.
...
Emit NS_NO_VTABLE in xpidl-generated interface files. NS_NO_VTABLE is defined in nsISupportsUtils.h, and on windows generates __declspec(novtable).
This saves us some code space, and may also be a runtime win.
Initial version of this fix courtesy Adam Lock <adamlock@netscape.com>.
r=jband
a=beard
NOTE this change will cause the world to recompile.
2000-08-25 09:58:35 +00:00
jst%netscape.com
42f438ff51
Fixing AIX and SunOS 5.7 bustage. r=scc&vidur
2000-08-24 22:17:25 +00:00
mkaply%us.ibm.com
e9cc7884ed
#50203
...
r=mkaply, a=brendan
Patch from pedemont - xptcstubs didn't handle one parameter correctly
2000-08-24 20:20:49 +00:00
mkaply%us.ibm.com
60706b55ac
OS/2 Tinderbox breakage
...
More XP_PC stuff
2000-08-24 13:58:21 +00:00
hyatt%netscape.com
985e328964
Fix bug in void array's assignment operator. r=scc
2000-08-24 09:26:58 +00:00
warren%netscape.com
10b3ee21a6
Bug 44352. Adding IsLowMemory predicate & implementation for Windows.
2000-08-24 08:35:13 +00:00
beard%netscape.com
20faf976ac
use QueryElementAt() to save space and time. r=jband
2000-08-24 04:08:07 +00:00
jdunn%netscape.com
7eb04ed28d
fixing hpux bustage
...
r=vidur@netscape.com
2000-08-23 23:57:00 +00:00
jst%netscape.com
1a18c182df
Attempting to fix AIX and OS2 bustage, code written by scc, r=jst
2000-08-23 23:36:58 +00:00
jst%netscape.com
5da5a8ecc8
Fix to ToUpperCase and ToLowerCase so that we actually hit all characters. r=scc
2000-08-23 19:23:15 +00:00
jst%netscape.com
9abec73fbe
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
bienvenu%netscape.com
61896d4c98
fix 48952 local file list of root windows directory broken r=dougt
2000-08-23 14:06:37 +00:00
racham%netscape.com
7e1c976d1e
Fixing bug 49699. Adding a windows directory as fall back to all those windows OS versions that return null for HOME. r=dougt
2000-08-23 01:24:30 +00:00
warren%netscape.com
15b00f8b9a
Removed reference to nsIBaseStream
2000-08-22 09:56:13 +00:00
jband%netscape.com
e0aa9a49db
fix bustage after nsIBaseStream removal
2000-08-22 09:28:52 +00:00
warren%netscape.com
905958c321
Removed nsIBaseStream, nsIBufferInputStream and nsIBufferOutputStream.idl.
2000-08-22 08:19:18 +00:00
jband%netscape.com
23fac07700
fix Mac bustage?
2000-08-22 07:53:24 +00:00
warren%netscape.com
7a1efd9573
Fixed comments which got swapped around.
2000-08-22 07:12:56 +00:00
warren%netscape.com
e05eef45e9
Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
2000-08-22 07:03:33 +00:00
jband%netscape.com
e38aadaa66
fixing Mac bustage?
2000-08-22 06:33:06 +00:00
jband%netscape.com
2a866e874c
added files: mozilla/xpcom/ds/nsStaticNameTable.cpp
2000-08-22 06:05:12 +00:00
dp%netscape.com
940d3b0e41
Fixing progid translation for registrations that dont have a progid.
2000-08-22 06:03:56 +00:00
jband%netscape.com
6c95754e2c
add nsStaticNameTable to the builds. Needed to fix bug 48855. r=harishd,attinasi
2000-08-22 05:59:06 +00:00
jband%netscape.com
4e732abd38
fix uninitialized member crash in secondary constructor of nsConsoleMessage
2000-08-22 05:54:25 +00:00
mccabe%netscape.com
f14eb49869
Fix to 43282, courtesy Mark Hammond <markh@activestate.com>
...
Common code between GetIIDForParam and GetInfoForParam, and reinforce a needed check against null.
r=jband
a=brendan
2000-08-22 01:19:22 +00:00
dougt%netscape.com
6e5dd7aa53
b=49593. r=bruce@cubik.org (Bruce Mitchener).
2000-08-21 22:51:10 +00:00
warren%netscape.com
d43828f23c
Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime).
2000-08-21 02:37:20 +00:00
warren%netscape.com
c82a2efd44
After a little more analysis, I think using 33 instead of 37 as the magic multiplier gives just as good a distribution, but is a little faster to compute.
2000-08-20 22:28:12 +00:00
warren%netscape.com
a94aa1aa52
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
2000-08-20 21:29:10 +00:00
waterson%netscape.com
179f993e8b
Fix nsCString::AppendWithConversion() to work.
2000-08-20 20:41:31 +00:00
scc%mozilla.org
794bf08cde
temporarily backing out the headers with the explicit change (we haven't finished platform specific code or commercial yet)
2000-08-20 07:40:30 +00:00
scc%mozilla.org
2fe691fa70
fixing code that relied on implicit string construction
2000-08-20 07:33:54 +00:00
scc%mozilla.org
7d2020e4f9
fixing code that relied on implicit string construction
2000-08-20 07:18:09 +00:00
scc%mozilla.org
ad963283c3
fixing code that relied on implicit string construction
2000-08-20 06:59:07 +00:00
scc%mozilla.org
aae8dfd4db
adding |AppendWithConverison(const PRUnichar*, PRInt32)|, the need for which was brought out by making constructors |explicit|
2000-08-19 19:34:00 +00:00
cls%seawood.org
e01272bbf7
Native irix compilers don't seem to know about |typename| either
2000-08-19 08:01:28 +00:00
warren%netscape.com
9d781138b0
Correct error code.
2000-08-18 20:54:28 +00:00
rayw%netscape.com
0540f62d4d
A fix to bug 43351.
...
A softer landing on a failed initialization. It checks for a null
before deallocating. This does not affect the success path.
This was a patch, and I reviewed it: (r=rayw)
2000-08-18 20:54:04 +00:00
rayw%netscape.com
8ddce2ac9b
Check return from PlatformInit, and return if it failed.
...
Bug 43347
This was a patch submitted, I have reviewed it (r=rayw)
it provides a softer landing when problems occur in the
initialization. There is no difference in behavior if
the initialization was successful.
2000-08-18 20:51:37 +00:00
pinkerton%netscape.com
b7e5078b6c
add a |do_AppendFromElement(PRUnichar)| to help speed up some things in wallet initialization (bug 44514) r/a=scc.
2000-08-18 04:48:29 +00:00
mccabe%netscape.com
f803b21326
Rectify // comment to /** comment
2000-08-18 01:09:29 +00:00
scc%mozilla.org
4e46a37d08
not part of the build; temporarily patching these files to use the old (what is currently in the tree) |GetReadableFragment| scheme, so that clients can start using this now both on the tip and on the DOMAPI... branch
2000-08-17 21:07:45 +00:00
dougt%netscape.com
6502c4d736
b=47143, r=valeski. Puts the real object release on the proper thread.
2000-08-17 05:02:37 +00:00
mkaply%us.ibm.com
6ddfa37f7e
OS/2 Tinderbox break
...
OK will someone WAKE UP and realize that we need XP_WIN defined in the build?
XP_PC does NOT mean XP_WIN.
WE NEED XP_WIN IN THE BUILD
SOMEONE TURN IT ON IN THE MAKEFILE!
2000-08-17 03:18:03 +00:00
mcafee%netscape.com
8de69e3e35
Fix build warning, trailing slash looks run-on comment to the egcs compiler.
2000-08-17 01:53:59 +00:00
jband%netscape.com
3e0ad5c4a1
fix bug 49137 by using PR_GetEnv rather than prefs to get these developer options r=mccabe
2000-08-17 01:20:02 +00:00
scc%mozilla.org
959c07dea2
not yet part of the build, this new class provides a more consistent and flexible answer to the need for functions like |AppendInt| and |AppendFloat|. It is a short readable string produced with printf.
2000-08-17 01:08:30 +00:00
dbaron%fas.harvard.edu
e8436117f7
Attempt to fix Sun/HP/AIX bustage. r=cls
2000-08-17 00:15:50 +00:00