Commit Graph

300 Commits

Author SHA1 Message Date
dougt%netscape.com
694908155a Fixes off by one error. 1999-03-31 05:04:28 +00:00
sspitzer%netscape.com
1797b45114 removed aErrorCode from the comment.
aErrorCode is no longer a parameter to Read()
1999-03-25 03:00:04 +00:00
bienvenu%netscape.com
46d901db87 fix problem with SetLeafName r+a=mcmullen 1999-03-22 19:15:30 +00:00
pavlov%pavlov.net
422db61565 add a cast to fix build problems on the ports tinderboxes. 1999-03-21 15:42:44 +00:00
dougt%netscape.com
8929a4a930 Fixing unix breakage. 1999-03-21 06:57:56 +00:00
dougt%netscape.com
aae2baf3ab Now adjusting the nsFileSpec after a Move().
Also fixing a bug with Rename().  Now it should successfully take
partial pathnames on Unix and Windows.
1999-03-21 06:22:45 +00:00
alecf%netscape.com
5ad7970d08 oops, back out my old patch - caused more harm than good 1999-03-20 02:41:27 +00:00
alecf%netscape.com
8f120bbb86 fix newline and end of file problem 1999-03-20 02:34:54 +00:00
alecf%netscape.com
c9eb80041f there is no header file on unix that actually includes this path. wierd. 1999-03-20 02:34:31 +00:00
mcmullen%netscape.com
1e294da835 FIxing another unix problem. 1999-03-20 01:13:35 +00:00
mcmullen%netscape.com
7e8e0f5edf Fix unix bustage. 1999-03-20 00:13:08 +00:00
mcmullen%netscape.com
fb1366b389 Bugs #3997, 3934 1999-03-19 23:09:39 +00:00
mcafee%netscape.com
a162c08245 Solaris needs prototype for PR_GetEnv(). 1999-03-18 22:41:24 +00:00
mcafee%netscape.com
45222c3ee8 Switch to PR_GetEnv(), warn once if MOZILLA_FIVE_HOME is not set. 1999-03-18 22:38:25 +00:00
mcmullen%netscape.com
40c246f552 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
e4f00591a3 Fix a parameter type. 1999-03-13 07:07:33 +00:00
mcmullen%netscape.com
6fcc5b6293 Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
mcmullen%netscape.com
981da23e83 Fixed crashing bug on solaris. Added support for mac documents directory. 1999-03-12 22:15:02 +00:00
mcmullen%netscape.com
c9be804cc0 Added mac documents directory. 1999-03-12 22:14:08 +00:00
dp%netscape.com
72ea641bee Unix: Adding MOZILLA_FIVE_HOME 1999-03-11 21:31:16 +00:00
mcmullen%netscape.com
80f1f01149 Fixed bustage with typo. 1999-03-10 21:41:43 +00:00
mcmullen%netscape.com
0e3fcaece6 Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null. 1999-03-10 21:02:58 +00:00
mcmullen%netscape.com
21ca81038c Added output streamers for int and unsigned int. 1999-03-10 20:56:38 +00:00
dougt%netscape.com
3d1e8b68ac 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
mcafee%netscape.com
2fffe8836f Solaris needs newline at EOF. 1999-03-10 10:57:05 +00:00
waterson%netscape.com
0bf57d8673 Change PATH_MAX to MAXPATHLEN to compile on Solaris. 1999-03-10 07:21:09 +00:00
waterson%netscape.com
1eaee30e85 Added OS_CurrentProcessDirectory implementation. Thanks to RJC for Mac. Unix is still bogus: uses getcwd(). 1999-03-10 06:07:21 +00:00
mcmullen%netscape.com
a8038ec488 Change assignment operator not to create dirs. 1999-03-10 02:50:16 +00:00
mcmullen%netscape.com
734ffedf47 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
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
brendan%netscape.com
ec67fd947d Must use defined XP_UNIX, not XP_UNIX, as #elif condition. 1999-03-09 02:46:23 +00:00
mcmullen%netscape.com
9001472b4c Fix a unix warning 1999-03-05 23:00:57 +00:00
mcmullen%netscape.com
9798175c73 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
ramiro%netscape.com
dac043b760 Filename was misspelled. Broke unix. Blessed by cyeh. 1999-03-05 21:29:26 +00:00
mcmullen%netscape.com
da9bbfc238 First Checked In. 1999-03-05 20:55:10 +00:00
dougt%netscape.com
060b968818 adding nsSpecialSystemDirectory.cpp to windows makefile.
Fixed MakeAllDirectory bug in nsFileSpec.cpp
1999-03-05 20:20:22 +00:00
dougt%netscape.com
a435f91e27 Initial Checkin 1999-03-05 20:17:47 +00:00
mcafee%netscape.com
6374afae38 Uninitialized variables 1999-03-05 04:20:54 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
alecf%netscape.com
cb61663ab3 fix HPUX bustage - confused by too many similar constructors 1999-03-02 19:23:06 +00:00
alecf%netscape.com
88fe8762de fix linux -pedantic build - compiler confused by too much casting 1999-03-02 01:41:45 +00:00
mcmullen%netscape.com
27844bd641 Fix Windows build errors 1999-02-28 02:51:53 +00:00
mcmullen%netscape.com
290b78c91a Fix unix build errors 1999-02-28 02:17:55 +00:00
mcmullen%netscape.com
bb050ec460 Fix const problem. 1999-02-28 01:55:23 +00:00
mcmullen%netscape.com
f672d26a46 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
mcafee%netscape.com
a51a1d23cc Switching false/true over to PR_FALSE/PR_TRUE 1999-02-26 19:47:48 +00:00
mcafee%netscape.com
3d6f3bbe9f Switching one last bool to PRBool. a=mcmullen 1999-02-26 19:22:43 +00:00
alecf%netscape.com
51d9e33467 fix -pedantic bustage - Delete isn't const, so re-cast "this" 1999-02-26 17:56:44 +00:00
dougt%netscape.com
ec7d3e520a Remove #ifdef DEBUG 1999-02-26 00:14:57 +00:00
dougt%netscape.com
d66208f9ae Another fix to the build bustage. 1999-02-25 22:17:25 +00:00
dougt%netscape.com
52eff30465 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
dougt%netscape.com
9aef7730c4 Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See dougt@netscape.com or
John McMullen for futher information.
1999-02-25 20:49:47 +00:00
mscott%netscape.com
04019f6070 Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen... 1999-02-23 03:10:29 +00:00
brade%netscape.com
b553b3670f add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
mcmullen%netscape.com
0064c92613 Backing out previous change from the trunk, because it was supposed to have gone in on a branch. 1999-02-18 00:45:07 +00:00
mcmullen%netscape.com
36703ad10e Updated to match the header changes I've been making. Also, added the declaration of the persistent filespec class. 1999-02-18 00:35:39 +00:00
warren%netscape.com
78c67590e0 Added missing definition of nsFilePath::nsFilePath(const nsFilePath&) 1999-02-17 18:20:27 +00:00
beard%netscape.com
3758bddef4 Fixed += operator, which would only work if you had a file or folder called "G'day" in the input directory. 1999-02-12 00:48:35 +00:00
mcmullen%netscape.com
83b7cdb328 Improved the readline() comment, as it was not quite clear. 1999-02-04 19:25:59 +00:00
cata%netscape.com
c277c4a8e9 Hacky Unicode converters implementation replaced with the real xpcom thing. 1999-02-03 18:55:10 +00:00
mscott%netscape.com
742d43db9c Use NS_BASE when defining the nsEscape functions. 1999-01-28 00:32:34 +00:00
mscott%netscape.com
cee8b969b7 use NS_BASE when declaring the nsEscape functions so they get exported. 1999-01-28 00:30:57 +00:00
waterson%netscape.com
2b77c74973 Got Win32-specific stuff up and running. This caused a bit of code-juggling in the Unix and Mac implementations. a=mcmullen. 1999-01-26 23:49:33 +00:00
ftang%netscape.com
3759b987f5 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
donm%netscape.com
fbc3fa0929 fixing includes for solaris. -donm 1999-01-07 21:03:42 +00:00
mcmullen%netscape.com
3a010aa9ec Fix unused parameter warning. 1999-01-07 02:11:24 +00:00
kipp%netscape.com
51674f84ac Make it compile on windows 1999-01-07 01:46:22 +00:00
mcmullen%netscape.com
c8b50d42a1 Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely. 1999-01-06 23:38:21 +00:00
mcmullen%netscape.com
4d29219473 Simplify the console case, so that Windows does not think it has to compile with exception handling. 1998-12-29 00:24:32 +00:00
mcmullen%netscape.com
6d0e6f09d0 Allow partial paths. 1998-12-24 00:01:32 +00:00
law%netscape.com
a7d859328e Add nsFile* to Windows build 1998-12-22 20:01:41 +00:00
mcmullen%netscape.com
d1599a66e6 Added an NS_BASE for windows. 1998-12-18 23:30:44 +00:00
mcmullen%netscape.com
7a7045d044 Rewrote the stream stuff to be simple, since Unix build environment cannot even handle ostream and istream. This builds and runs correctly on Linux and Macintosh now. 1998-12-18 23:06:54 +00:00
mcmullen%netscape.com
4b6f7b6aa9 First Checked In. 1998-12-18 22:38:28 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
mcmullen%netscape.com
c3df6e83ac Made all this build on Unix, using Macros up the wazoo 1998-12-15 22:45:09 +00:00
mcmullen%netscape.com
da55cc69e0 Deal with the case of a null string. 1998-12-12 02:07:11 +00:00
law%netscape.com
6ea423fbaa Minor fix in operator= 1998-12-12 01:28:28 +00:00
law%netscape.com
72b3ae3e68 Add NS_BASE to cause export from dll on Windows 1998-12-12 01:25:32 +00:00
mcmullen%netscape.com
237f90f8df More windows stuff. 1998-12-11 23:52:31 +00:00
mcmullen%netscape.com
c35cd6f254 More windows tweaks 1998-12-11 23:05:24 +00:00
mcmullen%netscape.com
e24443adb9 And again. 1998-12-11 18:17:22 +00:00
mcmullen%netscape.com
5ed1d35068 More tweaks. 1998-12-11 03:17:47 +00:00
mcmullen%netscape.com
0b5d962ae9 Some more tweaks to suit various compilers and platforms. 1998-12-11 01:42:04 +00:00
mcmullen%netscape.com
2d4c67ae2c Trying to make this build on unix gcc compilers, I have removed all references to std::string, using char* instead. This almost made me cry (not just because of all the work I had to do over again). 1998-12-09 08:47:30 +00:00
mcmullen%netscape.com
64ac3c15be Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh. 1998-12-09 05:09:28 +00:00
pinkerton%netscape.com
c415f8beaf fix for new universal headers. Don't use PLstringfuncs and add an inline helper to the helper namespace which does the same things. 1998-12-09 01:56:36 +00:00
law%netscape.com
e89799a864 Added Windoze support 1998-12-09 01:04:53 +00:00
mcmullen%netscape.com
0fe2983dc3 Polished the interfaces, added long comments in the headers. The next step is checking by Bill Law and Steve Lamm for Win and Unix. Then it's open season. 1998-12-08 22:45:42 +00:00
mcmullen%netscape.com
4e091b7bcf First Checked In. 1998-12-08 22:43:57 +00:00
mcmullen%netscape.com
4e1f4f4572 First Checked In. 1998-12-08 02:22:54 +00:00
mcmullen%netscape.com
0fd0d405c3 First Checked In. 1998-12-08 02:15:50 +00:00
michaelp%netscape.com
837d1a9ae0 added APIs to viewmanager to enable and disable all rendering.
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
michaelp%netscape.com
cde556f1a4 modified streaming APIs to be what the OJI guys want. 1998-07-23 20:34:01 +00:00
kipp
528d80ff81 Init refcnt properly 1998-05-28 18:38:32 +00:00
thom
a2729a12bc Mac checkin 1998-05-18 22:47:24 +00:00
rpotts
5d23d41cdf Changed to use the nsIBaseStream as a base class... 1998-05-15 09:40:43 +00:00
rpotts
491d63949d Interface for Output Streams... 1998-05-15 09:40:02 +00:00
rpotts
228e94c619 New interface that all stream interfaces can derive from... 1998-05-15 09:39:37 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00