Commit Graph

543 Commits

Author SHA1 Message Date
warren%netscape.com
338082238a Mostly works now, except for nsIThreadPool::Join 1999-04-05 21:02:24 +00:00
warren%netscape.com
52ed9a5cae Added copyright. 1999-04-05 21:01:33 +00:00
rickg%netscape.com
9719abb145 API cleanup for nsString 1999-04-05 08:06:54 +00:00
dp%netscape.com
e6a86ec777 Added Current Working Directory 1999-04-03 17:17:49 +00:00
rickg%netscape.com
dda2c5d456 fix to pushfront 1999-04-02 22:06:05 +00:00
warren%netscape.com
9ee65b1f03 Added nsIThread and nsIThreadPool. 1999-04-02 09:20:44 +00:00
mcmullen%netscape.com
21744e4f8d Just added a divider comment. 1999-04-01 20:07:52 +00:00
mcmullen%netscape.com
ae221e38a6 Fixed an illegal preprocessor directive. 1999-04-01 20:06:46 +00:00
mcafee%netscape.com
2487b0b4a8 Simplifying SCO case. 1999-04-01 05:16:32 +00:00
mcafee%netscape.com
2351aa3b9a Adding support for NTO. 1999-04-01 05:06:34 +00:00
mcafee%netscape.com
291d034bd2 Simplifying ifdef logic in preparation for jump to hyperspace (autoconf) 1999-04-01 05:02:32 +00:00
rickg%netscape.com
3554b4a46a fixed bug in deque::pushfront 1999-03-31 08:42:06 +00:00
dougt%netscape.com
694908155a Fixes off by one error. 1999-03-31 05:04:28 +00:00
jdunn%netscape.com
757da9fdb0 Fixed compiler problem on AIX with references. 1999-03-31 04:19:02 +00:00
kipp%netscape.com
2f1125da8a new 1999-03-30 05:45:36 +00:00
ramiro%netscape.com
532f507e84 delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
1999-03-30 05:26:59 +00:00
pierre%netscape.com
f9165ef867 Use delete[] for strings allocated with ToNewCString(). 1999-03-30 01:23:24 +00:00
waterson%netscape.com
0cf17d4ce5 Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +00:00
jband%netscape.com
ccca3b497c fixing cases of declaration not exactly matching definition and a few other instances of extraneous 'const' on PRUnichar passed by value 1999-03-27 07:34:44 +00:00
sspitzer%netscape.com
1797b45114 removed aErrorCode from the comment.
aErrorCode is no longer a parameter to Read()
1999-03-25 03:00:04 +00:00
rickg%netscape.com
dd619c3450 any fix for entities 1999-03-25 01:27:27 +00:00
jdunn%netscape.com
93e4488a2d backing out changes, because the tree was closed - doh 1999-03-24 21:55:53 +00:00
jdunn%netscape.com
26bcb3a653 Fix compiler errors on AIX
Approved by mcmullen@netscape.com
1999-03-24 21:38:44 +00:00
rickg%netscape.com
61a70a0c96 removed linux warnings 1999-03-23 08:47:54 +00:00
rickg%netscape.com
eb7f160063 added recycler to nsString2 1999-03-23 07:33:10 +00:00
rickg%netscape.com
a313d5394a fixed bug in nsString; added recycler to nsString2 1999-03-23 07:26:27 +00:00
waterson%netscape.com
ac209c730f Initial revision. Not currently in the build. 1999-03-23 01:46:44 +00:00
waterson%netscape.com
58442e8477 Fixed some syntax errors that I found when I actually tried to compile. 1999-03-23 01:46:12 +00:00
waterson%netscape.com
86604a8b50 Added an Init() method to allow the creator to specify an alternate
character size for the internal representation.
1999-03-23 01:29:16 +00:00
waterson%netscape.com
7c8125c3cc Added nsIString interface. 1999-03-23 00:43:54 +00:00
rickg%netscape.com
0ab7547cf9 removed unsightly warnings from string classes 1999-03-23 00:28:36 +00:00
rickg%netscape.com
bf82500ce5 fixed link error 1999-03-22 22:26:17 +00:00
rickg%netscape.com
fcb125cfb9 added nsString to unix make system 1999-03-22 22:09:37 +00:00
rickg%netscape.com
4e2bed1cd2 added nsString2 to makefile 1999-03-22 22:06:28 +00:00
rickg%netscape.com
b9efb47ef0 fixed nsString2 build problem 1999-03-22 22:03:14 +00:00
dcone%netscape.com
9722af1758 fixed small mac bug 1999-03-22 21:52:57 +00:00
dcone%netscape.com
5107ff368a Fixed small mac bug 1999-03-22 21:52:39 +00:00
dcone%netscape.com
4f3999b652 Added nsStr.h and nsString2.h for public 1999-03-22 21:30:38 +00:00
dcone%netscape.com
5fec03c157 added nsStr.cpp and nsString2.cpp to project 1999-03-22 21:29:52 +00:00
bienvenu%netscape.com
46d901db87 fix problem with SetLeafName r+a=mcmullen 1999-03-22 19:15:30 +00:00
rickg%netscape.com
f601e29751 landing nsString2 1999-03-22 09:54:46 +00:00
rickg%netscape.com
e26a3d2825 prep work to land nsString2 1999-03-22 08:29:26 +00:00
pavlov%pavlov.net
422db61565 add a cast to fix build problems on the ports tinderboxes. 1999-03-21 15:42:44 +00:00
dougt%netscape.com
8929a4a930 Fixing unix breakage. 1999-03-21 06:57:56 +00:00
dougt%netscape.com
aae2baf3ab Now adjusting the nsFileSpec after a Move().
Also fixing a bug with Rename().  Now it should successfully take
partial pathnames on Unix and Windows.
1999-03-21 06:22:45 +00:00
beard%netscape.com
2dda57ddc1 fixed reference count leaking, File no longer nulls out mCallbackObject. 1999-03-20 23:15:02 +00:00
alecf%netscape.com
5ad7970d08 oops, back out my old patch - caused more harm than good 1999-03-20 02:41:27 +00:00
alecf%netscape.com
8f120bbb86 fix newline and end of file problem 1999-03-20 02:34:54 +00:00
alecf%netscape.com
c9eb80041f there is no header file on unix that actually includes this path. wierd. 1999-03-20 02:34:31 +00:00
mcmullen%netscape.com
1e294da835 FIxing another unix problem. 1999-03-20 01:13:35 +00:00
mcmullen%netscape.com
7e8e0f5edf Fix unix bustage. 1999-03-20 00:13:08 +00:00
mcmullen%netscape.com
fb1366b389 Bugs #3997, 3934 1999-03-19 23:09:39 +00:00
warren%netscape.com
87ef6a89de Backed out nsUnicharKey -- couldn't get it to build with -pedantic linux. 1999-03-19 10:27:41 +00:00
warren%netscape.com
a6fb69b832 Attempt to fix pendantic breakage. 1999-03-19 09:46:09 +00:00
warren%netscape.com
27f47bf2ac Added nsUnicharKey for nsHashtables. 1999-03-19 09:02:43 +00:00
rickg%netscape.com
063da77aca removed static vars 1999-03-19 08:47:20 +00:00
mcafee%netscape.com
a162c08245 Solaris needs prototype for PR_GetEnv(). 1999-03-18 22:41:24 +00:00
mcafee%netscape.com
45222c3ee8 Switch to PR_GetEnv(), warn once if MOZILLA_FIVE_HOME is not set. 1999-03-18 22:38:25 +00:00
leaf%mozilla.org
4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
mcmullen%netscape.com
40c246f552 Fixes for bugs #3779,#2784. Member initialization of nsFileURL for windows compiler, escaping of url when made from path or spec, add file:// on macintosh when making a url from a spec. [bugs introduced when, for dp, I changed nsFilePath not to escape]. a=chofmann. 1999-03-16 19:12:51 +00:00
ramiro%netscape.com
f0e27b4a47 Fix bugs 3653, 3652 and 3566. Leaking timers.
Thanks to Tomi Leppikangas <Tomi.Leppikangas@oulu.fi> for providing the
fix and Bruce Mitchener <bruce@cybersight.com> for purifying it.
1999-03-15 21:23:49 +00:00
mcmullen%netscape.com
e4f00591a3 Fix a parameter type. 1999-03-13 07:07:33 +00:00
mcmullen%netscape.com
6fcc5b6293 Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
mcmullen%netscape.com
981da23e83 Fixed crashing bug on solaris. Added support for mac documents directory. 1999-03-12 22:15:02 +00:00
mcmullen%netscape.com
c9be804cc0 Added mac documents directory. 1999-03-12 22:14:08 +00:00
ramiro%netscape.com
8ce50ad7cf Make it possible to prefix mozilla dlls that conflict with system dlls. 1999-03-12 12:43:04 +00:00
beard%netscape.com
da15894388 using nsITimer::GetIID() instead of kITimerIID 1999-03-12 04:48:48 +00:00
beard%netscape.com
9666b10acf added NS_DEFINE_STATIC_IID_ACCESSOR. 1999-03-12 04:46:43 +00:00
dp%netscape.com
72ea641bee Unix: Adding MOZILLA_FIVE_HOME 1999-03-11 21:31:16 +00:00
mcmullen%netscape.com
80f1f01149 Fixed bustage with typo. 1999-03-10 21:41:43 +00:00
mcmullen%netscape.com
2bfcde5aaa Added tests for size and mod date. 1999-03-10 21:03:53 +00:00
mcmullen%netscape.com
0e3fcaece6 Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null. 1999-03-10 21:02:58 +00:00
mcmullen%netscape.com
21ca81038c Added output streamers for int and unsigned int. 1999-03-10 20:56:38 +00:00
dougt%netscape.com
3d1e8b68ac No longer shifting windows nsFileSpec's mPath to uppercase.
Now comparing without regard to case instead on windows.
Windows nsSpecialSystemDirectory will have all uppercase mPaths.
1999-03-10 20:07:10 +00:00
mcafee%netscape.com
2fffe8836f Solaris needs newline at EOF. 1999-03-10 10:57:05 +00:00
waterson%netscape.com
0bf57d8673 Change PATH_MAX to MAXPATHLEN to compile on Solaris. 1999-03-10 07:21:09 +00:00
waterson%netscape.com
56510eb5cb Added OS_CurrentProcessDirectory test. 1999-03-10 06:08:06 +00:00
waterson%netscape.com
1eaee30e85 Added OS_CurrentProcessDirectory implementation. Thanks to RJC for Mac. Unix is still bogus: uses getcwd(). 1999-03-10 06:07:21 +00:00
mcmullen%netscape.com
a8038ec488 Change assignment operator not to create dirs. 1999-03-10 02:50:16 +00:00
alecf%netscape.com
4870da1dcf purify fixes from bruce@cybersight.com - free memory the right way 1999-03-10 00:32:44 +00:00
mcmullen%netscape.com
734ffedf47 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. 1999-03-09 22:33:36 +00:00
warren%netscape.com
3f04ec67a2 Removed nsService template. 1999-03-09 11:12:52 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
brendan%netscape.com
ec67fd947d Must use defined XP_UNIX, not XP_UNIX, as #elif condition. 1999-03-09 02:46:23 +00:00
rickg%netscape.com
98eae31a0b fixed recently introduced i18n bugs 1999-03-07 19:23:28 +00:00
cls%seawood.org
202df19f2e Introduced separate CXXFLAGS for use with C++ code in the same style as the existing CFLAGS. Prepended _ to some configure.in private variables. 1999-03-07 05:18:45 +00:00
ramiro%netscape.com
2f0db342de Latest AIX fixes from waqar@netscape.com.
I added this define before and its not needed now, thanks to the c++ feature
detection magic in configure.in.
1999-03-06 15:07:01 +00:00
pavlov%pavlov.net
441af16eda proper fix 1999-03-05 23:52:34 +00:00
mcmullen%netscape.com
3e40401b0a Adding stringstreams 1999-03-05 23:44:22 +00:00
mcmullen%netscape.com
8537d6d325 Have the right fix now, so backing out the hack. 1999-03-05 23:43:37 +00:00
mcmullen%netscape.com
8e27b989b7 Need the exports, so checking in the makefiles. 1999-03-05 23:41:46 +00:00
pavlov%pavlov.net
67e91b223c hacky fix to fix build. someone please do this correctly. 1999-03-05 23:41:40 +00:00
mcmullen%netscape.com
9001472b4c Fix a unix warning 1999-03-05 23:00:57 +00:00
mcmullen%netscape.com
9798175c73 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
mcmullen%netscape.com
8c366d4625 Made a function static to remove a warning. 1999-03-05 21:35:23 +00:00
ramiro%netscape.com
dac043b760 Filename was misspelled. Broke unix. Blessed by cyeh. 1999-03-05 21:29:26 +00:00
mcmullen%netscape.com
887f030007 Added nsIStringStream.h 1999-03-05 21:01:38 +00:00
mcmullen%netscape.com
8f54d5fccf Make the FilesTest project build again. 1999-03-05 21:01:11 +00:00
mcmullen%netscape.com
da9bbfc238 First Checked In. 1999-03-05 20:55:10 +00:00
dougt%netscape.com
c97b36d30e added nsSpecialSystemDirectory to build. 1999-03-05 20:25:05 +00:00
dougt%netscape.com
ff5aa21d0d Added testcases for nsSpecialSystemDirectory. These cases are
currently turned off until mcmullen takes a look at them on the mac.
1999-03-05 20:21:33 +00:00
dougt%netscape.com
060b968818 adding nsSpecialSystemDirectory.cpp to windows makefile.
Fixed MakeAllDirectory bug in nsFileSpec.cpp
1999-03-05 20:20:22 +00:00
dougt%netscape.com
93ff8b1236 Updating makefiles so that nsSpecialSystemDirectory.h gets exported. 1999-03-05 20:18:33 +00:00
dougt%netscape.com
a435f91e27 Initial Checkin 1999-03-05 20:17:47 +00:00
dougt%netscape.com
76b5b14778 Initial Checkin. 1999-03-05 20:16:47 +00:00
kipp%netscape.com
8cbbd762e9 Use proper new operator 1999-03-05 04:33:57 +00:00
mcafee%netscape.com
6374afae38 Uninitialized variables 1999-03-05 04:20:54 +00:00
hyatt%netscape.com
02e16ec5f5 Fix to the RFind method of nsString. 1999-03-05 00:03:46 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
akkana%netscape.com
0364aa02ea Turn on blinking caret 1999-03-03 01:11:50 +00:00
alecf%netscape.com
cb61663ab3 fix HPUX bustage - confused by too many similar constructors 1999-03-02 19:23:06 +00:00
ftang%netscape.com
9a83e5f08d add IsUpper and IsLower which work for all Unicode, reviewed and approved by kipp 1999-03-02 18:24:42 +00:00
sfraser%netscape.com
884a0efa99 Make the caret width a twips value, instead of pixels. 1999-03-02 04:25:11 +00:00
alecf%netscape.com
88fe8762de fix linux -pedantic build - compiler confused by too much casting 1999-03-02 01:41:45 +00:00
ramiro%netscape.com
52fac20c37 AIX portability fixes. (Waqar Malik <waqar@netscape.com>) 1999-03-01 06:10:54 +00:00
mcmullen%netscape.com
27844bd641 Fix Windows build errors 1999-02-28 02:51:53 +00:00
mcmullen%netscape.com
290b78c91a Fix unix build errors 1999-02-28 02:17:55 +00:00
mcmullen%netscape.com
bb050ec460 Fix const problem. 1999-02-28 01:55:23 +00:00
mcmullen%netscape.com
f672d26a46 Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge. 1999-02-28 01:36:48 +00:00
mcmullen%netscape.com
ba3f139ef6 Make the FilesTest project build again. 1999-02-28 01:30:41 +00:00
mcmullen%netscape.com
d13c4f0d46 Call delete [] when new [] was used for allocation. 1999-02-27 20:39:07 +00:00
alecf%netscape.com
c62d31b09d start using new HAVE_CPP_NEW_CASTS macro on unix 1999-02-27 05:58:25 +00:00
alecf%netscape.com
36bffa6c41 AIX can't do static casts either 1999-02-27 04:29:44 +00:00
mcafee%netscape.com
a51a1d23cc Switching false/true over to PR_FALSE/PR_TRUE 1999-02-26 19:47:48 +00:00
kipp%netscape.com
577dbe2134 Defined some operator new/delete macros to help us get it right 1999-02-26 19:38:53 +00:00
mcafee%netscape.com
3d6f3bbe9f Switching one last bool to PRBool. a=mcmullen 1999-02-26 19:22:43 +00:00
alecf%netscape.com
51d9e33467 fix -pedantic bustage - Delete isn't const, so re-cast "this" 1999-02-26 17:56:44 +00:00
ebina%netscape.com
1b377a9c65 Changing RegisterFactory to use the new API. 1999-02-26 15:59:52 +00:00
warren%netscape.com
44cae3cd3f 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
48537437de new API on deque to set deallocator 1999-02-26 07:23:56 +00:00
rickg%netscape.com
ce3f1fd855 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
sfraser%netscape.com
3a123c982b Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. 1999-02-26 00:54:57 +00:00
dougt%netscape.com
ec7d3e520a Remove #ifdef DEBUG 1999-02-26 00:14:57 +00:00
dougt%netscape.com
4f7db3fcd8 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
d66208f9ae Another fix to the build bustage. 1999-02-25 22:17:25 +00:00
dougt%netscape.com
52eff30465 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
9aef7730c4 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
0337123540 fix HPUX bustage - HPUX doesn't do static_cast 1999-02-25 19:09:16 +00:00
mscott%netscape.com
04019f6070 Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen... 1999-02-23 03:10:29 +00:00
brade%netscape.com
b553b3670f add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
rickg%netscape.com
1fe259de63 small mod to handle hex conversion better 1999-02-19 06:32:40 +00:00
mcmullen%netscape.com
0064c92613 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
36703ad10e 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
41fe50242a Added constructor for strings. 1999-02-18 00:12:08 +00:00
sfraser%netscape.com
dbf1d274f7 Adding nsCaretProperties.cpp to Windows and UNIX builds 1999-02-17 23:36:54 +00:00
warren%netscape.com
78c67590e0 Added missing definition of nsFilePath::nsFilePath(const nsFilePath&) 1999-02-17 18:20:27 +00:00
rickg%netscape.com
71624eb818 removed bug from deque, and added replaceChar call to string 1999-02-16 06:47:00 +00:00
troy%netscape.com
b0009be1b8 Fixed some more memory leaks 1999-02-14 18:02:38 +00:00
troy%netscape.com
8ebf774ac3 Fixed some memory leaks 1999-02-14 05:44:39 +00:00
troy%netscape.com
2161ce5972 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