202 Commits

Author SHA1 Message Date
rickg%netscape.com
f8fb00ca59 fixed bug in Compare() and error in ToInteger()
git-svn-id: svn://10.0.0.236/trunk@17465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 08:17:40 +00:00
mcmullen%netscape.com
b24197fa96 Fix for bug #2164. Balanced the NS_ADDREF and NS_RELEASE, which takes some doing, because it gets released in a module that did not add the reference (during Stop(), when all timers are released). This is bad design, methinks.
git-svn-id: svn://10.0.0.236/trunk@17446 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 02:47:34 +00:00
rickg%netscape.com
a8382eb7c5 modest improvements to string and deque
git-svn-id: svn://10.0.0.236/trunk@17434 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:09:39 +00:00
waterson%netscape.com
05147c382f Made the aCopy parameter to nsString::Insert const to clear up some compiler warnings. a=rickg.
git-svn-id: svn://10.0.0.236/trunk@17329 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 22:19:57 +00:00
donm%netscape.com
cc8882b870 fixing includes for solaris. -donm
git-svn-id: svn://10.0.0.236/trunk@17324 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 21:03:42 +00:00
mcmullen%netscape.com
4272dc5b57 Fix unused parameter warning.
git-svn-id: svn://10.0.0.236/trunk@17290 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 02:11:24 +00:00
kipp%netscape.com
3457e843ef Make it compile on windows
git-svn-id: svn://10.0.0.236/trunk@17288 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:46:22 +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
rpotts%netscape.com
9a987c1346 Added an entry for the application shell...
git-svn-id: svn://10.0.0.236/trunk@16968 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 23:59:23 +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
mcmullen%netscape.com
d2ec0bdc12 Allow partial paths.
git-svn-id: svn://10.0.0.236/trunk@16860 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 00:01:32 +00:00
law%netscape.com
de264087db Add nsFile* to Windows build
git-svn-id: svn://10.0.0.236/trunk@16817 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 20:06:56 +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
troy%netscape.com
cf13a281b8 Added comment to strdup() noting that t he caller must use delete[]
to free the memory


git-svn-id: svn://10.0.0.236/trunk@16814 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 19:01:14 +00:00
mcmullen%netscape.com
33b627e518 Added an NS_BASE for windows.
git-svn-id: svn://10.0.0.236/trunk@16693 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:30:44 +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
4f05dc99af First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16686 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:38:28 +00:00
blizzard%appliedtheory.com
c30a7ff7e5 Saner nsTimer implementation for gtk. This probably still isn't right
but it works a lot better.  Also, work around getting really strange
timeouts and print an error when you get one.


git-svn-id: svn://10.0.0.236/trunk@16633 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 02:55:20 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +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
shaver%netscape.com
9e90a70671 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]


git-svn-id: svn://10.0.0.236/trunk@16441 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:32:37 +00:00
sfraser%netscape.com
5c2a49946c Add nsFileSpec.h and nsFileStream.h
git-svn-id: svn://10.0.0.236/trunk@16401 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:08:57 +00:00
beard%netscape.com
a4edceb665 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16326 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:01:04 +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
law%netscape.com
54ddc73d23 Minor fix in operator=
git-svn-id: svn://10.0.0.236/trunk@16289 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:28:28 +00:00
law%netscape.com
06a4324063 Add NS_BASE to cause export from dll on Windows
git-svn-id: svn://10.0.0.236/trunk@16287 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:25:32 +00:00
mcmullen%netscape.com
9858d9f31a More windows stuff.
git-svn-id: svn://10.0.0.236/trunk@16285 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:52:31 +00:00
mcmullen%netscape.com
d634634ab5 More windows tweaks
git-svn-id: svn://10.0.0.236/trunk@16277 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:05:24 +00:00
waterson%netscape.com
5ee212993e Got rid of NS_DYNAMIC_CAST() macro at scc's prodding.
git-svn-id: svn://10.0.0.236/trunk@16272 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 21:39:18 +00:00
mcmullen%netscape.com
ddd96eff8f And again.
git-svn-id: svn://10.0.0.236/trunk@16263 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:17:22 +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
kin%netscape.com
d52fc03869 Fixed off by 1 error that occurs in PopBack() when
(mOrigin + mSize) >= mCapacity.


git-svn-id: svn://10.0.0.236/trunk@16060 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:07:20 +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
pinkerton%netscape.com
0012f434c9 Remove PLStringFuncs.o for new universal headers.
git-svn-id: svn://10.0.0.236/trunk@16019 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:56:57 +00:00
pinkerton%netscape.com
9606099d46 fix for new universal headers. Don't use PLstringfuncs and add an inline helper to the helper namespace which does the same things.
git-svn-id: svn://10.0.0.236/trunk@16018 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:56:36 +00:00
sfraser%netscape.com
53224b3fc9 Fix part of build bustage. (Strange, this built fine with my tools).
git-svn-id: svn://10.0.0.236/trunk@16017 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:30:42 +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
sfraser%netscape.com
58f98a359a Fix the timer compare function (need an extra dereference).
git-svn-id: svn://10.0.0.236/trunk@16011 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 00:08:41 +00:00
sfraser%netscape.com
ced13cc404 Remove access path to the root of the mozilla tree, which caused this thing to take forever to load in the IDE.
git-svn-id: svn://10.0.0.236/trunk@16010 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:58:23 +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
a1b4ed0f62 Added nsFileStream.cpp to this project.
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@16001 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:45:38 +00:00
mcmullen%netscape.com
963a718dd7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15999 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:43:57 +00:00
mcmullen%netscape.com
62ce39a5db Added nsFileSpec.cpp to this project (you also get nsFileStream, but this is all done with templates in a header - this may need to be revisited).
This is the first real checkin of nsFileSpec.*, and the first ever checkin of nsFileStream.h.  This provides typesafe file specifications, interconversions, and full Standard Library support for iostreams, based on these specifications.

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@15955 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:24:19 +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
mcmullen%netscape.com
ce9cf0d08e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15952 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:15:50 +00:00
akkana%netscape.com
d64cbe00fc Waterson's definitions to fix Irix build.
git-svn-id: svn://10.0.0.236/trunk@15804 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:36:56 +00:00
waterson%netscape.com
b909a19ffb Added macros for fancy C++ casts.
git-svn-id: svn://10.0.0.236/trunk@15752 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:13:21 +00:00
jfrancis%netscape.com
825ac7ea0e The first step to good mental health is to realize that you have a build problem.
redo'ing NSRuntime.shlb includes to use debug in debug target, opt in opt target.


git-svn-id: svn://10.0.0.236/trunk@15486 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:22:13 +00:00