mcmullen%netscape.com
5d582ac9c0
Change assignment operator not to create dirs.
...
git-svn-id: svn://10.0.0.236/trunk@23466 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:50:16 +00:00
mcmullen%netscape.com
2b21b06cb7
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.
...
git-svn-id: svn://10.0.0.236/trunk@23385 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:33:36 +00:00
dougt%netscape.com
96bdde7c31
adding nsSpecialSystemDirectory.cpp to windows makefile.
...
Fixed MakeAllDirectory bug in nsFileSpec.cpp
git-svn-id: svn://10.0.0.236/trunk@22921 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:20:22 +00:00
alecf%netscape.com
2a1e455f1f
fix linux -pedantic build - compiler confused by too much casting
...
git-svn-id: svn://10.0.0.236/trunk@22499 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:41:45 +00:00
mcmullen%netscape.com
9436817838
Fix Windows build errors
...
git-svn-id: svn://10.0.0.236/trunk@22387 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 02:51:53 +00:00
mcmullen%netscape.com
0a2a335945
Fix unix build errors
...
git-svn-id: svn://10.0.0.236/trunk@22386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 02:17:55 +00:00
mcmullen%netscape.com
9e4dad31a3
Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge.
...
git-svn-id: svn://10.0.0.236/trunk@22383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:36:48 +00:00
dougt%netscape.com
5c3d475c6d
Remove #ifdef DEBUG
...
git-svn-id: svn://10.0.0.236/trunk@21990 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:14:57 +00:00
dougt%netscape.com
f3f6d856e0
Another fix to the build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@21980 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:17:25 +00:00
dougt%netscape.com
a28665a754
This should make the tree go green. It, however, makes nsPersistentFileDescriptor broken if you pass an fsspec.
...
git-svn-id: svn://10.0.0.236/trunk@21979 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:04:50 +00:00
dougt%netscape.com
451b4db4af
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.
git-svn-id: svn://10.0.0.236/trunk@21977 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:49:47 +00:00
mscott%netscape.com
d86e09b16b
Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen...
...
git-svn-id: svn://10.0.0.236/trunk@21556 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:10:29 +00:00
warren%netscape.com
84d3803b00
Added missing definition of nsFilePath::nsFilePath(const nsFilePath&)
...
git-svn-id: svn://10.0.0.236/trunk@20988 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:20:27 +00:00
waterson%netscape.com
c3e5920240
Got Win32-specific stuff up and running. This caused a bit of code-juggling in the Unix and Mac implementations. a=mcmullen.
...
git-svn-id: svn://10.0.0.236/trunk@18654 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:49:33 +00:00
mcmullen%netscape.com
67a2f24b86
Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely.
...
git-svn-id: svn://10.0.0.236/trunk@17274 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 23:38:21 +00:00
mcmullen%netscape.com
4bbbe1f26f
Simplify the console case, so that Windows does not think it has to compile with exception handling.
...
git-svn-id: svn://10.0.0.236/trunk@16914 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 00:24:32 +00:00
law%netscape.com
d7dd1472e3
Add nsFile* to Windows build
...
git-svn-id: svn://10.0.0.236/trunk@16816 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 20:01:41 +00:00
mcmullen%netscape.com
a4ac66b40a
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.
...
git-svn-id: svn://10.0.0.236/trunk@16688 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:06:54 +00:00
mcmullen%netscape.com
ab3213f20d
Made all this build on Unix, using Macros up the wazoo
...
git-svn-id: svn://10.0.0.236/trunk@16466 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:45:09 +00:00
mcmullen%netscape.com
30f968dd50
Deal with the case of a null string.
...
git-svn-id: svn://10.0.0.236/trunk@16293 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:07:11 +00:00
mcmullen%netscape.com
e0be47d98f
More tweaks.
...
git-svn-id: svn://10.0.0.236/trunk@16224 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:17:47 +00:00
mcmullen%netscape.com
f057f1160a
Some more tweaks to suit various compilers and platforms.
...
git-svn-id: svn://10.0.0.236/trunk@16198 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:42:04 +00:00
mcmullen%netscape.com
5585c8bf96
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).
...
git-svn-id: svn://10.0.0.236/trunk@16039 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 08:47:30 +00:00
mcmullen%netscape.com
0588941742
Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh.
...
git-svn-id: svn://10.0.0.236/trunk@16031 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:09:28 +00:00
law%netscape.com
f434dd9914
Added Windoze support
...
git-svn-id: svn://10.0.0.236/trunk@16013 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:04:53 +00:00
mcmullen%netscape.com
cf8dafefa3
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.
git-svn-id: svn://10.0.0.236/trunk@16002 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:45:42 +00:00
mcmullen%netscape.com
7612b35bc7
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@15954 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:22:54 +00:00