mcmullen%netscape.com
b38ede637e
Call delete [] when new [] was used for allocation.
1999-02-27 20:39:07 +00:00
alecf%netscape.com
0480adffb7
start using new HAVE_CPP_NEW_CASTS macro on unix
1999-02-27 05:58:25 +00:00
alecf%netscape.com
18a17b852a
AIX can't do static casts either
1999-02-27 04:29:44 +00:00
mcafee%netscape.com
cf6f44ef32
Switching false/true over to PR_FALSE/PR_TRUE
1999-02-26 19:47:48 +00:00
kipp%netscape.com
fbade5b43f
Defined some operator new/delete macros to help us get it right
1999-02-26 19:38:53 +00:00
mcafee%netscape.com
f88f9526bc
Switching one last bool to PRBool. a=mcmullen
1999-02-26 19:22:43 +00:00
alecf%netscape.com
66c86207fd
fix -pedantic bustage - Delete isn't const, so re-cast "this"
1999-02-26 17:56:44 +00:00
ebina%netscape.com
0893363a0b
Changing RegisterFactory to use the new API.
1999-02-26 15:59:52 +00:00
warren%netscape.com
97781f4c14
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
rickg%netscape.com
191d1e1a16
new API on deque to set deallocator
1999-02-26 07:23:56 +00:00
rickg%netscape.com
b82b092c4b
small bug fixes and removal of global statics
1999-02-26 06:33:54 +00:00
sfraser%netscape.com
d847eb7428
Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
1999-02-26 00:54:57 +00:00
dougt%netscape.com
8530487aeb
Remove #ifdef DEBUG
1999-02-26 00:14:57 +00:00
dougt%netscape.com
05d92cab08
tests are failing on window optimized. I am removing the test dir from the
...
build path until I can figure it out.
1999-02-25 23:19:12 +00:00
dougt%netscape.com
43984d07a9
Another fix to the build bustage.
1999-02-25 22:17:25 +00:00
dougt%netscape.com
3e99c7e102
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
ccbad16cde
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
alecf%netscape.com
806b1e4b5f
fix HPUX bustage - HPUX doesn't do static_cast
1999-02-25 19:09:16 +00:00
mscott%netscape.com
75ce123dcc
Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen...
1999-02-23 03:10:29 +00:00
brade%netscape.com
b3b4f0d2c0
add prototype to reduce warnings on Macintosh compiler
1999-02-19 16:13:47 +00:00
rickg%netscape.com
5396424248
small mod to handle hex conversion better
1999-02-19 06:32:40 +00:00
mcmullen%netscape.com
08350f58b5
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
eda401b85b
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
b761e1c51f
Added constructor for strings.
1999-02-18 00:12:08 +00:00
sfraser%netscape.com
833889de03
Adding nsCaretProperties.cpp to Windows and UNIX builds
1999-02-17 23:36:54 +00:00
warren%netscape.com
a4e60f2de6
Added missing definition of nsFilePath::nsFilePath(const nsFilePath&)
1999-02-17 18:20:27 +00:00
rickg%netscape.com
e2e2dfc7e9
removed bug from deque, and added replaceChar call to string
1999-02-16 06:47:00 +00:00
troy%netscape.com
7ebee8ef4e
Fixed some more memory leaks
1999-02-14 18:02:38 +00:00
troy%netscape.com
03a4fe9d44
Fixed some memory leaks
1999-02-14 05:44:39 +00:00
troy%netscape.com
7d913dc65b
Added missing "const" that was allowing internal pointer to Unicode
...
string tobe returned as a non-const value
1999-02-14 05:44:01 +00:00
troy%netscape.com
3daac89caa
Fixed some memory leaks
1999-02-14 05:34:07 +00:00
troy%netscape.com
fd8dea9b65
Added NS_RELEASE of nsIUnicharInputStream interface in Load()
1999-02-14 05:20:34 +00:00
sfraser%netscape.com
e3b5ef46a0
Remove dependency on nscoord.h; return caret width in pixels, and turn off blinking on UNIX
1999-02-13 04:44:23 +00:00
beard%netscape.com
280377b201
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
sfraser%netscape.com
9f67114cfd
Export nsCaretProperties.h
1999-02-11 23:57:54 +00:00
sfraser%netscape.com
d0ae3e3386
Added nsCaretPropertiesMac.cpp
1999-02-11 23:51:45 +00:00
sfraser%netscape.com
b0f7ecaa02
First Checked In.
1999-02-11 23:49:08 +00:00
sfraser%netscape.com
0f222304b0
Add nsCaretProperties.h
1999-02-11 23:48:25 +00:00
sfraser%netscape.com
063c313612
That last checkin should have read: fix a bug in CompressWhitespace that caused the string length to be set incorrectly, when Trim shortened the string.
1999-02-11 06:23:29 +00:00
sfraser%netscape.com
53038aad55
Fix a bug in
1999-02-11 06:22:03 +00:00
erik%netscape.com
f2ac3bc7ac
Forgot to say "public" in "class nsPropertiesFactory : nsIFactory".
...
This caused it to fail on Linux, but not on Windows. Go figure. Sigh.
1999-02-10 22:51:01 +00:00
alecf%netscape.com
9a4cc65f9d
add a few more string cases to fix compilers who complain about ambiguous overloading
1999-02-10 08:22:47 +00:00
mcafee%netscape.com
87fe1d71bc
Fixing xpcom/reg breakage.
1999-02-10 04:19:23 +00:00
bienvenu%netscape.com
e2222e8806
back out linebreak defines
1999-02-09 05:06:35 +00:00
bienvenu%netscape.com
3b8a2a39bc
add platform specific linebreak defines
1999-02-09 04:43:58 +00:00
warren%netscape.com
279c55d99d
Added CR LF defines for general use.
1999-02-09 04:19:58 +00:00
waterson%netscape.com
0c8af86d02
Fix strncmp() routines to handle unsigned integers properly. r=linss, a=sar.
1999-02-08 22:01:08 +00:00
ftang%netscape.com
f696de06e0
change upper and lower case operation to call unicharutil for the nonASCII case
1999-02-08 18:57:21 +00:00
mcafee%netscape.com
ea6f465213
ignore genereated files
1999-02-08 08:26:34 +00:00
mcafee%netscape.com
672720e720
Wrap tests in ENABLE_TESTS ifdef
1999-02-07 11:58:29 +00:00
mcafee%netscape.com
40a7fccd0a
Adding tests to Solaris build
1999-02-07 10:03:03 +00:00
mcafee%netscape.com
8f3fb54615
Sigh, Solaris not building
1999-02-07 02:13:25 +00:00
mcafee%netscape.com
95792e5c64
Adding tests to build to match Win32
1999-02-07 00:20:29 +00:00
warren%netscape.com
37a41235c9
Added assertion
1999-02-06 04:22:43 +00:00
warren%netscape.com
d0574a9735
Added strtok implementation.
1999-02-06 04:18:15 +00:00
warren%netscape.com
d59ad30013
Fixed unsigned problems.
1999-02-06 03:56:36 +00:00
warren%netscape.com
8493a187aa
Added strncmp, made lengths be unsigned.
1999-02-06 03:56:17 +00:00
erik%netscape.com
8d6a842091
Moved nsPropertiesFactory constructor from .h to .cpp file
1999-02-05 21:06:07 +00:00
dp%netscape.com
6c655137e4
Fixing mRefCnt not being initialized for nsPropertiesFactory
1999-02-05 06:05:51 +00:00
waterson%netscape.com
eb5acecc63
Fixed comments that were referring to monitors.
1999-02-04 23:20:30 +00:00
mcmullen%netscape.com
066da0cfa8
Improved the readline() comment, as it was not quite clear.
1999-02-04 19:25:59 +00:00
waterson%netscape.com
80967fe25b
Added TestAutoLock.cpp
1999-02-04 00:48:09 +00:00
waterson%netscape.com
43457b0c54
Added TestAutoLock.
1999-02-04 00:44:17 +00:00
waterson%netscape.com
be4af13847
Initial revision.
1999-02-04 00:40:22 +00:00
waterson%netscape.com
01610bdaeb
Added headers that nsAutoLock needs.
1999-02-04 00:39:49 +00:00
waterson%netscape.com
a1cee51422
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
0ea4c4ce61
Added nsAutoLock.h to the exports.
1999-02-03 22:44:30 +00:00
waterson%netscape.com
e232c67d81
Initial revision.
1999-02-03 22:44:14 +00:00
cata%netscape.com
eccefa0fdb
Hacky Unicode converters implementation replaced with the real xpcom thing.
1999-02-03 18:55:10 +00:00
cata%netscape.com
f54410ae99
Added dependency on Unicode Converters.
1999-02-03 18:52:21 +00:00
erik%netscape.com
e92ba507b2
Added PropertiesTest.cpp to Unix build.
1999-02-03 18:13:30 +00:00
erik%netscape.com
5f70b4b617
Added nsBaseDLL.cpp and nsProperties.cpp to Unix build.
1999-02-03 18:12:59 +00:00
erik%netscape.com
3a7d906fb4
Added nsIProperties.h to Unix build.
1999-02-03 18:12:24 +00:00
erik%netscape.com
6aa4b1b246
Fixed compiler warning on Linux.
1999-02-03 18:11:45 +00:00
ftang%netscape.com
e8473c6c30
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
dc0ad5d1ba
add project file for it.
1999-02-03 01:46:10 +00:00
ftang%netscape.com
bc833565dc
add nsProperties.cpp and nsBaseDLL.cpp
1999-02-03 01:42:53 +00:00
mcafee%netscape.com
2a3ddb0c4d
Ignore genereated Makefile
1999-02-02 06:13:16 +00:00
mcafee%netscape.com
9e7ac4c133
Dependency problem, pulling tests out to fix breakage
1999-02-02 03:59:34 +00:00
mcafee%netscape.com
84931c70dd
Adding License
1999-02-02 03:16:52 +00:00
mcafee%netscape.com
950afe4b40
TestAtoms, TestCRT, CvtURL now build on Linux, removing unused REQUIRES line
1999-02-02 03:16:07 +00:00
peterl%netscape.com
06e15c8d24
Added operator=(nsAutoString) for autostring
1999-01-30 06:19:52 +00:00
ftang%netscape.com
37b63f9fa9
add file
1999-01-29 18:26:09 +00:00
ftang%netscape.com
03ccefcc7b
First Checked In.
1999-01-29 18:24:54 +00:00
ftang%netscape.com
8a0b840e9f
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
aed19ff6e8
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
93d1443175
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
97995d2927
Export the repeater class with NS_BASE
1999-01-29 02:21:13 +00:00
sfraser%netscape.com
c4816d2d3f
First Checked In.
1999-01-29 02:20:48 +00:00
pinkerton%netscape.com
85c4f65a90
add IID for use with nsCOMPtr.
1999-01-28 17:59:37 +00:00
mscott%netscape.com
e13b3aa23d
Use NS_BASE when defining the nsEscape functions.
1999-01-28 00:32:34 +00:00
mscott%netscape.com
0b19b5dc89
Build nsEscape
1999-01-28 00:31:58 +00:00
mscott%netscape.com
8ef93e0927
use NS_BASE when declaring the nsEscape functions so they get exported.
1999-01-28 00:30:57 +00:00
mscott%netscape.com
b8eeb1e1e2
Export nsEscape.h
1999-01-28 00:30:12 +00:00
jfrancis%netscape.com
85592b6390
rewriting timer code yet again - made it an intrusive list.
1999-01-28 00:21:16 +00:00
slamm%netscape.com
031200a41c
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
0b4fd4ce03
added PropertiesTest for new Java property file-like class
1999-01-27 18:42:28 +00:00
erik%netscape.com
90a2daec64
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
90a963c0c4
added nsIProperties.h (like Java property files)
1999-01-27 18:18:35 +00:00
erik%netscape.com
75f1796700
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
b07c2a64f9
Added test program and test file for new nsIProperties stuff.
...
(Like Java properties.)
1999-01-26 23:51:18 +00:00
erik%netscape.com
ce12ded87b
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
febb896a80
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
51fabd0847
public header file for new nsIProperties class (like Java properties)
1999-01-26 23:48:54 +00:00
ftang%netscape.com
8ca2c39a5b
change nsCharSetID into nsString type
1999-01-25 16:05:04 +00:00
mcafee%netscape.com
8039bacc84
Need NSPR to link
1999-01-23 12:20:31 +00:00
mcafee%netscape.com
969f1f88dc
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
a35fe91e63
added nsStringArray
1999-01-23 06:58:34 +00:00
sfraser%netscape.com
abee877be8
Fix non-debug build spankage, approved sar, jj.
1999-01-22 21:22:22 +00:00
sfraser%netscape.com
e82c5d361c
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
8d85fcb5b7
Removing stuff that is already in rules.mk, why duplicate it here?
1999-01-22 10:13:38 +00:00
jfrancis%netscape.com
ad834264ff
fixing bugs #2547 #2295
1999-01-22 08:58:43 +00:00
ramiro%netscape.com
397e1d5b42
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
7a97ce2ca2
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
6bc95bee70
fixing destructor bug in Repeater
1999-01-15 22:11:16 +00:00
rickg%netscape.com
af405928a0
exposed objectAt in deque, and fixed toInteger bug
1999-01-15 19:20:51 +00:00
jfrancis%netscape.com
63812b8e5a
Removing Powerplant
1999-01-15 00:06:35 +00:00
jfrancis%netscape.com
7387d1309b
First Checked In.
1999-01-15 00:01:47 +00:00
rickg%netscape.com
01a5bccadc
fixed bug in Compare() and error in ToInteger()
1999-01-10 08:17:40 +00:00
mcmullen%netscape.com
7a250789ef
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
fcdfc75a82
modest improvements to string and deque
1999-01-09 01:09:39 +00:00
waterson%netscape.com
9784876549
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
8fcc9e490f
fixing includes for solaris. -donm
1999-01-07 21:03:42 +00:00
mcmullen%netscape.com
6d8e4aa0d8
Fix unused parameter warning.
1999-01-07 02:11:24 +00:00
kipp%netscape.com
b4f21e84f4
Make it compile on windows
1999-01-07 01:46:22 +00:00
mcmullen%netscape.com
6ebe2daa2c
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
c22113431f
cvsignore FilesTest.
1998-12-30 00:38:50 +00:00
rpotts%netscape.com
6d447263ea
Added an entry for the application shell...
1998-12-29 23:59:23 +00:00
mcmullen%netscape.com
d943dfc62a
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
defd60a0ab
Allow partial paths.
1998-12-24 00:01:32 +00:00
law%netscape.com
fd948fd318
Add nsFile* to Windows build
1998-12-22 20:06:56 +00:00
law%netscape.com
47cba1c029
Add nsFile* to Windows build
1998-12-22 20:01:41 +00:00
troy%netscape.com
4c1ca751b4
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
b9aa25e827
Added an NS_BASE for windows.
1998-12-18 23:30:44 +00:00
mcmullen%netscape.com
9cdd955cd4
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
64d8d93b7d
First Checked In.
1998-12-18 22:38:28 +00:00
blizzard%appliedtheory.com
c650cf25e9
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
b22a4e72fd
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
mcmullen%netscape.com
bc3cd3e280
Made all this build on Unix, using Macros up the wazoo
1998-12-15 22:45:09 +00:00
shaver%netscape.com
2e1488cb9a
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
bfc23bd513
Add nsFileSpec.h and nsFileStream.h
1998-12-15 03:08:57 +00:00
beard%netscape.com
48c16d8ad3
First Checked In.
1998-12-13 05:01:04 +00:00
mcmullen%netscape.com
70ec590900
Deal with the case of a null string.
1998-12-12 02:07:11 +00:00
law%netscape.com
8f41797878
Minor fix in operator=
1998-12-12 01:28:28 +00:00
law%netscape.com
ef069eb5f5
Add NS_BASE to cause export from dll on Windows
1998-12-12 01:25:32 +00:00
mcmullen%netscape.com
e1c92781a8
More windows stuff.
1998-12-11 23:52:31 +00:00
mcmullen%netscape.com
120fb992fa
More windows tweaks
1998-12-11 23:05:24 +00:00
waterson%netscape.com
c3786dcd43
Got rid of NS_DYNAMIC_CAST() macro at scc's prodding.
1998-12-11 21:39:18 +00:00
mcmullen%netscape.com
dd79f3130c
And again.
1998-12-11 18:17:22 +00:00
mcmullen%netscape.com
f41691e8b4
More tweaks.
1998-12-11 03:17:47 +00:00