dmose@mozilla.org
20621227af
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
sfraser@netscape.com
98f4ac7894
Fix for bugs 15795 and 16090 -- fix startup crash which was due to an uninitialized nsFileSpec trashing the stack. Also no longer set mError on CreateDirectory if the dir already exists, prevent += "foo" when mError is set, and add assertions XP to catch calls with NULL strings.
reviewed by dougt and (in part) sspitzer. a=leaf.
1999-10-11 21:19:06 +00:00
kipp@netscape.com
ea36a75c90
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
mccabe@netscape.com
bf4d6b0d16
Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
...
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage. Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes. (This could mean blackwood; sorry, guys!)
Many thanks to Alec Flett (alecf@netscape.com ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu ) and Mike Shaver (shaver@mozilla.org ) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.
Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
cls@seawood.org
76cfdf5e4f
Reverting changes accidentally checked in
1999-09-15 05:28:31 +00:00
cls@seawood.org
24501f955c
Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h>
1999-09-13 05:09:53 +00:00
bruce@cybersight.com
a8a2246a34
Use nsCRT::free() on result of nsEscape() instead of delete[].
1999-09-04 17:10:10 +00:00
shaver@netscape.com
aada0d9fec
add IsChildOf, and dougt's relative-path-handling diff
1999-09-03 23:44:59 +00:00
bruce@cybersight.com
61a0fa8082
Fix build bustage. Thanks waterson! Sorry about that.
1999-08-30 01:06:54 +00:00
bruce@cybersight.com
61b96bceae
Fix warning from my last checkin.
1999-08-30 00:51:56 +00:00
bruce@cybersight.com
51659c863b
Change deallocation for nsAutoCString to use nsAllocator. This removes several thousand FMM errors in Purify.
1999-08-30 00:32:27 +00:00
shaver@netscape.com
19080d3323
make sure that /path/to/dir and /path/to/dir/ are treated as equal
1999-08-29 22:05:11 +00:00
dp@netscape.com
9bf31902fd
Fixed
...
- Mismatched alloc/free
- Guarded against null pointer and crash bug#8830
1999-07-09 03:41:27 +00:00
mcafee@netscape.com
dee7b650e6
BeOS changes
1999-06-29 10:27:58 +00:00
mcmullen@netscape.com
7f06a8f3f8
Fix to #6398 using patch provided by jim_nance@yahoo.com (who does, apparently, yahoo).
1999-06-03 01:40:47 +00:00
dp@netscape.com
6dc8a899c6
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
mcmullen@netscape.com
1fe68138eb
Fix badness when nsFilePath is initialized with a nil or empty string.
1999-05-12 22:56:24 +00:00
mcmullen@netscape.com
6505603ecd
Fix nsFileSpec to take native paths in constructors and assignment operators. Fix += to work with relative paths on Macintosh. Remove dependency of nsFileSpec on streams (so that dp can move nsFileSpec).
1999-05-08 01:18:23 +00:00
mcmullen@netscape.com
2de549dacd
So much for that last touchup between building and committing...
1999-05-04 19:39:15 +00:00
mcmullen@netscape.com
964986cb14
Fix double-escaping problem ( #4184 )
1999-05-04 19:11:31 +00:00
mcmullen@netscape.com
dac1037c11
Leakage and mismatch of allocate/free methods (patches submitted by Bruce Mitchener). Bug #5140 .
1999-04-26 19:05:00 +00:00
mcmullen@netscape.com
510295bcfe
Bug #4184 . Before unescaping a path, call ReAllocData.
1999-04-23 21:32:57 +00:00
mcmullen@netscape.com
968237111c
Corrected spelling in some comments.
1999-04-23 20:27:38 +00:00
dougt@netscape.com
c04c7c7797
Fixes Bug 5300 http://bugzilla.mozilla.org/show_bug.cgi?id=5300
1999-04-23 06:32:40 +00:00
mcmullen@netscape.com
d9544d4571
Correct a problem my last change to GetParent() introduced.
1999-04-20 19:09:22 +00:00
dougt@netscape.com
3666c67518
Now using PL_* functions in nsprPath()
...
ifdef'ing the deallocation of nsprPath()
1999-04-15 19:39:23 +00:00
mcmullen@netscape.com
6de6c67a36
Fix backwards failure logic
1999-04-15 01:06:03 +00:00
bruce@cybersight.com
72121b4509
Adding blank lines for native compilers.
1999-04-13 06:35:42 +00:00
dougt@netscape.com
655c732d4b
Adding nsprPath class.
...
Removing existing check when creating subdirectories.
1999-04-10 00:29:20 +00:00
rickg@netscape.com
34644a0082
API cleanup for nsString
1999-04-05 08:06:54 +00:00
mcmullen@netscape.com
db9a56a903
Just added a divider comment.
1999-04-01 20:07:52 +00:00
dougt@netscape.com
d589663e6c
Fixes off by one error.
1999-03-31 05:04:28 +00:00
bienvenu@netscape.com
2fd54b6731
fix problem with SetLeafName r+a=mcmullen
1999-03-22 19:15:30 +00:00
mcmullen@netscape.com
500c6ec7cc
FIxing another unix problem.
1999-03-20 01:13:35 +00:00
mcmullen@netscape.com
a9b9bd1efc
Bugs #3997 , 3934
1999-03-19 23:09:39 +00:00
mcmullen@netscape.com
429826e6ea
Fixes for bugs #3779,#2784. Member initialization of nsFileURL for windows compiler, escaping of url when made from path or spec, add file:// on macintosh when making a url from a spec. [bugs introduced when, for dp, I changed nsFilePath not to escape]. a=chofmann.
1999-03-16 19:12:51 +00:00
mcmullen@netscape.com
a925bce5fd
Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable)
1999-03-13 06:38:57 +00:00
mcmullen@netscape.com
b0d4870de3
Fixed bustage with typo.
1999-03-10 21:41:43 +00:00
mcmullen@netscape.com
615081d918
Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null.
1999-03-10 21:02:58 +00:00
dougt@netscape.com
15eda68abd
No longer shifting windows nsFileSpec's mPath to uppercase.
...
Now comparing without regard to case instead on windows.
Windows nsSpecialSystemDirectory will have all uppercase mPaths.
1999-03-10 20:07:10 +00:00
mcmullen@netscape.com
62b5d2fb88
Change assignment operator not to create dirs.
1999-03-10 02:50:16 +00:00
mcmullen@netscape.com
c60671e622
Turning on dougt's special system directory stuff, and adding it to the Macintosh build. Fixed spurious leading slash on getting leaf name (win and unix). Adding dougt's equality test operator, too. Adding dougt's test code for all the above.
1999-03-09 22:33:36 +00:00
dougt@netscape.com
aee00cb58a
adding nsSpecialSystemDirectory.cpp to windows makefile.
...
Fixed MakeAllDirectory bug in nsFileSpec.cpp
1999-03-05 20:20:22 +00:00
alecf@netscape.com
7ae10c14e9
fix linux -pedantic build - compiler confused by too much casting
1999-03-02 01:41:45 +00:00
mcmullen@netscape.com
39cd8ae9c9
Fix Windows build errors
1999-02-28 02:51:53 +00:00
mcmullen@netscape.com
9084fa1f7e
Fix unix build errors
1999-02-28 02:17:55 +00:00
mcmullen@netscape.com
ca0a6d1c26
Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge.
1999-02-28 01:36:48 +00:00
dougt@netscape.com
3f4575a925
Remove #ifdef DEBUG
1999-02-26 00:14:57 +00:00
dougt@netscape.com
0cffe36222
Another fix to the build bustage.
1999-02-25 22:17:25 +00:00
dougt@netscape.com
c9fae6f8fc
This should make the tree go green. It, however, makes nsPersistentFileDescriptor broken if you pass an fsspec.
1999-02-25 22:04:50 +00:00