72 Commits

Author SHA1 Message Date
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
cbiesinger%web.de
d23681e4b8 Bug 375878 remove users of Recycle()
patch by taras glek r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@222663 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 22:44:22 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mats.palmgren%bredband.net
16edb76faf Fix compile warnings. b=311646 r=dveditz sr=benjamin
git-svn-id: svn://10.0.0.236/trunk@182332 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 15:52:26 +00:00
gerv%gerv.net
f4294ea0f8 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155026 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 14:37:35 +00:00
ssu%netscape.com
f666231373 fixing bug 125106 - general nsIFile converter change hosed XPInstall intl filenames. r=dveditz, sr=alecf, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141964 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 06:49:04 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
dprice%netscape.com
dd0735e991 97334 r=dougt sr=dveditz a=asa
adding WIN_SYSTEM_FILE flag to addFile


git-svn-id: svn://10.0.0.236/trunk@117433 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 00:04:05 +00:00
mkaply%us.ibm.com
5472be58bb Adding newlines at the end of these files to proactively prevent HPUX bustage
git-svn-id: svn://10.0.0.236/trunk@117310 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 15:02:41 +00:00
dprice%netscape.com
5b92658173 backing out for now
git-svn-id: svn://10.0.0.236/trunk@117260 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 23:57:54 +00:00
dprice%netscape.com
939447bbc3 97334 - new flag WIN_SYSTEM_FILE for addFile
r=dougt sr=dveditz a=asa


git-svn-id: svn://10.0.0.236/trunk@117243 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 23:06:34 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jaggernaut%netscape.com
d22bec017c Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108048 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 12:35:52 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu
8cfde11cea Bug 69873: remove nsAutoCString. r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105247 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 02:57:59 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
disttsc%bart.nl
a863c06732 Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89879 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:37:56 +00:00
dveditz%netscape.com
df39d51240 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@89616 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:03:44 +00:00
dveditz%netscape.com
5df7fedc87 bug 28896 register file versions r=ssu,sr=mscott
bug 45939 File.remove() returns bogus error,r=sgehani,sr=alecf
bug 7022  make platform/build info available to XPInstall script r=sgehani,sr=mscott
bug 47258 more detailed error reporting failing to install file, r=sgehani,sr=mscott
bug 62916 refresh plugins from install script r=ssu,sr=mscott


git-svn-id: svn://10.0.0.236/trunk@89610 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:30:25 +00:00
dbragg%netscape.com
3267ad7bf2 Checking for file and directory names that may be too long for a given platform. Fixes bug 10147. r=deveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89006 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:25:17 +00:00
dveditz%netscape.com
d40645e347 bug 64835 r=ssu/sr=mscott: InstallTrigger.compareVersion() returning bad result
bug 11682 r=dbragg/sr=mscott: version registry requires UTF8, add missing conversions


git-svn-id: svn://10.0.0.236/trunk@86389 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:12:58 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
dveditz%netscape.com
6af0e3663a Bug 32867 XPInstall API cleanup, r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79320 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:45:03 +00:00
dbragg%netscape.com
7a4c1b2e85 Fix for nsbeta2+ bug #40783 r=ssu
git-svn-id: svn://10.0.0.236/trunk@72768 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:43:37 +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
ssu%netscape.com
7f30e74836 added bit field in nsInstallFile for Windows Shared File and Do No Uninstall.
added support in fileop for registering ole server files.

changed the way logging is done in install.log to write to the log file *before* the attempt to complete() the file installation process.  This helps with debugging because is shows what file the installation probably stopped on.


git-svn-id: svn://10.0.0.236/trunk@69622 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:07:05 +00:00
scc%netscape.com
47f0b60fe6 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67411 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:09:10 +00:00
ssu%netscape.com
dec4d7bdae fixing bug #7478. We now have an uninstaller for the installer on the Windows platform. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@67197 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:04:21 +00:00
dougt%netscape.com
a58aa50a52 Fixes problems in local file where getting a parent of a non-existant file did not work.
Fixes a problem if you tried to create a folder and it parents did not exist. 
Fixes a problem if you had a initialized with a FSSpec which was not resolved complete and you tried to add a relative path.
Fixing nsInstallFile to use nsIFile:: enums insteads of numbers.

r=sgehani, a=leaf


git-svn-id: svn://10.0.0.236/trunk@67167 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:50:24 +00:00
dougt%netscape.com
ff1dd2ab65 Fixing tree blocker. nsInstallFolder did not return an error code when
it could not initialize itself.  This caused crashes and return values which
were not correct.  I also fixed a huge about of memory leaks for allocation
of strings that were never freed.  r=dveditz, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@67001 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:23:44 +00:00
ssu%netscape.com
ca5fa8f4c3 fixing bug #35872. xpinstall engine now correctly creates nested dirs more than 1 level deep. This problem could have been the cause of the brownser not launching from a clean install (which I have experienced) because files were not getting installed into their proper subdirs.
git-svn-id: svn://10.0.0.236/trunk@66895 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 02:09:17 +00:00
dbragg%netscape.com
3dbf15e9a0 Fix for bug 24984, conversion to use nsIFile and related ilk.
git-svn-id: svn://10.0.0.236/trunk@66730 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 18:58:41 +00:00
scc%netscape.com
9b476989bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66254 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:38:58 +00:00
scc%netscape.com
96ed7ccb65 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64173 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:02:30 +00:00
jim_nance%yahoo.com
4e7663b8a1 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz


git-svn-id: svn://10.0.0.236/trunk@64065 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:11:55 +00:00
dbragg%netscape.com
54ed2ee67b Backend plumbin fix for bugs 17505 and 20046 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@63760 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:51:26 +00:00
dveditz%netscape.com
4eddb0ee15 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;


git-svn-id: svn://10.0.0.236/trunk@61370 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-20 03:12:59 +00:00
dbragg%netscape.com
eca516c7cc Fixes for bugs 10147, 22341, 24016 r=sgehani
git-svn-id: svn://10.0.0.236/trunk@59101 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:22:58 +00:00
dveditz%netscape.com
360bd398f3 Bug 20043, attempting to install an older file should not abort rest of install
git-svn-id: svn://10.0.0.236/trunk@55729 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:09:17 +00:00
dveditz%netscape.com
70cb614dd9 Checkin for dbragg, Bug 16214 make "folder" params objects rather than path strings, r=dveditz.
Bug 17509 add BLOATY instrumentation to XPInstall. A couple of minor leak fixes


git-svn-id: svn://10.0.0.236/trunk@54103 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-21 06:03:23 +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
dveditz%netscape.com
3f4468adf1 fixes 8271,6410,12694 and similar startup/registry problems
git-svn-id: svn://10.0.0.236/trunk@52701 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:46:38 +00:00
dougt%netscape.com
d1c2703cb2 Fixed a bunch of Freeing Memory Mismatches.
Now using Recycle.
Fixes 8538.


git-svn-id: svn://10.0.0.236/trunk@48783 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 04:43:03 +00:00
sgehani%netscape.com
c6e2c33e9c Adding i18n support to xpinstall: using StringBundleServcie.
git-svn-id: svn://10.0.0.236/trunk@48559 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 08:46:10 +00:00
dougt%netscape.com
7361aaba5a Fixing 12075, 12108, 10750.
cleaning up how strings are passed into the install object from js.


git-svn-id: svn://10.0.0.236/trunk@46194 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 18:58:26 +00:00
dveditz%netscape.com
f892f1b2c4 fixing Unix bustage. These were apparently set in xp_file.h but also in a Windows system header
git-svn-id: svn://10.0.0.236/trunk@46029 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 20:25:38 +00:00