Commit Graph

375 Commits

Author SHA1 Message Date
mcafee%netscape.com
726434e734 ignore genereated files 1999-02-08 08:26:34 +00:00
mcafee%netscape.com
e47385817a Wrap tests in ENABLE_TESTS ifdef 1999-02-07 11:58:29 +00:00
mcafee%netscape.com
c2d42f503e Adding tests to Solaris build 1999-02-07 10:03:03 +00:00
mcafee%netscape.com
281c7df631 Sigh, Solaris not building 1999-02-07 02:13:25 +00:00
mcafee%netscape.com
85e322e80a Adding tests to build to match Win32 1999-02-07 00:20:29 +00:00
warren%netscape.com
6fcd218d65 Added assertion 1999-02-06 04:22:43 +00:00
warren%netscape.com
d96cead9f1 Added strtok implementation. 1999-02-06 04:18:15 +00:00
warren%netscape.com
b6857edec3 Fixed unsigned problems. 1999-02-06 03:56:36 +00:00
warren%netscape.com
6649625711 Added strncmp, made lengths be unsigned. 1999-02-06 03:56:17 +00:00
erik%netscape.com
005df957ba Moved nsPropertiesFactory constructor from .h to .cpp file 1999-02-05 21:06:07 +00:00
dp%netscape.com
869e988f68 Fixing mRefCnt not being initialized for nsPropertiesFactory 1999-02-05 06:05:51 +00:00
waterson%netscape.com
fc32751b45 Fixed comments that were referring to monitors. 1999-02-04 23:20:30 +00:00
mcmullen%netscape.com
83b7cdb328 Improved the readline() comment, as it was not quite clear. 1999-02-04 19:25:59 +00:00
waterson%netscape.com
edd0682f7b Added TestAutoLock.cpp 1999-02-04 00:48:09 +00:00
waterson%netscape.com
1951b61a28 Added TestAutoLock. 1999-02-04 00:44:17 +00:00
waterson%netscape.com
13e2463b73 Initial revision. 1999-02-04 00:40:22 +00:00
waterson%netscape.com
791d6357f5 Added headers that nsAutoLock needs. 1999-02-04 00:39:49 +00:00
waterson%netscape.com
bf217ad0ab Added operator new() and operator delete() to ensure that nobody tries to create one of these beasts on the free store. 1999-02-04 00:25:56 +00:00
waterson%netscape.com
48dd995402 Added nsAutoLock.h to the exports. 1999-02-03 22:44:30 +00:00
waterson%netscape.com
9b6f064b72 Initial revision. 1999-02-03 22:44:14 +00:00
cata%netscape.com
c277c4a8e9 Hacky Unicode converters implementation replaced with the real xpcom thing. 1999-02-03 18:55:10 +00:00
cata%netscape.com
3966fece84 Added dependency on Unicode Converters. 1999-02-03 18:52:21 +00:00
erik%netscape.com
c9501a7942 Added PropertiesTest.cpp to Unix build. 1999-02-03 18:13:30 +00:00
erik%netscape.com
cbda97bb78 Added nsBaseDLL.cpp and nsProperties.cpp to Unix build. 1999-02-03 18:12:59 +00:00
erik%netscape.com
5932523f5b Added nsIProperties.h to Unix build. 1999-02-03 18:12:24 +00:00
erik%netscape.com
e8de824d89 Fixed compiler warning on Linux. 1999-02-03 18:11:45 +00:00
ftang%netscape.com
8489e73f9b calling nsSetupRegistry for mac. Need to try UNIX and Window before turn out the #ifdef XP_MAC 1999-02-03 01:50:15 +00:00
ftang%netscape.com
bdfecfd06a add project file for it. 1999-02-03 01:46:10 +00:00
ftang%netscape.com
5fa02ba119 add nsProperties.cpp and nsBaseDLL.cpp 1999-02-03 01:42:53 +00:00
mcafee%netscape.com
72e9ea6997 Ignore genereated Makefile 1999-02-02 06:13:16 +00:00
mcafee%netscape.com
ca3e9a2100 Dependency problem, pulling tests out to fix breakage 1999-02-02 03:59:34 +00:00
mcafee%netscape.com
329c5d08d2 Adding License 1999-02-02 03:16:52 +00:00
mcafee%netscape.com
2acf05a283 TestAtoms, TestCRT, CvtURL now build on Linux, removing unused REQUIRES line 1999-02-02 03:16:07 +00:00
peterl%netscape.com
cda3bca867 Added operator=(nsAutoString) for autostring 1999-01-30 06:19:52 +00:00
ftang%netscape.com
74a2e828e1 add file 1999-01-29 18:26:09 +00:00
ftang%netscape.com
0a603e202f First Checked In. 1999-01-29 18:24:54 +00:00
ftang%netscape.com
06132c62e3 limit ToUCS2 only have effect in U+0080 to U+009F range so it won't mess up non Latin 1 characters 1999-01-29 18:08:36 +00:00
sfraser%netscape.com
64bc478f66 Reverting my previous change, to export all globals again. Exporting by #pragma exposes a compiler bug in the Pro 4 compilers that causes nsString not to be exported. When we upgrade the tools, this project should again export by #pragama. 1999-01-29 06:32:45 +00:00
sfraser%netscape.com
03096307aa Changed to export by #pragma, instead of exporting all globals. This required adding prefix files to #define _IMPL_NS_BASE 1999-01-29 02:21:55 +00:00
sfraser%netscape.com
0916232e43 Export the repeater class with NS_BASE 1999-01-29 02:21:13 +00:00
sfraser%netscape.com
bf8abf0e0c First Checked In. 1999-01-29 02:20:48 +00:00
pinkerton%netscape.com
439ada5c40 add IID for use with nsCOMPtr. 1999-01-28 17:59:37 +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
b36a9f872b Build nsEscape 1999-01-28 00:31:58 +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
mscott%netscape.com
118d8d114a Export nsEscape.h 1999-01-28 00:30:12 +00:00
jfrancis%netscape.com
b4fd822224 rewriting timer code yet again - made it an intrusive list. 1999-01-28 00:21:16 +00:00
slamm%netscape.com
b78d7ef52a Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. 1999-01-27 19:51:59 +00:00
erik%netscape.com
78e4b669e2 added PropertiesTest for new Java property file-like class 1999-01-27 18:42:28 +00:00
erik%netscape.com
516a0105ce added nsProperties.cpp and nsBaseDLL.cpp
(for Java property file-like class, and its NSGetFactory)
1999-01-27 18:22:03 +00:00
erik%netscape.com
195adb7362 added nsIProperties.h (like Java property files) 1999-01-27 18:18:35 +00:00
erik%netscape.com
b9739cc681 For some reason, the IID stuff didn't compile on the Mac. Fixed now. 1999-01-27 00:18:34 +00:00
erik%netscape.com
06cde79321 Added test program and test file for new nsIProperties stuff.
(Like Java properties.)
1999-01-26 23:51:18 +00:00
erik%netscape.com
36c641e547 Added implementation of new nsIProperties class (like Java properties).
Also added nsBaseDLL.cpp for factory for this DLL (raptorbase).
1999-01-26 23:50:25 +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
erik%netscape.com
1919f8ef80 public header file for new nsIProperties class (like Java properties) 1999-01-26 23:48:54 +00:00
ftang%netscape.com
3759b987f5 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
mcafee%netscape.com
9055650603 Need NSPR to link 1999-01-23 12:20:31 +00:00
mcafee%netscape.com
f00c6c2ebf Pushing the 1:1 source-file-to-binary mapping mechanism into rules.mk so we can share this with other directories. Look for the SIMPLE_PROGRAMS checkin into config/rules.mk 1999-01-23 09:42:33 +00:00
peterl%netscape.com
1533456233 added nsStringArray 1999-01-23 06:58:34 +00:00
sfraser%netscape.com
b0d691cf62 Fix non-debug build spankage, approved sar, jj. 1999-01-22 21:22:22 +00:00
sfraser%netscape.com
440b822263 Fixing a test-stopping bug, approved by sar. Fix some copy-paste madness in idler/repeater code, and add an assert to ensure you are not running a bad timer. 1999-01-22 20:16:30 +00:00
mcafee%netscape.com
bb3be6e689 Removing stuff that is already in rules.mk, why duplicate it here? 1999-01-22 10:13:38 +00:00
jfrancis%netscape.com
34ca3b2c9b fixing bugs #2547 #2295 1999-01-22 08:58:43 +00:00
ramiro%netscape.com
84866e3918 Fix for bug 1982. Remove bogus NS_RELEASE() on a timer.
Thanks to Davide Pasetto <dipo@sis.it> for providing the fix and looking
the bug up on bugzilla!.
1999-01-21 14:37:51 +00:00
jfrancis%netscape.com
ce4d1573ca redoing timer addref/release strategy, and guaranteeing that timers will only be put on the firing list _once_, even if a client tries to add it multiple times. 1999-01-15 23:18:57 +00:00
jfrancis%netscape.com
86e615d531 fixing destructor bug in Repeater 1999-01-15 22:11:16 +00:00
rickg%netscape.com
214c399537 exposed objectAt in deque, and fixed toInteger bug 1999-01-15 19:20:51 +00:00
jfrancis%netscape.com
d865420036 Removing Powerplant 1999-01-15 00:06:35 +00:00
jfrancis%netscape.com
6b0c2e6e98 First Checked In. 1999-01-15 00:01:47 +00:00
rickg%netscape.com
415f60f790 fixed bug in Compare() and error in ToInteger() 1999-01-10 08:17:40 +00:00
mcmullen%netscape.com
2d9e9c826b 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. 1999-01-09 02:47:34 +00:00
rickg%netscape.com
95d921dff4 modest improvements to string and deque 1999-01-09 01:09:39 +00:00
waterson%netscape.com
f390a1e8c5 Made the aCopy parameter to nsString::Insert const to clear up some compiler warnings. a=rickg. 1999-01-07 22:19:57 +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
ramiro%netscape.com
779f8518f4 cvsignore FilesTest. 1998-12-30 00:38:50 +00:00
rpotts%netscape.com
e05af080f3 Added an entry for the application shell... 1998-12-29 23:59:23 +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
6de1ece277 Add nsFile* to Windows build 1998-12-22 20:06:56 +00:00
law%netscape.com
a7d859328e Add nsFile* to Windows build 1998-12-22 20:01:41 +00:00
troy%netscape.com
f334dec10a Added comment to strdup() noting that t he caller must use delete[]
to free the memory
1998-12-22 19:01:14 +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
blizzard%appliedtheory.com
3098272860 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.
1998-12-18 02:55:20 +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
shaver%netscape.com
30635270f8 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!]
1998-12-15 16:32:37 +00:00
sfraser%netscape.com
191bdfba01 Add nsFileSpec.h and nsFileStream.h 1998-12-15 03:08:57 +00:00
beard%netscape.com
18984e5a80 First Checked In. 1998-12-13 05:01:04 +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
waterson%netscape.com
6c1a65e722 Got rid of NS_DYNAMIC_CAST() macro at scc's prodding. 1998-12-11 21:39:18 +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
kin%netscape.com
4d56c25568 Fixed off by 1 error that occurs in PopBack() when
(mOrigin + mSize) >= mCapacity.
1998-12-09 17:07:20 +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
49cdc38520 Remove PLStringFuncs.o for new universal headers. 1998-12-09 01:56:57 +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
sfraser%netscape.com
e3a7adb687 Fix part of build bustage. (Strange, this built fine with my tools). 1998-12-09 01:30:42 +00:00
law%netscape.com
e89799a864 Added Windoze support 1998-12-09 01:04:53 +00:00
sfraser%netscape.com
5905287cc8 Fix the timer compare function (need an extra dereference). 1998-12-09 00:08:41 +00:00
sfraser%netscape.com
aef20fd271 Remove access path to the root of the mozilla tree, which caused this thing to take forever to load in the IDE. 1998-12-08 23:58:23 +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
befb241426 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. 1998-12-08 22:45:38 +00:00
mcmullen%netscape.com
4e091b7bcf First Checked In. 1998-12-08 22:43:57 +00:00
mcmullen%netscape.com
f52218c896 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. 1998-12-08 02:24:19 +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
ramiro%netscape.com
9de953c38c Have cvs ignore generated files. 1998-12-05 11:07:45 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
akkana%netscape.com
f959037e38 Waterson's definitions to fix Irix build. 1998-12-04 21:36:56 +00:00
waterson%netscape.com
9ec2d30af9 Added macros for fancy C++ casts. 1998-12-04 01:13:21 +00:00
jfrancis%netscape.com
63d5379a89 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. 1998-12-01 01:22:13 +00:00
beard%netscape.com
c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
mcafee%netscape.com
7b82ec7944 Added mhanni@sprintmail.com's suggestion as a comment, pending someone finding out of this works 1998-11-25 20:02:26 +00:00
rickg%netscape.com
51582a22b5 fixed bug #1203 1998-11-24 20:23:46 +00:00
rickg%netscape.com
5d77ac2437 changed ToInteger() so that it returns an error properly 1998-11-24 02:38:21 +00:00
cyeh%netscape.com
65038e9551 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.
1998-11-21 00:34:32 +00:00
rickg%netscape.com
91a74f3b64 updated docs for nsString class usage 1998-11-20 22:11:09 +00:00
alecf%netscape.com
42f50cf40c nsTimerExpired should be a C function that returns a gint (i.e. a GtkFunction)
which returns 0 on success
1998-11-20 02:03:57 +00:00
kipp%netscape.com
9be7e3e15f Made nsString::Insert actually support the count=-1 default argument 1998-11-19 17:58:30 +00:00
pierre%netscape.com
a9e64e7020 fixed the 3 instances of Compare() to work with empty strings 1998-11-04 06:48:11 +00:00
pierre%netscape.com
3465e56de2 return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0 1998-11-04 06:46:33 +00:00
cls%seawood.org
bc6ca3753f Removed hardcoded 'gtk-config' 1998-11-03 16:16:37 +00:00
cls%seawood.org
f70174e61a 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.
1998-11-03 15:48:45 +00:00
msw%gimp.org
368cc0468b change gmbaseunix to gmbasegtk here too 1998-11-02 15:22:59 +00:00
msw%gimp.org
55bb6616d9 rename gmbaseunix to gmbasegtk 1998-11-02 15:20:37 +00:00
shaver%netscape.com
d47b6e4172 Minor typo. I'm so anal. 1998-11-02 14:30:56 +00:00
ramiro%netscape.com
4a642316ba Move the 'unix' nsTimer to 'motif'. 1998-11-02 14:28:32 +00:00
blizzard%appliedtheory.com
739a797d15 when using --enable-nglayout=gtk build gtk specific timer code 1998-11-01 19:49:49 +00:00
blizzard%appliedtheory.com
384b8c7c1c add timer code for gtk from Frank Visser <fvisser@hgmp.mrc.ac.uk> 1998-11-01 00:13:30 +00:00
cls%seawood.org
c59be78dc1 Some updated to work with nglayout. Others sync'd to remove cruft. 1998-10-28 03:49:12 +00:00
rickg%netscape.com
39e6dbf292 fixed bug in IsOrdered that was found on the web 1998-10-26 22:33:39 +00:00
cls%seawood.org
2949f638d8 Split OS_CFLAGS into OS_CFLAGS, OS_INCLUDES and DEFINES.
Modified Makefile.ins to append not overwrite DEFINES.
Added $(DEFINES) to the mkdepend command line so that some conditional dependencies are caught as well.
1998-10-25 22:25:25 +00:00
briano%netscape.com
fdc164c7fc Cleaned it up and made it work properly. 1998-10-24 05:31:24 +00:00
briano%netscape.com
90932e6acc Turns out not to need the OS_LIBS addition on Linux at all. 1998-10-24 05:29:10 +00:00
cls%seawood.org
ed2a7f5f65 Sync'd various Makefile.ins to their Makefile counterparts.
Removed nspr & nspr20 from REQUIRES.  Removed NSPR_LDFLAGS.
Changed LIBNSPR refs to NSPR_LIBS.
Removed leftover NSPR20 ifdefs.
1998-10-21 02:13:56 +00:00
briano%netscape.com
8f0cf842d8 Corrected some minor errors. Now builds on Linux 1.2.13. Whee.... 1998-10-11 08:41:04 +00:00
kipp%netscape.com
001700f459 Fixed some sign extension bugs 1998-10-10 15:28:53 +00:00
kipp%netscape.com
bc3dc4eb39 Added a reminder comment 1998-10-10 15:27:50 +00:00