Граф коммитов

6706 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 377380315d Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
brofield%jellycan.com 5bc3cafffc Windows special system directories should preserve case b=221872 r=darin sr=dougt 2004-07-05 02:15:07 +00:00
cbiesinger%web.de 4466c4e953 bug 245927 add nsUint64, similar to nsInt64
r=bsmedberg sr=darin
2004-06-26 18:32:15 +00:00
cbiesinger%web.de f43128f04e bug 247491 document parameters of nsIStorageStream::init
r+sr=darin
2004-06-25 19:53:58 +00:00
darin%meer.net 98cb0c38d4 fixes regression caused by patch for bug 243473. patch by Brodie Thiesfield, r+sr=darin 2004-06-25 17:27:24 +00:00
timeless%mozdev.org 1c5b4a3bbd Bug 235744 Expose StorageStream class to Javascript
patch by nsayer@kfu.com r=darin sr=darin
2004-06-18 09:03:10 +00:00
timeless%mozdev.org a37c838fe6 Bug 235744 Expose StorageStream class to Javascript
patch by nsayer@kfu.com r=darin sr=darin
2004-06-18 08:35:14 +00:00
timeless%mozdev.org 00c0a7bda1 Bug 235744 Expose StorageStream class to Javascript
patch by nsayer@kfu.com r=darin sr=darin
2004-06-18 08:17:58 +00:00
darin%meer.net 38e9512e25 fixes bug 243473 "nsLocalFileWin shortcut resolver does more work than necessary" patch by brofield@jellycan.com r=darin sr=dougt 2004-06-17 16:37:25 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu 8194fc86a7 Bug 226439. Make nsCharTraits<PRUnichar>::ASCIIToLower handle Unicode characters whose lowercase form is ASCII. r+sr=darin 2004-06-16 23:29:49 +00:00
cbiesinger%web.de 651b84cbf0 bug 243974 can't download files larger than 4 GB
Also changes nsIResumableChannel to have a resumeAt function, that does not open the channel immediately, and changes its size parameter to a 64 bit integer
r=darin sr=bryner
2004-06-16 19:51:21 +00:00
tor%cs.brown.edu bd483bc79f Bug 153586 - Date.toLocaleString() not returning locale string.
r=jst, sr=brendan
2004-06-15 16:38:43 +00:00
bsmedberg%covad.net 5bd6577f63 Bug 244009 - implement profile preferences for EM (backend work for directoryservice preferences list) Migrating patch from aviary1.0 branch, r=me sr=darin 2004-06-14 05:55:13 +00:00
cbiesinger%web.de ce1e3fd94e fixing bustage... 2004-06-11 16:39:38 +00:00
cbiesinger%web.de 8efd04ae2e bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
jst%mozilla.jstenback.com 9f06b8ef8c Fixing bug 245930. Don't crash if attempting to replace data past the end of a string. r=dbaron@dbaron.org, sr=darin@meer.net 2004-06-08 22:30:11 +00:00
mozilla.BenB%bucksch.org b973ad780d bug 245399, part 2: use &#39; rather than &lsquo; for ' (single quote)
r+sr=jst
2004-06-08 10:47:09 +00:00
dougt%meer.net f010db00ad Fixes SplitPath which read off the end of the string. r=timeless sr=me b=245516 2004-06-08 05:03:59 +00:00
roc+%cs.cmu.edu d719dba0fe fixing bustage AGAIN. 2004-06-06 04:42:45 +00:00
roc+%cs.cmu.edu 8e5e248d0d fixing bustage. 2004-06-06 03:38:35 +00:00
roc+%cs.cmu.edu a05b357612 Bug 226439. Add ASCII and Literal versions of Append, EqualsIgnoreCase, and Assign. r+sr=darin 2004-06-06 02:17:00 +00:00
mozilla.BenB%bucksch.org dd2ed21b3a Bug 245399: HTML-escape ' (single quote), too 2004-06-05 22:26:46 +00:00
neil%parkwaycc.co.uk 25b6798f4b Bug 156422 Win32's nsILocalFile.reveal() doesn't select file p=dean_tessman r=law (tweaked by brofield@jellycan.com r=me) sr=alecf 2004-06-02 08:19:42 +00:00
cbiesinger%web.de dd579eaa22 bug 244911 nsEscape should document the meaning of the nsEscapeMask enum values
r+sr=darin
2004-06-01 19:55:01 +00:00
bsmedberg%covad.net b4e769b235 Bug 243973 - nsILocalFile.getRelativeDescriptor should not be case-sensitive on Windows. r+sr=darin 2004-05-29 15:37:44 +00:00
akkzilla%shallowsky.com d821e90703 243870: Suppress output to stdout in non-debug builds. r=cls sr=shaver 2004-05-27 20:54:46 +00:00
mkaply%us.ibm.com 24b31c8be8 Init charset utils if they are not initted yet - Firefox bringup 2004-05-27 18:56:36 +00:00
roc+%cs.cmu.edu b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu f79a6813af Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu 62f7fc6ea3 Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu f1a96e591e Test backout to maybe fix mac orange. Bug 232691 2004-05-22 18:49:53 +00:00
bzbarsky%mit.edu b733dd59da 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 26d765d7b8 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 ceef828fbe 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 e55198520c 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 3022002ea5 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 4a2c22ea42 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 7cd0f5a9f9 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 7b5970dc1f Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin
2004-05-17 23:38:25 +00:00
jst%mozilla.jstenback.com 80cb652b40 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 cf17d1ea41 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 38329136a7 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 9583cfaf4a 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 e94dce05c6 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 61e930ff11 fixes bug 243151 "Bogus assertion: nsThread::kIThreadSelfIndex != 0" r=timeless,wtc 2004-05-11 18:33:32 +00:00
bsmedberg%covad.net 5f4c45344b 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 1c6b5e1bda fixes bug 242985 "Define module for IPC specific error codes" r/moa=dougt 2004-05-11 05:04:25 +00:00
dougt%meer.net d54d76ced9 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 d77df46d0f Add code comments from bug 242315 comment 17. r+sr=bzbarsky. 2004-05-07 22:21:26 +00:00
darin%meer.net b3ad4e2639 fixes bug 241155 "Support multiple 'components' directories" r=bsmedberg moa=dougt 2004-05-07 00:50:53 +00:00
bienvenu%nventure.com a348600c38 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 0b263dedd4 Track Seek/Tell 32=>64-bit API change in DEBUG_MUX ifdefs. 2004-05-04 22:52:46 +00:00
roc+%cs.cmu.edu e162bfe14c 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 bd2c7f02f3 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 5236595825 adding test for RFindCharInSet with no explicit offset parameter 2004-04-29 03:36:47 +00:00
roc+%cs.cmu.edu 5681c95cd8 Fix btek bustage ... I hope. 2004-04-28 19:23:58 +00:00
roc+%cs.cmu.edu 1c438fcb5e 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 eb9446c6ee Bug 241710 nsILocalFile.getRelativeDescriptor(null) crashes
r=dougt
2004-04-28 12:53:20 +00:00
timeless%mozdev.org a557c6e084 Bug 241261 remove nsSample.js comment about bug 14460
r=dougt
2004-04-28 12:44:20 +00:00
darin%meer.net bb7aa43165 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 8b216481c1 Fixing bustage ... MSVC can't handle the array size template. 2004-04-24 22:46:24 +00:00
roc+%cs.cmu.edu f6c16c16eb 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 8b57f91769 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 8a0fdee8d6 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 2446e853ac 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 5aab09f9cb 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 077704c706 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 05cac6342e 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 3f0ed94c00 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 f61805b6d2 Fix RFindCharInSet to work again. Bug 240837, r+sr=darin 2004-04-19 20:18:05 +00:00
darin%meer.net 031dd75178 adding testcases for FindCharInSet and RFindCharInSet, bug 240837 2004-04-19 20:12:52 +00:00
bzbarsky%mit.edu 24a2f44477 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 6f486a3c92 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cbiesinger%web.de 42d5d584ae backing out 240192 patch 2004-04-16 20:10:47 +00:00
cbiesinger%web.de 64cbbca41c trying to fix bustage 2004-04-16 19:46:05 +00:00
cbiesinger%web.de 44d284fb14 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 25d84ac621 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 a600bb61fc 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 bdb19daac6 ...and this one, too 2004-04-14 21:20:06 +00:00
cbiesinger%web.de e034235712 backing out this part of my last checkin due to bustage 2004-04-14 21:19:29 +00:00
cbiesinger%web.de 6330e24449 Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
2004-04-14 20:09:30 +00:00
brendan%mozilla.org 70bc844f10 Restore some lost empty lines, use number-line order in range-check asserts. 2004-04-13 23:17:18 +00:00
darin%meer.net 54da783722 bumping IID of nsISeekableStream, b=180154 r+sr=brendan 2004-04-13 23:08:59 +00:00
darin%meer.net a7fd2c040f Adding testcase for NS_CStringSetDataRange r=sparky 2004-04-13 22:14:54 +00:00
cbiesinger%web.de 6005e19562 fix bustage 2004-04-13 19:34:40 +00:00
cbiesinger%web.de 480d5dd41f fix compile warnings in nsLocalFileWin, r=dougt bug 239298 2004-04-13 19:30:51 +00:00
cbiesinger%web.de 66ec9ed0ab 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 6fd0bba771 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 0b11ffef82 Fix for Bug 227135: "TestCallTemplates crashes - erroneous test"
p=aku, r=dbaron
2004-04-12 22:15:25 +00:00
darin%meer.net b969b5467a fixing win32 bustage 2004-04-11 21:29:29 +00:00
darin%meer.net 857768dd22 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 3eb4d9e496 #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 4ddc897d16 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 a3645b33e5 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 7616ea0c1a 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 3f83658858 fixing hpux bustage, bug 239465, r=dbaron 2004-04-02 23:48:18 +00:00
darin%meer.net 736ef23a06 bustage fix for WIN32 debug seamonkey build, see bug 238088 2004-04-02 09:16:36 +00:00
darin%meer.net 6f0f20787b make sure NS_UTF16ToCString and NS_CStringToUTF16 are exported from XPCOM.DLL 2004-04-01 23:33:05 +00:00
darin%meer.net 1388ad7357 fixing WIN32 bustage 2004-04-01 23:31:23 +00:00
bryner%brianryner.com aeecfdfb3a Fixing hpux bustage. r=dbaron. 2004-04-01 23:13:25 +00:00
darin%meer.net fe11eeac10 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 90dea5a70d 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 89e5bbb3f6 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 d90c9c230e 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 86c8b7fa25 #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 cb33dd608f #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 63e200f5f3 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 168f7225da 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 4fccc12ae8 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 f4f69e1299 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 30a68a5b7b 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 d2d084d7db It never ends....
Bug #226609
2004-03-18 01:08:46 +00:00
darin%meer.net 014f0c94ef fixing a comment typo 2004-03-16 18:34:25 +00:00
cls%seawood.org d12bd0dac7 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 b3977b384a Backing out changes from bug 226609. MSVC is being uncharacteristically picky. 2004-03-16 00:59:29 +00:00
cls%seawood.org 19e016c009 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 28dd4b96fe 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 9be49a8ee0 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 4b3bb1c3d4 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 c498f7b840 Bug 235882 Make nsComponentManagerImpl::AddLoaderType return only one type of value
r=dougt
2004-03-09 07:09:52 +00:00
darin%meer.net 22fb51ebf2 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 999f5bfe84 Mark NS_ENSURE_TRUE failure as unlikely. Bug 236753, r+sr=dbaron. 2004-03-09 00:46:55 +00:00
timeless%mozdev.org 2e799e3662 Bug 190766 nsStackFrameUnix.cpp crashes on Solaris [@ write_address_file]
r=dbaron
2004-03-08 07:47:44 +00:00
timeless%mozdev.org 020e9d61d3 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 d2eefcf3f2 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 4c855e9760 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
sicking%bigfoot.com c5fc880aab Bug 234725: Make create a special mechanism for nsQueryInterface rather then having it implement nsCOMPtr_helper to save codesize in callers of do_QueryInterface.
r=bryner sr=alecf
2004-03-04 23:04:27 +00:00
darin%meer.net 9ae962936a fixes bug 235272 "RFind is broken [was: Thunderbird treats two-letter folder msf files as folders themselves]" r=jst sr=bienvenu 2004-03-04 07:54:22 +00:00
timeless%mozdev.org 0e4a8e9606 Bug 209110 GetNativeTarget() function under win32 returns extra '\\'
esp for volume root
patch by Dainis_Jonitis@swh-t.lv r=dougt
2004-03-02 11:17:27 +00:00
timeless%mozdev.org ce24914420 Bug 202366 Problem with profile location and non-latin User Name in Mozilla 1.4+/Phoenix
patch by pharkas@yahoo.com.pl r=dougt sr=dveditz
2004-03-02 08:20:25 +00:00
timeless%mozdev.org 2bd2c934b4 Bug 235745 Possible leak or crash in nsStorageStream
patch by nsayer@kfu.com r=darin sr=darin
2004-03-02 01:13:15 +00:00
timeless%mozdev.org 7f7d5cb21b Bug 235744 Expose StorageStream class to Javascript
patch by nsayer@kfu.com r=darin sr=darin
2004-03-02 01:11:06 +00:00
timeless%mozdev.org 4895eedb8a Bug 235875 Replace NS_ERROR_SERVICE_NOT_FOUND
r=dougt
2004-02-29 08:04:46 +00:00
darin%meer.net 1d2d419885 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
brendan%mozilla.org 1f5de47936 Fix Read and Equals bugs, clean up other poor code (235307, r=dougt, sr=darin). 2004-02-25 23:38:40 +00:00
darin%meer.net dfb56fc04f fixes bug 235355 "hangs/crashes after choosing Server Settings in Mail&Newsgroup Account Settings, click o.k." r+sr=dbaron 2004-02-25 03:24:29 +00:00
darin%meer.net 0616fb43c2 fixes bug 234916 "Remove global/static NS_NAMED_LITERAL_C?STRING usage [was: Firefox crashes on startup on Mac OS X]" r=jst sr=dbaron 2004-02-25 02:08:34 +00:00
cls%seawood.org 999aee4f64 Explicitly mark inlined functions with |inline| & drop NS_COM since we rely upon these functions being inlined. Works around mingw gcc bustage.
Bug #226609 r=darin sr=dbaron
2004-02-23 22:12:03 +00:00
darin%meer.net 4cb3f58fa5 adding brackets to correct last checkin (r=gisburn) 2004-02-23 19:57:18 +00:00
darin%meer.net 7a7fae9c6a Checking in bustage fix for SUNPRO_CC (Sun Workshop/Forte), bug=235273
Thanks to timeless and gisburn for their help.
2004-02-23 19:24:41 +00:00
timeless%mozdev.org 1e44e21283 Bug 235207 Build failure in mozilla/xpcom/string/src/nsStringObsolete.cpp
patch by roland.mainz@nrubsig.org sr=dbaron
2004-02-23 01:43:44 +00:00
jst%mozilla.jstenback.com ff36d371c6 Duh, silly me. Fixing bogus attempt at casting... 2004-02-21 01:02:26 +00:00
darin%meer.net 375e6e74eb removing bogus const type qualifier to fix IRIX compiler warning (thanks to dbaron for noticing this) 2004-02-20 23:28:49 +00:00
jst%mozilla.jstenback.com cc358f3add Fixing bug 235041. Adding nsAdoptingString, a string class that can be returned by value from functions returning malloc'ed strings, w/o the overhead of extra string copying/mallocs. r=dbaron@dbaron.org, sr=darin@meer.net 2004-02-20 23:23:35 +00:00
cls%seawood.org d44793ecbe Add support for cross-compiling to mingw.
Bug #222013 r=bryner
2004-02-20 22:14:14 +00:00
timeless%mozdev.org 110ba9e499 Bug 235035 change nsIRunnable.Run to nsIRunnable.run
r=dougt sr=darin
2004-02-20 21:34:57 +00:00
darin%meer.net 75a9c01787 remove references to CBufDescriptor to fix WIN32 bustage 2004-02-20 02:07:09 +00:00
jshin%mailaps.org e2fe7bdc8d bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping) 2004-02-20 01:54:55 +00:00
darin%meer.net 8bc9bba9d5 landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.
2004-02-20 01:53:23 +00:00
jshin%mailaps.org daa1b2afcb fix the bustage (bug 233485 follow-up) 2004-02-19 12:01:52 +00:00
jshin%mailaps.org b4155c6050 bug 233485 : add 'size' parameter to nsAutoBuffer (patch for customers) : r=ccarlen, sr=rbs) 2004-02-19 11:00:29 +00:00
jshin%mailaps.org ad25d6ab11 bug 233485 : add 'size' parameter to nsAutoBuffer (r=ccalren, sr=rbs) 2004-02-19 10:50:20 +00:00
darin%meer.net 67f23e5fbd correcting bustage fix per dbaron: "reenable that for non-gcc compilers" 2004-02-19 06:29:08 +00:00
darin%meer.net 4417ce6baf bustage fix for gcc-2.95.3 (speedracer) and egcs-2.91.66 (btek+monkeypox) r=bz 2004-02-19 05:54:04 +00:00
darin%meer.net 87375f01c5 bustage fix for GCC 3.4 2004-02-19 04:18:18 +00:00
darin%meer.net 94158caa64 fixing OS/2 bustage from string branch landing,
nsString.h needs to continue to define IGNORE_CASE for backwards compatibility
2004-02-19 04:15:22 +00:00
darin%meer.net 340a06210a adding missing file for string branch landing 2004-02-19 03:04:25 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com f4ab9c7d04 Backing out nsHashtable dtor change (bug 229875) - this needs to be virtual. Thanks to bienvenu for pointing out the problem. 2004-02-13 19:04:38 +00:00
cls%seawood.org 332976510a Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle. (redux)
Bug #232763 r=dbaron sr=brendan
2004-02-11 07:16:11 +00:00
bryner%brianryner.com aebf1fa6fd Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron. 2004-02-11 06:19:03 +00:00
cls%seawood.org bc24ffd464 Backing out previous changes.
Missed a cplus_demangle call and it turns out that all of trace-malloc needs to be tweaked to use c++ instead of C.
Bug #232763
2004-02-10 18:55:04 +00:00
cls%seawood.org f390e6de11 Remove unneeded -liberty references.
Bug #232763
2004-02-10 17:21:14 +00:00
cls%seawood.org 1c32a0ea76 Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle.
Bug #232763 r=dbaron sr=brendan
2004-02-10 16:19:47 +00:00
jshin%mailaps.org 2a5271893e bug 227547: convert NFD to NFC on MacOS X : nsFileSpec patch (r=ccarlen, sr=dbaron) 2004-02-10 05:05:01 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
brendan%mozilla.org 220fbc1ec2 Typo in comment. 2004-02-07 05:38:56 +00:00
tor%cs.brown.edu 56ae9ec2f5 bustage fix 2004-02-07 03:06:25 +00:00
tor%cs.brown.edu 413c458749 bustage fix 2004-02-07 02:58:18 +00:00
tor%cs.brown.edu b46544f169 Bug 208314 - remove use of iostreams to allow building with compilers
that don't support classic C++ iostreams (ex: MSVC++ .net 2003).
r=timeless, sr=dbaron
2004-02-07 02:41:10 +00:00
ccarlen%mac.com c12df996a2 Bug 161982 - need an autobuffer impl available to all code. This is a template version of nsSpillableStackBuffer, which is defined in more than 1 place. r=brade/sr=bryner 2004-02-06 20:15:59 +00:00
jshin%mailaps.org a5dab7a379 bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz) 2004-02-06 09:49:22 +00:00
bryner%brianryner.com 0cf1253322 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner%brianryner.com 48117afde3 Turn off visibility until I can figure out how to fix this for older gcc's that won't accept visibility=default 2004-02-03 09:09:41 +00:00
bryner%brianryner.com 6c7448b0e3 Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin. 2004-02-03 08:32:33 +00:00
neil%parkwaycc.co.uk 575f7c4977 Bug 230707 nsRefPtrHashtable (like nsInterfaceHashtable but for refcounted objects of concrete types) r=bsmedberg sr=alecf 2004-01-31 12:37:36 +00:00
jst%mozilla.jstenback.com 1804c4910c Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
pinkerton%aol.net 60aa753170 add support for OSX 10.3 SDK support so build done on 10.3 can be run on
previous OS versions. Enabled with configure flag --with-macos-sdk=dir
(bug 224161, r=bryner)
2004-01-29 20:18:14 +00:00
dbaron%dbaron.org 94ae3e973e Speed up constructors of nsAutoString and nsCAutoString by calling nsStrPrivate::Initialize only once. b=188828 r=darin sr=alecf 2004-01-29 04:00:47 +00:00
bzbarsky%mit.edu b932e9f94c Make three changes:
1)  Use GetWeak() on the queue hashtable where possible
2)  Fix what looks like a bug in CreateEventQueue (passing wrong thread
    to MakeNewQueue).
