mkaply%us.ibm.com
a5aa7cb695
r=dougt, a=blizzard
...
OS/2 only code to handle DBCS properly in nsFileSpec
git-svn-id: svn://10.0.0.236/trunk@86476 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:32:24 +00:00
sspitzer%netscape.com
faffacfa88
#61956
...
quiet purify and don't memcpy 0 bytes. sr=scc
git-svn-id: svn://10.0.0.236/trunk@85877 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:35:12 +00:00
mkaply%us.ibm.com
0b0abb10e4
#56767
...
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
git-svn-id: svn://10.0.0.236/trunk@82990 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:27:38 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
dougt%netscape.com
db2c70c95b
bug 40750.
...
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org .
a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
dp%netscape.com
4bff050def
Standalone xpcom.
...
git-svn-id: svn://10.0.0.236/trunk@69686 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:46:24 +00:00
nhotta%netscape.com
7ff483a96d
Changed to use _mbsrchr instead of strrchr to support double-byte characters on PC (the change is ifdef for XP_PC),
...
check in for m_kato@ga2.so-net.ne.jp , r=ftang, bug 29546.
git-svn-id: svn://10.0.0.236/trunk@69071 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:24:22 +00:00
mkaply%us.ibm.com
aeefaeec2e
# 37239
...
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2
git-svn-id: svn://10.0.0.236/trunk@67765 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:25:44 +00:00
dougt%netscape.com
bf7163c089
checked in warren's patch to remove circular memory leak in directory service
...
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.
git-svn-id: svn://10.0.0.236/trunk@67030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:48:02 +00:00
scc%netscape.com
31f1176499
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@66670 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:09:51 +00:00
dbragg%netscape.com
a56b5806c3
Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile
...
git-svn-id: svn://10.0.0.236/trunk@66582 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:49:18 +00:00
andreas.otte%primus-online.de
261e05249b
fix bug 20891 [Assertion when displaying message], don't try to find a drive in an empty path, r=putterman@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@66126 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 07:33:25 +00:00
scc%netscape.com
28db414fa4
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
nhotta%netscape.com
d5e3159aa3
Changed to use do_GetService instead of CreateInstance, bug 30205, r=cata.
...
git-svn-id: svn://10.0.0.236/trunk@62964 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:33:43 +00:00
rickg%netscape.com
1bd57cb94b
removed calls to deprecated string methods
...
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
pavlov%netscape.com
1fdd348954
changes to let us build on MacOS X
...
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
mkaply%us.ibm.com
c7e80aa6ea
# 25555
...
r= dougt@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
git-svn-id: svn://10.0.0.236/trunk@61894 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 21:27:02 +00:00
rjc%netscape.com
04cfa0ed7b
Fix PDT+ bug # 6770: be able to get filenames from the file system in the platform native charset.
...
Patch from m_kato@ga2.so-net.ne.jp
Review: ftang, dougt, and myself.
Approval: jar
git-svn-id: svn://10.0.0.236/trunk@61723 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 02:19:34 +00:00
nhotta%netscape.com
d93c3cf8c0
Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang.
...
git-svn-id: svn://10.0.0.236/trunk@60365 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:08:56 +00:00
dougt%netscape.com
9f7467a8a7
xpcom/io changes,
...
Fixes bug 25028.
Added new dirty flag so that resolutions can be purged.
checked in VC5 fix from pollmann and jband
checked in fix from colin@theblakes.com for VMS.
r= valeski, pollmann, colin@theblakes
git-svn-id: svn://10.0.0.236/trunk@58810 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:55:13 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
sfraser%netscape.com
8023b08ebc
Fix for bugs 15795 and 16090 -- fix startup crash which was due to an uninitialized nsFileSpec trashing the stack. Also no longer set mError on CreateDirectory if the dir already exists, prevent += "foo" when mError is set, and add assertions XP to catch calls with NULL strings.
...
reviewed by dougt and (in part) sspitzer. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@50360 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:19:06 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
mccabe%netscape.com
69a8cf7c7b
Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
...
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage. Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes. (This could mean blackwood; sorry, guys!)
Many thanks to Alec Flett (alecf@netscape.com ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu ) and Mike Shaver (shaver@mozilla.org ) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.
Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +00:00
cls%seawood.org
696bbb41fa
Reverting changes accidentally checked in
...
git-svn-id: svn://10.0.0.236/trunk@47537 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 05:28:31 +00:00
cls%seawood.org
46df8144ee
Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h>
...
git-svn-id: svn://10.0.0.236/trunk@47097 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 05:09:53 +00:00
bruce%cybersight.com
3a6ad64e5e
Use nsCRT::free() on result of nsEscape() instead of delete[].
...
git-svn-id: svn://10.0.0.236/trunk@46014 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 17:10:10 +00:00
shaver%netscape.com
aff923d924
add IsChildOf, and dougt's relative-path-handling diff
...
git-svn-id: svn://10.0.0.236/trunk@45975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:44:59 +00:00
bruce%cybersight.com
eeddabfab0
Fix build bustage. Thanks waterson! Sorry about that.
...
git-svn-id: svn://10.0.0.236/trunk@45102 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 01:06:54 +00:00
bruce%cybersight.com
ad237541df
Fix warning from my last checkin.
...
git-svn-id: svn://10.0.0.236/trunk@45101 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:51:56 +00:00
bruce%cybersight.com
d14a97c695
Change deallocation for nsAutoCString to use nsAllocator. This removes several thousand FMM errors in Purify.
...
git-svn-id: svn://10.0.0.236/trunk@45098 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:32:27 +00:00
shaver%netscape.com
b6754876bd
make sure that /path/to/dir and /path/to/dir/ are treated as equal
...
git-svn-id: svn://10.0.0.236/trunk@45082 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 22:05:11 +00:00
dp%netscape.com
762dbcae6c
Fixed
...
- Mismatched alloc/free
- Guarded against null pointer and crash bug#8830
git-svn-id: svn://10.0.0.236/trunk@38872 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 03:41:27 +00:00
mcafee%netscape.com
b366c7e0ba
BeOS changes
...
git-svn-id: svn://10.0.0.236/trunk@37402 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 10:27:58 +00:00
mcmullen%netscape.com
242ec9344f
Fix to #6398 using patch provided by jim_nance@yahoo.com (who does, apparently, yahoo).
...
git-svn-id: svn://10.0.0.236/trunk@33466 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:40:47 +00:00
dp%netscape.com
befa259a88
Landing xpcom20/21 branch.
...
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
mcmullen%netscape.com
bf928cd741
Fix badness when nsFilePath is initialized with a nil or empty string.
...
git-svn-id: svn://10.0.0.236/trunk@31310 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:56:24 +00:00
mcmullen%netscape.com
3ac0828129
Fix nsFileSpec to take native paths in constructors and assignment operators. Fix += to work with relative paths on Macintosh. Remove dependency of nsFileSpec on streams (so that dp can move nsFileSpec).
...
git-svn-id: svn://10.0.0.236/trunk@30800 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 01:18:23 +00:00
mcmullen%netscape.com
1e656b6d41
So much for that last touchup between building and committing...
...
git-svn-id: svn://10.0.0.236/trunk@30163 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:39:15 +00:00
mcmullen%netscape.com
a5c98aa5e2
Fix double-escaping problem ( #4184 )
...
git-svn-id: svn://10.0.0.236/trunk@30145 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:11:31 +00:00
mcmullen%netscape.com
7466c2717c
Leakage and mismatch of allocate/free methods (patches submitted by Bruce Mitchener). Bug #5140 .
...
git-svn-id: svn://10.0.0.236/trunk@29215 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:05:00 +00:00
mcmullen%netscape.com
fd9ab4313a
Bug #4184 . Before unescaping a path, call ReAllocData.
...
git-svn-id: svn://10.0.0.236/trunk@28946 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:32:57 +00:00
mcmullen%netscape.com
5b4a261d6f
Corrected spelling in some comments.
...
git-svn-id: svn://10.0.0.236/trunk@28939 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:27:38 +00:00
dougt%netscape.com
df7ef34c00
Fixes Bug 5300 http://bugzilla.mozilla.org/show_bug.cgi?id=5300
...
git-svn-id: svn://10.0.0.236/trunk@28804 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:32:40 +00:00
mcmullen%netscape.com
7a5c8880e7
Correct a problem my last change to GetParent() introduced.
...
git-svn-id: svn://10.0.0.236/trunk@28281 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:09:22 +00:00
dougt%netscape.com
9be6e244a8
Now using PL_* functions in nsprPath()
...
ifdef'ing the deallocation of nsprPath()
git-svn-id: svn://10.0.0.236/trunk@27582 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:39:23 +00:00
mcmullen%netscape.com
e753d5b229
Fix backwards failure logic
...
git-svn-id: svn://10.0.0.236/trunk@27494 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:06:03 +00:00
bruce%cybersight.com
833f04ec8d
Adding blank lines for native compilers.
...
git-svn-id: svn://10.0.0.236/trunk@27317 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 06:35:42 +00:00
dougt%netscape.com
88d01b020a
Adding nsprPath class.
...
Removing existing check when creating subdirectories.
git-svn-id: svn://10.0.0.236/trunk@26903 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:29:20 +00:00