Commit Graph
164 Commits
Author SHA1 Message Date
[email protected] e1b88657be Changed ifdefs to this stuff is off for debug builds too. 1999-11-20 07:28:45 +00:00
[email protected] 60d4276fab Added isascii for mac 1999-11-20 05:46:04 +00:00
[email protected] 700394602d Fixed include for non-debug builds. 1999-11-20 05:27:35 +00:00
[email protected] a5f8b6bb56 Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg 1999-11-20 04:22:26 +00:00
[email protected] 3b9bbd364c corrected type mismatch in memory error status of nsStrings; r=none 1999-11-19 08:10:40 +00:00
[email protected] e33247c9a0 added DebugDump() to nsString classes for terminal output. Also slightly improved documentation. r=buster 1999-11-19 08:05:30 +00:00
[email protected] 6a1922ca5c reenabled safer version of assertion 1999-11-15 17:10:06 +00:00
[email protected] 45680ec87e disable overambitious assert for now; r=rods; a=leaf 1999-11-15 16:38:29 +00:00
[email protected] 2b227501db change NS_ASSERTION to NS_WARN_IF_FALSE; r=none 1999-11-14 10:05:40 +00:00
[email protected] 68b82cefc3 finally: a fix for archaic compilers 1999-11-14 07:58:05 +00:00
[email protected] ff04a548db try again to get around unix problem 1999-11-14 07:20:02 +00:00
[email protected] e4303bc51a try to get around linux compiler grief 1999-11-14 06:49:43 +00:00
[email protected] 13053d2ed0 bug18337 and fixes for embedded nulls; r=harishd 1999-11-14 06:22:52 +00:00
[email protected] 19d43dfa78 AIX requires a 'const' in order to handle the assignment of 2 nsStrings
(see wallet.cpp line 3093).

rickg approved
1999-11-12 03:58:15 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] 4380440b94 updated FAQ section of nsString documentation 1999-10-16 18:45:18 +00:00
[email protected] 772fe8a8b4 Added nsTraceRefcnt logging. 1999-10-12 09:30:16 +00:00
[email protected] cdae247794 fixed leak using patch from beard; verified in purify. r=rgess; bug=15751 1999-10-07 07:22:57 +00:00
[email protected] e90dcad4bf bugs 13038 and 14920; also improved comments. r=kmcclusk 1999-10-05 04:47:19 +00:00
[email protected] e837f5c22d replace ANSI true/false with PR_TRUE; sorry about that. 1999-09-30 05:15:37 +00:00
[email protected] 078c33e70e perf update and bug fix: a=chofmann r=buster 1999-09-30 04:03:49 +00:00
[email protected] 9405d01e79 Fix memmove() stuff. 1999-09-20 06:11:36 +00:00
[email protected] c14bc7a969 back out update to Append(int,radix) until I can find ltoa() on linux 1999-09-20 05:50:43 +00:00
[email protected] 8e30124959 explicitly include <stdlib.h> 1999-09-20 05:32:36 +00:00
[email protected] 14dc92931d fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf 1999-09-20 05:10:32 +00:00
[email protected] 649c85cae9 improved safety of CBufDescriptor 1999-09-19 16:43:09 +00:00
[email protected] 29235a113d performance improvements and larger default buffer size 1999-09-17 23:46:55 +00:00
[email protected] c37e10332f add ToNewUTF8Stirng to nsString 1999-09-13 22:51:29 +00:00
[email protected] a54a462d3a Added operator = (const char*) as a convenience. always copies argument string. 1999-09-11 23:00:38 +00:00
[email protected] 0a26fa9336 Fixed build bustage 1999-09-08 21:26:24 +00:00
[email protected] 37d1214515 Removed GetEmptySharedBuffer() and changed to using a const Unicode array of
size 1
1999-09-08 20:21:27 +00:00
[email protected] 537b6e7497 Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
[email protected] 76cfbd51dc Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
[email protected] 28fb2b78a1 Make CBufDescriptor const to avoid -pedantic bustage. 1999-09-02 08:02:57 +00:00
[email protected] f71f3d7054 another tiny tweak to docs 1999-09-02 07:13:56 +00:00
[email protected] 54c510bd3d better docs and finally got rid of deprecated API's 1999-09-02 07:04:59 +00:00
[email protected] 7f5c6bec86 Reworked sizeof api's to be much more useful; updated implementations to match 1999-08-31 03:04:37 +00:00
[email protected] d5053d1b40 improved docs, bug fixes, removed outdated APIs 1999-08-30 06:55:13 +00:00
[email protected] 7b9de41cd5 Clean up comments; no more delete[]. 1999-08-29 19:38:41 +00:00
[email protected] ea6058747e removed warnings 1999-08-25 03:11:05 +00:00
[email protected] 50c1d48bd3 Adding a comment to remind ourselves that at one time these were const. 1999-08-24 01:14:44 +00:00
[email protected] 1b2b0530bf Treat CBufDescriptors as 'const' so that they may be inlined. 1999-08-24 00:52:32 +00:00
[email protected] c316095ded xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
[email protected] 7ebf4faef6 Fixing ToNewUnicode(). Checking in for rickg.
approved: cyeh
1999-07-28 21:43:11 +00:00
[email protected] cffe0430a7 odd 'n' ends 1999-07-25 17:21:34 +00:00
[email protected] 3c467d79e4 added optional arg validation to improve safety 1999-07-25 17:21:14 +00:00
[email protected] f88cc5b4ab narrowed the nsCString API's for safety 1999-07-25 17:20:37 +00:00
[email protected] 3f8ebb2c39 use shared allocator 1999-07-22 18:23:02 +00:00
[email protected] 32b4539f2a try to improve append performance and allow non-null term buffers when count is given 1999-07-20 06:58:41 +00:00
[email protected] 7a90d005e8 improved api's 1999-07-19 03:10:41 +00:00