Commit Graph

6581 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
c662fba363 Init charset utils if they are not initted yet - Firefox bringup 2004-05-27 18:56:36 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
9d1344f8ba Test backout to maybe fix mac orange. Bug 232691 2004-05-22 18:49:53 +00:00
bzbarsky%mit.edu
abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
jst%mozilla.jstenback.com
d7c3908a90 Fixing part of bug 241157. Making it valid for an nsIVariant to hold a interface pointer pointing to null. r=ben@bengoodger.com, sr=darin@meer.net. 2004-05-21 21:19:13 +00:00
bienvenu%nventure.com
6a42626115 back out part of patch in bug 241708 that breaks mailnews dirs on a different drive, r/sr/a=sspitzer 2004-05-20 17:46:35 +00:00
caillon%redhat.com
178bb153f1 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2004-05-18 18:09:16 +00:00
darin%meer.net
09b6471187 landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt 2004-05-18 06:18:15 +00:00
darin%meer.net
d38695483f landing patch for bug 243169 "nsStaticComponent.h should be standalone friendly" patch by marco@gnome.org r=darin sr=dougt 2004-05-18 05:39:45 +00:00
timeless%mozdev.org
6db62762d9 Bug 242382 Trunk build failure in nsObjectFrame.cpp
patch by roland.mainz@nrubsig.org r=roc sr=roc
2004-05-18 04:10:43 +00:00
timeless%mozdev.org
55a5e5ddbf Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin
2004-05-17 23:38:25 +00:00
jst%mozilla.jstenback.com
30f4e1ec2d Yet one more part for bug 243484. Clean up some string handling code in nsVariant, and do some other generic cleanup too. r+sr=peterv@propagandism.org 2004-05-13 22:52:14 +00:00
jst%mozilla.jstenback.com
ccbb6dceef Fixing bug 243484. Adding 'count' out params to ToNewUTF8String() and UTF8ToNewUnicode() that tells the caller how many units (8 or 16 bit) that was returned. r=dbaron@dbaron.org, sr=darin@meer.net 2004-05-13 17:45:03 +00:00
cls%seawood.org
790477e161 Make code more standards compliant to build with mingw gcc 3.4.0.
Bug #243273 r=bsmedberg sr=dbaron
2004-05-13 04:08:34 +00:00
cls%seawood.org
7f246234b3 Use standard AM_LANGINFO_CODESET macro instead of assume CODESET is available if nl_langinfo is.
Thanks to Adrian Bunk <bunk@fs.tum.de> for the patch.
Bug #160180 r=cls
2004-05-13 03:12:49 +00:00
bryner%brianryner.com
f129c38c01 Fix XPCOM_BREAK_ON_LOAD by restoring pre-string-branch Find() behavior when starting index is negative. Bug 243429, r+sr=darin 2004-05-12 19:26:30 +00:00
darin%meer.net
4bc648307b fixes bug 243151 "Bogus assertion: nsThread::kIThreadSelfIndex != 0" r=timeless,wtc 2004-05-11 18:33:32 +00:00
bsmedberg%covad.net
fbe50a0568 Allow XPCOM to be restarted. r+sr=darin with grudging consent from dougt. Bug 239819 2004-05-11 09:38:50 +00:00
darin%meer.net
63f37119b2 fixes bug 242985 "Define module for IPC specific error codes" r/moa=dougt 2004-05-11 05:04:25 +00:00
dougt%meer.net
9e4c35fa1b Fix for 239160. updated the list of extensions which are considered executable to match that of what Microsoft does for IE. r=darin, sr=bienvenu@nventure.com 2004-05-11 03:36:01 +00:00
smontagu%smontagu.org
bd087f358d Add code comments from bug 242315 comment 17. r+sr=bzbarsky. 2004-05-07 22:21:26 +00:00
darin%meer.net
acbef07688 fixes bug 241155 "Support multiple 'components' directories" r=bsmedberg moa=dougt 2004-05-07 00:50:53 +00:00
bienvenu%nventure.com
eaab8ccd67 fix build warnings introduced by 64 bit seekable streams, r=darin, sr=mscott, 242591, 242583 2004-05-04 23:32:32 +00:00
brendan%mozilla.org
bb8a0ca1ee Track Seek/Tell 32=>64-bit API change in DEBUG_MUX ifdefs. 2004-05-04 22:52:46 +00:00
roc+%cs.cmu.edu
0cd525a091 Bug 226439. Add EqualsASCII(char*) string method that compares with a null-terminated char* in a single pass. Have the non-templated EqualsLiteral use it. r+sr=dbaron 2004-04-30 12:05:14 +00:00
timeless%mozdev.org
a1a7a8aecc Bug 241708 nsIFile support for unc paths is almost entirely broken
Handle local computer (\\.) allowing enumeration of local drives, and
access to local computer from local drives via |parent|. The parent of
local computer is null.

