74 Commits

Author SHA1 Message Date
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +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
benjamin%smedbergs.us
7ec2fcfc80 Bug 214889 - remove nsFileSpec from xpinstall, patch by cls r=me
git-svn-id: svn://10.0.0.236/trunk@193063 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 20:21:22 +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
peterv%propagandism.org
70a436b743 Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162493 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 11:12:14 +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
cls%seawood.org
5bef9a23ea Fix misc build issues for mingw gcc 3.3.1:
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147027 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 17:22:33 +00:00
ssu%netscape.com
01fabdc144 checking in patch from jonwil@tpgi.com.au for bug 203892 - fix xpinstall in MingW. r=ssu, sr=dmose, a=leaf
git-svn-id: svn://10.0.0.236/trunk@141984 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 23:02:21 +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
ssu%netscape.com
7bcfb95f5b fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@140789 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 07:02:32 +00:00
mkaply%us.ibm.com
f9e54eb721 #153938
r=timeless, sr=dveditz
Convert some #if defined(XP_PC) && !defined(XP_OS2) to #ifdef XP_WIN


git-svn-id: svn://10.0.0.236/trunk@138351 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 19:07:10 +00:00
ccarlen%netscape.com
4ea79344a0 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@130418 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 12:23:39 +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
21ec8f1412 105087 r=dveditz, sr=mscott, a=asa
hook up the installer and the directory service


git-svn-id: svn://10.0.0.236/trunk@117968 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 23:56:43 +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
alecf%netscape.com
ed4e1c575e fix for bug 130095 - don't use unicode character conversion in the standalone xpinstaller - causes a crash.
r=cathleen, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@116502 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 23:53:51 +00:00
alecf%netscape.com
8755908f04 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa


git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +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
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
rjesup%wgate.com
0202c4da49 Bug 96710: (try 2). Right() takes number-of-chars-to-return, not position.
r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102509 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 03:44:33 +00:00
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
rjesup%wgate.com
977fe6eac8 Bug 96710: Misuse of string.Mid() - uses should be string.Right().
r=kin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102436 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:38:20 +00:00
dveditz%netscape.com
014da9b792 bug 91519 not cleaning up temp file after running an executable (e.g. the dreaded 'incomplete message after JRE install' bug)
git-svn-id: svn://10.0.0.236/trunk@101206 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 10:34:03 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dbragg%netscape.com
59cfea51bd Now stripping off trailing slashes and setting mFileSpec equal to nsnull when a bogus path
with double slashes is passed in.  Fixes bug 62861. r=dveditz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@88558 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 21:05:55 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +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
sgehani%netscape.com
a0562917b2 Merge pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80092 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:51:16 +00:00
sgehani%netscape.com
6b666fa74d Oops! Trunk not open: backing out last change.
git-svn-id: svn://10.0.0.236/trunk@80085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:02:28 +00:00
sgehani%netscape.com
a0377bc6df Merge pr3 branch to trunk for:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:00:39 +00:00
dveditz%netscape.com
888c26faf7 part of bug 32867, XPInstall API cleanup
git-svn-id: svn://10.0.0.236/trunk@79300 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:43:37 +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
ccarlen%netscape.com
a759366439 Convert use of nsIFileLocator to nsIDirectoryService.
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@76831 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:45:19 +00:00
mkaply%us.ibm.com
c627ac14a9 OS/2 Tinderbox break
Hey conrad@ingress.com - please watch out for us. You are breaking us A LOT.


git-svn-id: svn://10.0.0.236/trunk@76396 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:13:16 +00:00
conrad%ingress.com
a2cf6be101 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76139 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:31:57 +00:00
dveditz%netscape.com
6e72c7a7f6 bug 41165, fixing getFolder("file:///"), another casualty of the conversion to nsIFile
git-svn-id: svn://10.0.0.236/trunk@74675 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 09:40:49 +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
dveditz%netscape.com
69fa7a30f7 Getting installed overlays to work, dogfood bug 1011 in bugSCAPE. Also fixing
misc horkage (still!!) from the nsIFile landing necessary to get this working
(bugs 40228, 40403, 40405, 37964, 28950)


git-svn-id: svn://10.0.0.236/trunk@70743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 14:13:39 +00:00
dougt%netscape.com
0545061c8d fixing user profile directory and pref InstallFolder targets.
git-svn-id: svn://10.0.0.236/trunk@69470 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:03:44 +00:00
dveditz%netscape.com
3fa5174d39 Skin/Locale installer (bug 32688) and groundwork for bug 32689
git-svn-id: svn://10.0.0.236/trunk@68362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:23:11 +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
dougt%netscape.com
354bfa7dc3 Adding critical check for null.
removing unneded assignment to temp var.


git-svn-id: svn://10.0.0.236/trunk@66968 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 06:08:48 +00:00
scc%netscape.com
1acc00c9d4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66853 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 10:46:20 +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
rickg%netscape.com
e0d6147e77 replaced calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62729 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 20:50:01 +00:00