3)  Fix what looks like a bug in PushThreadEventQueue (looking at the original
    queue for the thread rather than the youngest one).

Bug 230092, r=danm, sr=darin
2004-01-28 23:13:48 +00:00
jshin%mailaps.org f185240ddc follow-up to bug 227547 (not a bug) : added missing 'const' qualifier to the first parameter of CopyUTF8toUTF16NFC() 2004-01-28 08:21:39 +00:00
jshin%mailaps.org c1cd0c39a9 bug 227547: return local file names after converting NFD (decomposed Unicode) to NFC (composed Unicode) for consumers (Mac OS X only). r=ccarlen, sr=sfraser 2004-01-28 05:55:30 +00:00
bryner%brianryner.com 253f254d8c Some cleanup to nsProxyObject: implement refcounting without nsISupports inheritance, inline getters, and fix a few warnings. Bug 232022, r=dougt, sr=dbaron. 2004-01-25 10:39:02 +00:00
caillon%returnzero.com df88d7f6f8 Stop outputting comments pertaining to forward declared interfaces. See bug 232032 for details.
r=dbradley, sr=shaver
2004-01-24 23:01:55 +00:00
neil%parkwaycc.co.uk b636da4a57 Windows bustage fix - nsresult should have been NS_METHOD 2004-01-23 11:04:20 +00:00
neil%parkwaycc.co.uk 8697a8f8d8 Bug 227500 Provide scriptable environment access p=bsmedberg,gisburn r/sr=dougt 2004-01-23 10:23:12 +00:00
dbaron%dbaron.org ed7b08754f Comment this out until we figure out what to do about nsXPIDLString's shared empty buffer handle. b=112547 2004-01-22 04:30:03 +00:00
bryner%brianryner.com 8201c0cef1 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
jst%mozilla.jstenback.com d16a9953bb Fixing bug 183373. Provide XPCOM methods for accessing a shared empty string object. r=bryner@brianryner.com, sr=dbaron@dbaron.org 2004-01-21 21:36:40 +00:00
dbaron%dbaron.org 2ef815240d Fix Windows debug bustage. b=231737, 112547 2004-01-21 18:29:38 +00:00
peterv%propagandism.org a108b43b2f Rename verify to verifyThread to fix OS X debug build bustage. 2004-01-21 12:25:50 +00:00
dbaron%dbaron.org 598d651405 Assert when shared buffers are used on multiple threads. b=112547 r=jst sr=darin 2004-01-21 04:39:58 +00:00
tor%cs.brown.edu f195702b69 Bug 229652 - invalid gif could crash browser. r=darin, sr=bryner 2004-01-16 23:32:25 +00:00
bryner%brianryner.com 3639627c2d sigh. 2004-01-15 06:56:39 +00:00
bryner%brianryner.com 6231f12a7d fixing windows test bustage 2004-01-15 06:43:38 +00:00
bryner%brianryner.com bc829daafa Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
brendan%mozilla.org cd83246f90 Unify license comment per js/src/plify_jsdhash.sed, plus comment simplification. 2004-01-15 02:00:55 +00:00
bryner%brianryner.com a313655104 Kill old file full of IIDs. r=dbaron sr=jst 2004-01-14 23:12:41 +00:00
jst%mozilla.jstenback.com ce13bac37f Fixing bug 230849. Making LossyCopyUTF16toASCII() and CopyASCIItoUTF8() truncate the destination even when the source is null. r=jshin@mailaps.org, sr=peterv@propagandism.org 2004-01-14 19:26:17 +00:00