r=darin sr=darin
2004-04-29 08:16:50 +00:00
darin%meer.net
cdedae5f14 adding test for RFindCharInSet with no explicit offset parameter 2004-04-29 03:36:47 +00:00
roc+%cs.cmu.edu
81bc2e5a85 Fix btek bustage ... I hope. 2004-04-28 19:23:58 +00:00
roc+%cs.cmu.edu
aaea444448 Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it. 2004-04-28 17:48:02 +00:00
timeless%mozdev.org
75e38db20f Bug 241710 nsILocalFile.getRelativeDescriptor(null) crashes
r=dougt
2004-04-28 12:53:20 +00:00
timeless%mozdev.org
df9ede2b39 Bug 241261 remove nsSample.js comment about bug 14460
r=dougt
2004-04-28 12:44:20 +00:00
darin%meer.net
96c93347b1 fixes bug 241876 "nsIDHashKey does not define a KeyEquals method" r+sr=bsmedberg 2004-04-27 17:07:42 +00:00
roc+%cs.cmu.edu
97abad3f9f Fixing bustage ... MSVC can't handle the array size template. 2004-04-24 22:46:24 +00:00
roc+%cs.cmu.edu
a1950ea73d Bug 226439. Use templates for ultra-efficient EqualsLiteral string method. r=darin,sr=dbaron. THIS MAY CAUSE BUSTAGE. DO NOT BE ALARMED. 2004-04-24 22:02:22 +00:00
bienvenu%nventure.com
4d40ab419f make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538 2004-04-22 15:32:54 +00:00
neil%parkwaycc.co.uk
c27f4d336c Removing unused variables b=90906 p=gautheri@noos.fr r=dbradley sr=Henry.Jia 2004-04-21 11:16:04 +00:00
jst%mozilla.jstenback.com
fb995ba45f Fixing bug 232742 (patch by mozilla@rosenauer.org). Make Mozilla build and run on Linux/x86-64. r+sr=darin@meer.net, jst@mozilla.jstenback.com 2004-04-20 21:38:15 +00:00
darin%meer.net
edc1e0d23c landing patch for bug 239716 "inout wstring methods are difficult to implement with nsEmbedString" patch by marco@gnome.org r=darin sr=dbaron 2004-04-20 00:21:34 +00:00
darin%meer.net
468eb96918 fixes bug 241022 "nsXPComInit.cpp has wrong offset checking for post 1.6 functions" patch by marco@gnome.org r+sr=darin 2004-04-19 22:33:33 +00:00
darin%meer.net
c9f9e1f23c fixes bug 240754 "Escape dots in the username and password when canonicalizing URIs" r=dougt sr=dveditz 2004-04-19 21:50:35 +00:00
cls%seawood.org
5249125cc3 Explicitly declare inlined function as inline & remove COM declaration.
Fixing native mingw build bustage.
Bug #240106 r=darin
2004-04-19 21:37:39 +00:00
bzbarsky%mit.edu
538c66e542 Fix RFindCharInSet to work again. Bug 240837, r+sr=darin 2004-04-19 20:18:05 +00:00
darin%meer.net
e1596abc85 adding testcases for FindCharInSet and RFindCharInSet, bug 240837 2004-04-19 20:12:52 +00:00
bzbarsky%mit.edu
a59c28f736 Don't store "no such component" entries in the hashtable when a contractid
lookup fails.  Now that we preload the registry, that serves no purpose.  Bug
230776, patch by Malcolm Rowe <malcolm-bmo@farside.org.uk>, r=dougt, sr=alecf
2004-04-18 17:35:29 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cbiesinger%web.de
0b005761a9 backing out 240192 patch 2004-04-16 20:10:47 +00:00
cbiesinger%web.de
2a913af4eb trying to fix bustage 2004-04-16 19:46:05 +00:00
cbiesinger%web.de
03c30951ad bug 240192, nsLocalFileUnix doesn't work with files larger than 2 GB
r+sr=darin
2004-04-16 19:01:58 +00:00
darin%meer.net
c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
cbiesinger%web.de
c88fe8ffac bug 235504, remove const char* version of nsCString::EqualsWithConversion,
second try
r=darin sr=dbaron
2004-04-15 20:44:53 +00:00
cbiesinger%web.de
a3e0432ac4 ...and this one, too 2004-04-14 21:20:06 +00:00
cbiesinger%web.de
ce0000dee3 backing out this part of my last checkin due to bustage 2004-04-14 21:19:29 +00:00
cbiesinger%web.de
6ad20397bf Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
2004-04-14 20:09:30 +00:00
brendan%mozilla.org
85b983ea03 Restore some lost empty lines, use number-line order in range-check asserts. 2004-04-13 23:17:18 +00:00
darin%meer.net
f4d81044d5 bumping IID of nsISeekableStream, b=180154 r+sr=brendan 2004-04-13 23:08:59 +00:00
darin%meer.net
72c1a2f196 Adding testcase for NS_CStringSetDataRange r=sparky 2004-04-13 22:14:54 +00:00
cbiesinger%web.de
f36e49d422 fix bustage 2004-04-13 19:34:40 +00:00
cbiesinger%web.de
d1fa5bd076 fix compile warnings in nsLocalFileWin, r=dougt bug 239298 2004-04-13 19:30:51 +00:00
cbiesinger%web.de
a8c9d6354b bug 240106, add 64-bit version of nsC?String::AppendInt
r=darin sr=dbaron
2004-04-13 19:13:49 +00:00
bienvenu%nventure.com
9e210e5568 make nsISeekableStream interface support 64 bit streams, part of 180154 also fix 207400 allow mail folders > 2GB r=darin, sr=mscott 2004-04-13 14:37:53 +00:00
Stefan.Borggraefe%gmx.de
b3e05f4a70 Fix for Bug 227135: "TestCallTemplates crashes - erroneous test"
p=aku, r=dbaron
2004-04-12 22:15:25 +00:00
darin%meer.net
e8861d5b69 fixing win32 bustage 2004-04-11 21:29:29 +00:00
darin%meer.net
50c5f2be4e fixes bug 239123 "exported functions in nsStringAPI.h should be frozen for 1.7 final" r=bsmedberg sr=dbaron a=asa 2004-04-11 20:52:32 +00:00
mkaply%us.ibm.com
7a33fc8997 #230618
r=pedemont, sr=blizzard (platform specific), a=mkaply
OS/2 only - we weren't removing the parent directory when we moved a directory
2004-04-08 20:30:37 +00:00
darin%meer.net
8b6ac86a2c fixes bug 239441 "AIX: Undefined symbols when linking mozilla-bin after Bug 239303" r=bsmedberg,dougt sr=dbaron a=brendan 2004-04-03 21:54:49 +00:00
darin%meer.net
11b4c2f2d6 fixes bug 239405 "strchr, strrchr, etc. implicit const_cast can cause problems for shared string buffers" r=bienvenu sr=dbaron a=chofmann 2004-04-03 17:16:17 +00:00
darin%meer.net
5e48976913 fixes bug 237590 "nsIBinaryInputStream inherits from nsIInputStream but can't be QI'ed to it" r=biesi sr=brendan a=brendan 2004-04-03 17:09:07 +00:00
bryner%brianryner.com
3e2d90ecb7 fixing hpux bustage, bug 239465, r=dbaron 2004-04-02 23:48:18 +00:00
darin%meer.net
8c48d9928d bustage fix for WIN32 debug seamonkey build, see bug 238088 2004-04-02 09:16:36 +00:00
darin%meer.net
d0849d425b make sure NS_UTF16ToCString and NS_CStringToUTF16 are exported from XPCOM.DLL 2004-04-01 23:33:05 +00:00
darin%meer.net
43b8682e4e fixing WIN32 bustage 2004-04-01 23:31:23 +00:00
bryner%brianryner.com
bd24b78f8d Fixing hpux bustage. r=dbaron. 2004-04-01 23:13:25 +00:00
darin%meer.net
a4963da5ce fixes bug 238088 "Support compile-time backwards compatible nsAString in Gecko SDK" r=bsmedberg sr=dbaron a=chofmann 2004-04-01 22:39:51 +00:00
darin%meer.net
d3c91aae68 fixes bug 239303 "provide basic string conversion routines for the Gecko SDK" r=bsmedberg sr=dbaron a=chofmann 2004-04-01 20:47:48 +00:00
bzbarsky%mit.edu
8935698b6f Add .scr to list of "executable" extensions. Wallpaper for bug 191460,
r=biesi, sr=darin, a=chofmann.
2004-03-30 23:53:05 +00:00
mkaply%us.ibm.com
dba5ed1238 238445 - r=mkaply, a=mkaply - my code sucked. Here's a better version from Javier Pedemonte 2004-03-26 05:29:18 +00:00
mkaply%us.ibm.com
924a50bdeb #237183
r=mkaply, sr=blizzard (platform specific), a=mkaply
OS/2 only - add support for exception handler to NSPR so we can catch floating point exceptions
2004-03-25 20:29:15 +00:00
mkaply%us.ibm.com
46f60f8e69 #238445
r=pedemont, sr=blizzard (platform specific code), a=mkaply
OS/2 only - need to allocate more space for our unicode to native conversions
2004-03-25 20:22:37 +00:00
neil%parkwaycc.co.uk
5a5283ca12 Supplementary patch to bug 227537 because some versions of gcc don't accept all placements of the visibility attribute r=bryner sr=blizzard a=asa 2004-03-25 19:55:16 +00:00
bsmedberg%covad.net
01e335833e Bug 236101 - flatten the directory structure of the embedding SDK. Consensus from dougt/adamlock/blizzard r=cls a=mkaply 2004-03-23 20:58:21 +00:00
pkw%us.ibm.com
04f59202ba Bug 237682 - AIX: Warnings about missing nsACString copy constructor
r/sr=darin@meer.net, a=asa@mozilla.org
2004-03-22 20:25:36 +00:00
jshin%mailaps.org
fdae3a7a59 bug 237290 : crash when configuring a new account on Mac (r=ccarlen, sr=bienvenu, a=chofmann) 2004-03-22 17:43:59 +00:00
pkw%us.ibm.com
7dc4d1e4f1 Bug 237545 - Need to support objmodel=ibm for AIX VisualAge C++ Compiler
r=cls@seawood.org, sr=shaver@mozilla.org, a=chofmann@mozilla.org
2004-03-19 16:59:56 +00:00
cls%seawood.org
4e4d1c2647 It never ends....
Bug #226609
2004-03-18 01:08:46 +00:00
darin%meer.net
7c70a6cb04 fixing a comment typo 2004-03-16 18:34:25 +00:00
cls%seawood.org
e887c496ee Fix mingw 3.3.1/3.3.3 bustage.
Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Remove dllimport/dllexport declarations from all nsXPTCStubBase functions and just export the class itself.
Bug #226609 r=shaver/swalker sr=dbaron a=chofmann
2004-03-16 08:07:25 +00:00
cls%seawood.org
3977ae5a71 Backing out changes from bug 226609. MSVC is being uncharacteristically picky. 2004-03-16 00:59:29 +00:00
cls%seawood.org
8e702f20f2 Fix mingw 3.3.1/3.3.3 bustage. Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Bug #226609 r=shaver sr=dbaron a=chofmann
2004-03-15 23:47:04 +00:00
scott%scott-macgregor.org
819efeac2a Back out the backout of Bug #235882. It looks like dbaron's leak fix actually fixed the regressions the component manager
changes caused for JS components.
2004-03-10 06:40:36 +00:00
scott%scott-macgregor.org
5ed82ec38c Backout Bug #235882. This broke the component manager's ability to load JS components leading to several regressions,
most noticeably: Bug #236952.
2004-03-10 06:11:10 +00:00
dbaron%dbaron.org
d775fce404 Fix leak regression from timeless's checkin yesterday. b=235882 r=caillon sr=jst 2004-03-09 23:17:19 +00:00
timeless%mozdev.org
666079e2c3 Bug 235882 Make nsComponentManagerImpl::AddLoaderType return only one type of value
r=dougt
2004-03-09 07:09:52 +00:00
darin%meer.net
1629547b88 adding null checks for bug 236003 "nsTSubstring::Equals(char *) crashes if passed a NULL pointer" r=dbaron 2004-03-09 06:23:35 +00:00
bryner%brianryner.com
90888b3e75 Mark NS_ENSURE_TRUE failure as unlikely. Bug 236753, r+sr=dbaron. 2004-03-09 00:46:55 +00:00
timeless%mozdev.org
f89754b7da Bug 190766 nsStackFrameUnix.cpp crashes on Solaris [@ write_address_file]
r=dbaron
2004-03-08 07:47:44 +00:00
timeless%mozdev.org
b99905cda6 Bug 235271 nsTimelineService - Warning (Anachronism): Formal argument ... of type extern "C" in call to ...(..., extern "C"...) is being passed something else
r=dbaron sr=dbaron
2004-03-08 07:27:06 +00:00
bryner%brianryner.com
146a922871 Add NS_LIKELY and NS_UNLIKELY macros that can be used to give the compiler branch probability information. Make NS_SUCCEEDED and NS_FAILED use these macros so that we optimize for the success case. Bug 236753, r+sr=dbaron. 2004-03-07 23:32:08 +00:00
jst%mozilla.jstenback.com
7ce3ca81d5 Fixing bug 236595. Making nsAdoptingString not adopt strings that aren't owned by the string that's adopted from. Also un-inlining operator=(const self_type&). r+sr=darin@meer.net 2004-03-06 03:29:49 +00:00