169 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
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
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
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
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
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
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
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
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
beard%netscape.com
810f6cfdf2 Mac shared library migration.
git-svn-id: svn://10.0.0.236/trunk@15474 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:15:00 +00:00
mcafee%netscape.com
825e28958b Added mhanni@sprintmail.com's suggestion as a comment, pending someone finding out of this works
git-svn-id: svn://10.0.0.236/trunk@15313 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 20:02:26 +00:00
rickg%netscape.com
4102309f80 fixed bug #1203
git-svn-id: svn://10.0.0.236/trunk@15260 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 20:23:46 +00:00
rickg%netscape.com
69aa236de9 changed ToInteger() so that it returns an error properly
git-svn-id: svn://10.0.0.236/trunk@15226 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:38:21 +00:00
cyeh%netscape.com
79654fb86d Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00
rickg%netscape.com
fb379a12ba updated docs for nsString class usage
git-svn-id: svn://10.0.0.236/trunk@15052 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:11:09 +00:00
alecf%netscape.com
fab1d9d3bb nsTimerExpired should be a C function that returns a gint (i.e. a GtkFunction)
which returns 0 on success


git-svn-id: svn://10.0.0.236/trunk@14981 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 02:03:57 +00:00
kipp%netscape.com
84410733de Made nsString::Insert actually support the count=-1 default argument
git-svn-id: svn://10.0.0.236/trunk@14950 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:58:30 +00:00
pierre%netscape.com
f6b4569d23 fixed the 3 instances of Compare() to work with empty strings
git-svn-id: svn://10.0.0.236/trunk@14052 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:48:11 +00:00
pierre%netscape.com
7ee2406a60 return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0
git-svn-id: svn://10.0.0.236/trunk@14051 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:46:33 +00:00
cls%seawood.org
05a1c42505 Removed hardcoded 'gtk-config'
git-svn-id: svn://10.0.0.236/trunk@13992 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 16:16:37 +00:00
cls%seawood.org
dbfcbd98f5 Removed classic build Makefiles from configure.in
Changed --enable-fe to --enable-toolkit which takes a single argument.
Changed MOZ_FE to MOZ_TOOLKIT.
Removed USE_NGLAYOUT and USE_NGLAYOUT_GTK.
Removed FULL_STATIC_BUILD and --enable-min-shared.
Removed checks for gnome and qt.


git-svn-id: svn://10.0.0.236/trunk@13990 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 15:48:45 +00:00