Commit Graph

6962 Commits

Author SHA1 Message Date
gerv%gerv.net
670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
pedemont%us.ibm.com
15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
darin%meer.net
e286aea889 fixing win32 bustage 2004-11-30 02:41:31 +00:00
darin%meer.net
9aee2fe67a fixes bug 270110 "Add versions of nsDependentString and friends to the Gecko SDK" r=bsmedberg 2004-11-30 00:57:24 +00:00
darin%meer.net
e149e8077b fixes bug 271630 "XPCOM glue broken on Linux/PPC [monkeypox orange]" r=bsmedberg 2004-11-30 00:28:48 +00:00
bryner%brianryner.com
2a500b8d07 Reduce string copying and allocation in the parser by only copying the scanner buffer when we need to mutate the string. Allow a nsDependentString / nsDependentSubstring to be created without being bound to anything. Move StripChar() onto nsSubstring from nsString. Bug 269853, r=jst, sr=darin. 2004-11-25 07:03:20 +00:00
vladimir%pobox.com
86363e20d8 b=266085, nsIWritablePropertyBag interface and hashtable component implementation; r=darin,sr=shaver 2004-11-24 23:21:14 +00:00
bryner%brianryner.com
0dedd4e02f Remove unused labels pointed out by dbaron. 2004-11-24 23:12:18 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
timeless%mozdev.org
6abcae9c71 Bug 270768 spelling
rs=brendan
2004-11-24 00:54:11 +00:00
darin%meer.net
d7a21f643e fixing MingW / GCC 3.4 build bustage 2004-11-23 22:19:13 +00:00
darin%meer.net
565164cf17 fixing win32 bustage 2004-11-23 21:39:51 +00:00
darin%meer.net
6d8591d85f fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
timeless%mozdev.org
0f580b3f96 Bug 251078 Remove xpcom's rebase utility
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 20:00:26 +00:00
timeless%mozdev.org
d01dd1aa4c Bug 249782 Make Mozilla compile with Microsoft Visual Studio 2005
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 19:34:02 +00:00
bsmedberg%covad.net
ab83401377 Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767 2004-11-23 17:20:00 +00:00
darin%meer.net
fb4ede0f57 alternate fix for bug 234620 "Unknown random SEGV/seg fault/core dumps/crashes, only thing on is Mail/IMAP"
in an attempt to avoid crash bug 269585, r=dbaron sr=bienvenu a=asa
2004-11-19 19:06:58 +00:00
darin%meer.net
90246214db fixes bug 264274 "support dependent strings in frozen string API" r=biesi sr=bsmedberg 2004-11-16 04:44:57 +00:00
darin%meer.net
f103a62f64 fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky 2004-11-15 20:16:52 +00:00
bsmedberg%covad.net
2ab6a99b48 Remove extraneous semicolon (breaks gcc3.4 and mingw) r=bustage 2004-11-12 21:46:49 +00:00
bsmedberg%covad.net
82022506fd Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
jst%mozilla.jstenback.com
6d2f6721eb Fixing bugstage. 2004-11-11 20:48:45 +00:00
jst%mozilla.jstenback.com
c89c3224a3 Fixing bug 267269. Make nsIProcess::Run() use NSPR code for running the process if arguments are passed. r=pinkerton@aol.net, sr=bzbarsky@mit.edu 2004-11-11 19:42:26 +00:00
jshin%mailaps.org
a58a3f011f bug 268219 NS_CopyNativeToUnicode/NS_CopyUnicodeToNative on Mac OS X should use CopyUTF8toUTF16/CopyUTF16toUTF8, r=ccarlen sr=darin 2004-11-08 05:20:05 +00:00
cbiesinger%web.de
6359f9fb2c fixing more build bustage 2004-11-08 01:27:35 +00:00
darin%meer.net
950a78482d fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
darin%meer.net
a3a42ca4f6 fixes bug 234620 "Unknown random SEGV/seg fault/core dumps/crashes, only thing on is Mail/IMAP" r=dbaron sr=bienvenu 2004-11-04 02:34:11 +00:00
roc+%cs.cmu.edu
5b10c8c493 Bug 265084. Lay the groundwork for nscoord being a float, by introducing nsIntRect/Point/Size/Margin and wrapper functions for doing tricky nscoord operations. r+sr=bzbarsky 2004-11-03 02:48:04 +00:00
cbiesinger%web.de
3f64219c22 fixing gcc 3.4 bustage with --enable-timeline, bug 261293 2004-11-01 22:37:14 +00:00
darin%meer.net
873f8ad744 fix win32 bustage. make sure we still export required nsComponentManager:: methods 2004-11-01 20:22:49 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
timeless%mozdev.org
72625c5395 Bug 250152 Remove XPT_PARAMDESCRIPTOR_SIZE
r=dbradley
2004-11-01 02:35:28 +00:00
darin%meer.net
abcd15ca39 fixes bug 266006 "xpcom/glue should not declare methods with NS_COM" r=bsmedberg 2004-10-29 19:43:51 +00:00
darin%meer.net
bd8b7d985b fixes bug 266564 "No need to include XPCOM.DLL in the Gecko SDK" r=bsmedberg 2004-10-29 19:09:02 +00:00
dveditz%cruzio.com
dda30fd22f bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst 2004-10-28 22:52:45 +00:00
kjh-5727%comcast.net
0c4917ad12 Bug 264326 - xpcom fixes for s390(x). Patch by Wolfgang Rosenauer <mozilla@rosenauer.org>, r/sr=shaver. 2004-10-28 18:13:12 +00:00
timeless%mozdev.org
f731589825 Bug 254555 mark nsConsoleService as nsIClassInfo::THREAD_SAFE
r=dougt
2004-10-28 07:34:41 +00:00
darin%meer.net
07c028ea2d Applying fix for smoketest blocker, bug 266214 "Browser will not start after install (xpcom_core.dll not found)" 2004-10-27 08:10:40 +00:00
bzbarsky%mit.edu
e7cc653157 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron
2004-10-27 02:19:43 +00:00
neil%parkwaycc.co.uk
6a176399ec Bug 253941 Compilers that know about explicit constructors should be able to stop you from assigning nsISupports and derived pointers directly into incompatible nsCOMPtrs r=scc sr=dbaron 2004-10-25 21:45:00 +00:00
mkaply%us.ibm.com
27cb040fd1 OS/2 build bustage - don't ask 2004-10-25 20:45:17 +00:00
darin%meer.net
0c816c6f44 moved build/nsStringAPI.cpp into stub/ to fix win32 depend build bustage, r=bsmedberg 2004-10-25 20:35:12 +00:00
darin%meer.net
3eb2f75165 fixes bug 263957 "Convert nsProperties to nsTHashtable, implement GetKeys" r=bsmedberg sr=shaver 2004-10-25 19:52:48 +00:00
darin%meer.net
52ac61d678 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
bzbarsky%mit.edu
608e73b236 nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
r=darin, sr=dbaron
2004-10-24 17:24:25 +00:00
jst%mozilla.jstenback.com
f2355ab868 Fixing problem where mExitValue is unconditionally -1 on the mac after running a process. No bug. r+sr=dbaron@dbaron.org, a=asa@mozilla.org 2004-10-22 23:55:56 +00:00
bzbarsky%mit.edu
e4430de4cc Fix nsPageFrame to not set string lengths to negative numbers, and fix string
code to not go into an infinite loop if someone tries it.  Bug 263365,
r+sr=darin
2004-10-19 21:46:45 +00:00
cls%seawood.org
caaadd840e Remove .type & .size directives when building on win32. Fixes mingw binutils 2.15.91 bustage.
Bug #262422 r+sr=dmose
2004-10-17 04:29:52 +00:00
dbaron%dbaron.org
09e98b2a17 Reduce code size and work done by do_GetInterface by removing unneeded inline nsCOMPtr. Pointed out by Bernard Alleysson <balleysson@bigfoot.com>. b=264456 r=darin 2004-10-15 18:03:35 +00:00
dbaron%dbaron.org
fabeac3176 Reduce code size of do_GetService by moving an nsCOMPtr and QueryInterface out of the part that's done inline. b=264456 r=darin 2004-10-15 17:44:30 +00:00
jshin%mailaps.org
5c19105292 bug 263462 : NS_UnescapeURL doesn't honor esc_OnlyNonASCII (r=darin, sr=jst) 2004-10-12 08:48:31 +00:00
jst%mozilla.jstenback.com
11bc8f51a4 Fixing bug 263429. Making nsProcessCommon::Run() work on Mac OS X. r=peterv@propagandism.org, sr=dveditz@cruzio.com 2004-10-12 05:31:37 +00:00
shaver%mozilla.org
1b9fe6c972 bug 78414: fix m68k xptcall codefor -fomit-frame-pointer; patch from Richard Zidlicky <rz@linux-m68k.org> 2004-10-08 22:10:08 +00:00
shaver%mozilla.org
c99fe51cfd fix DEBUG_shaver build, r=biesi, sr=lumpy 2004-10-07 21:50:51 +00:00
kjh-5727%comcast.net
c52fe66842 Bug 258321 - copy + paste error in comment. Patch by Justin Wood (116057@bacon.qcc.mass.edu), comment change only. 2004-10-07 18:20:19 +00:00
dbaron%dbaron.org
338d2bb649 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
dbaron%dbaron.org
0bfe106289 Make printfs easier to understand. b=261310 r=darin 2004-10-02 00:43:21 +00:00
darin%meer.net
cff105e06c fixing win32 bustage (hopefully) 2004-09-29 20:24:53 +00:00
darin%meer.net
bf911ed5ea Adding testcase from bug 207846 2004-09-29 16:48:10 +00:00
darin%meer.net
c0d4ded502 fixes bug 207846 "M17 FF09x [@ msvcrt.dll - nsStorageInputStream::Read] Miscellaneous non-repeatable browsing crashes" r=dbradley sr=bzbarsky 2004-09-29 16:45:22 +00:00
brendan%mozilla.org
122f471531 Retract last change, it's wrong -- thanks again to lcook@sybase.com. 2004-09-22 02:37:49 +00:00
brendan%mozilla.org
2b2ca27201 Followup to last checkin (252324, r+sr=bz). 2004-09-22 01:04:33 +00:00
bienvenu%nventure.com
8657fc1866 fix problems accessing local folders with unc path local dirs, r=bienvenu, sr=mscott, patch by slavek.banko@axis.cz 133153 2004-09-21 17:56:44 +00:00
brendan%mozilla.org
5c46d927b8 Patch from Larry Cook <lcook@sybase.com> to fix long-delay timer queue order bug (252324, r+sr=me). 2004-09-21 01:11:47 +00:00
cls%seawood.org
6b54ce8078 Only use Debugger() if building against carbon or cocoa toolkits.
Fixing OSX/X11 bustage.
Bug #249028 sr=darin
2004-09-18 16:35:28 +00:00
dbaron%dbaron.org
3118860f30 Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin 2004-09-14 17:17:21 +00:00
timeless%mozdev.org
663fe88b47 Fixing nondebug mAddr is a debug paranoia thing. 2004-09-10 06:02:07 +00:00
timeless%mozdev.org
8aeaa98ae9 Bug 252733 ###!!! ASSERTION: Potential deadlock between Monitor@12f0a8 and Monitor@0: 'Error', file r:/mozilla/xpcom/threads/nsAutoLock.cpp, line 299
Ignore null monitors - they aren't real and xpconnect promises not to enter them so you can't possibly reach a deadlock involving them.
r=brendan sr=brendan
2004-09-10 05:13:38 +00:00
darin%meer.net
e5a653f18b output number of leaked string buffers 2004-09-07 19:57:20 +00:00
darin%meer.net
b853169d42 landing v1.1 patch for 257162 "core changes required to enable XULRunner functionality" r=bsmedberg 2004-09-07 18:59:07 +00:00
dbaron%dbaron.org
eaaee58283 Make Linux/alpha port work on gcc 3.x. b=86446 Patch from Glen Nakamura <glen@imodulo.com>. r=dbaron sr=shaver 2004-09-06 16:14:30 +00:00
bryner%brianryner.com
60809809d5 HPUX aCC A.01.21 can't deal with the literal string template, so disable it, at least for this compiler version. Bug 239465, r=dbaron. 2004-09-05 22:55:34 +00:00
cbiesinger%web.de
c3d23a6ea2 Bug 258014 make @param names match function signature
r+sr=darin
2004-09-05 13:25:51 +00:00
aaronleventhal%moonset.net
e757042645 Comment fix. SingletonFactory no longer exists. r+sr=shaver 2004-09-02 15:38:56 +00:00
vladimir%pobox.com
3e8d2f24f4 b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver 2004-08-30 22:25:29 +00:00
bsmedberg%covad.net
9815f3c616 bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt 2004-08-28 20:11:15 +00:00
timeless%mozdev.org
5dccbf31f6 Bug 256615 crash when calling nsIThread.state before calling nsIThread.init [@ PR_GetThreadState]
patch by cst@andrew.cmu.edu r=dougt
2004-08-26 12:31:56 +00:00
timeless%mozdev.org
6443b930ea fixing url. suggested by jw6057@bacon.qcc.mass.edu 2004-08-25 06:38:18 +00:00
mkaply%us.ibm.com
bb3f6c6fcd #247962
r=pedemonte, sr=blizzard (platform specific)
Remove DLL_InitTerm from NSPR - move it to Mozilla code
2004-08-20 15:03:00 +00:00
bryner%brianryner.com
c25cd050f3 Make static components support deferred registration to fix bug 254967. Follow-on to bug 123197. r=shaver, a=asa. 2004-08-11 21:14:51 +00:00
caillon%redhat.com
2fdef090da These are C++ files; not IDL. rs=bzbarsky 2004-08-11 07:00:43 +00:00
timeless%mozdev.org
1d75a049ee Bug 251749 use initializers for ShortcutResolver::ShortcutResolver() and nsLocalFile::nsLocalFile() and clobber mFileInfo64
r=darin sr=darin
(changing style per darin)
2004-08-02 06:10:37 +00:00
bryner%brianryner.com
b314485f51 Change the semantics of the .autoreg file so that it can be used for Firefox and Thunderbird to trigger re-registration in all profiles. Rather than checking for the existance of the file, registering, and deleting it, we'll always compare the timestamp of .autoreg to that of the profile compreg.dat, and re-register if .autoreg exists and is newer. Bug 252905, r=darin. 2004-07-31 15:26:25 +00:00
db48x%yahoo.com
71f9388bc5 bug 244956: Small correction to comments in nsStringAPI.h
patch by Jonathan Watt <jonathan.watt@strath.ac.uk>, r/sr=shaver
2004-07-30 16:00:59 +00:00
dwitte%stanford.edu
925977835a make nsSafeFileOutputStream follow target symlinks.
b=252050, r=biesi, sr=darin
2004-07-30 05:00:32 +00:00
timeless%mozdev.org
2bc735d388 Bug 238963 nsObserverList::GetObserverList should return OOM on failure
r=dougt
2004-07-30 02:43:13 +00:00
brofield%jellycan.com
4221b9c089 bug 148704: directories should always return PR_TRUE from IsWritable(), r=darin sr=dougt 2004-07-29 23:25:32 +00:00
brofield%jellycan.com
a37f425a12 bug 187957: implement nsIFile.normalize for windows and os/2, r=darin sr=dougt 2004-07-29 15:08:25 +00:00
darin%meer.net
3c3e38fe29 fix uninitialized variable warning (does not correspond to a real bug) 2004-07-29 13:48:08 +00:00
cbiesinger%web.de
df64131ac2 Bug 198694 make nsTime inherit from nsInt64
r=bsmedberg sr=dougt
2004-07-28 21:33:28 +00:00
cbiesinger%web.de
07e6f643be adding missing NS_COM to fix win bustage 2004-07-25 13:58:47 +00:00
cbiesinger%web.de
95f74ea211 remove InsertWithConversion
Bug 113234 r=darin sr=dbaron
2004-07-25 12:25:43 +00:00
cbiesinger%web.de
8148905a30 Bug 113243 Get rid of (Compare|Equals)WithConversion
r=darin sr=dbaron
2004-07-25 12:23:28 +00:00
cbiesinger%web.de
edd98105f6 Bug 252541 remove nsString::IsSpace and nsString::IsASCII
r=darin sr=dbaron
2004-07-25 12:12:39 +00:00
timeless%mozdev.org
658be9afd5 Bug 237094 [W] UMC: Uninitialized memory copy in nsLocalFile::nsLocalFile(nsLocalFile const&) {1 occurrence}
r=dougt
2004-07-25 05:39:26 +00:00
mkaply%us.ibm.com
ae6ca1e908 This stuff doesn't work on OS/2 and is causing thousands of warnings errors 2004-07-22 20:27:48 +00:00
tor%cs.brown.edu
f463a3d401 Bug 249048 - Implement SVG exceptions.
p=jonathan.watt@strath.ac.uk, r=afri, sr=peterv
2004-07-22 18:34:36 +00:00
peterv%propagandism.org
994a35f4b3 Fix for bug 249028 (Make XPCOM_DEBUG_BREAK=trap work on OS X). r=bryner, sr=dougt. 2004-07-22 14:44:38 +00:00
cbiesinger%web.de
f59c8b4564 Bug 251277 add a Clear() function to remove all elements from an nsValueArray
r=bsmedberg sr=dougt
2004-07-21 12:30:52 +00:00
darin%meer.net
71af9d4396 fixes bug 248695 "string code misuses realloc" r=timeless sr=dbaron 2004-07-19 20:01:42 +00:00
darin%meer.net
f430137b16 fix for bug 240986 "XPCOM sample fails to start inside xpcshell" r=bsmedberg,dougt 2004-07-19 19:27:24 +00:00
gerv%gerv.net
c01bb2d438 Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups. 2004-07-16 19:09:02 +00:00
dbaron%dbaron.org
4c9caa3458 Only use __attribute__ on gcc 3 or higher. Fixing bustage. b=249652 2004-07-15 00:00:43 +00:00
dbaron%dbaron.org
13588951d2 Only use __attribute__ on gcc 3 or higher. Fixing bustage. 2004-07-14 23:43:15 +00:00
bryner%brianryner.com
23089547be 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
53ba322f42 Windows special system directories should preserve case b=221872 r=darin sr=dougt 2004-07-05 02:15:07 +00:00
cbiesinger%web.de
41bff105d2 bug 245927 add nsUint64, similar to nsInt64
r=bsmedberg sr=darin
2004-06-26 18:32:15 +00:00
cbiesinger%web.de
fc0dbfa1e8 bug 247491 document parameters of nsIStorageStream::init
r+sr=darin
2004-06-25 19:53:58 +00:00
darin%meer.net
0ba4af6e92 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
187f14848c 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
35afdff233 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
93570a8d34 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
0a20fabb63 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
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
442a384196 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
8ef49c61c2 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
9f26f1dadb Bug 153586 - Date.toLocaleString() not returning locale string.
r=jst, sr=brendan
2004-06-15 16:38:43 +00:00
bsmedberg%covad.net
6d282ef4ce 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
c36edfc815 fixing bustage... 2004-06-11 16:39:38 +00:00
cbiesinger%web.de
a4396ff7b4 bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
jst%mozilla.jstenback.com
7d0180067b 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
c79957a8f9 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
59cdf66913 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
3e1ec49312 fixing bustage AGAIN. 2004-06-06 04:42:45 +00:00
roc+%cs.cmu.edu
250f041a52 fixing bustage. 2004-06-06 03:38:35 +00:00
roc+%cs.cmu.edu
07612ec0fd 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
c9b08c0bc9 Bug 245399: HTML-escape ' (single quote), too 2004-06-05 22:26:46 +00:00
neil%parkwaycc.co.uk
f3b448e4ef 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
13366b51ba 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
080cf988db 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
4bfbb02f86 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
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
sicking%bigfoot.com
82c3229f9b 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
6a9b4c1c76 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
1ac7c0cb72 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
d0cad70397 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
e8080a558a 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
b59a697f27 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
014f0b61a7 Bug 235875 Replace NS_ERROR_SERVICE_NOT_FOUND
r=dougt
2004-02-29 08:04:46 +00:00
darin%meer.net
c380c59f65 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
65bbfda81a 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
80f8efd35c 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
f6875e2d3c 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
8d3deb6978 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
d3491a301b adding brackets to correct last checkin (r=gisburn) 2004-02-23 19:57:18 +00:00
darin%meer.net
fb4fea465d 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
93ff09dd87 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
ea534cf241 Duh, silly me. Fixing bogus attempt at casting... 2004-02-21 01:02:26 +00:00
darin%meer.net
adf6f03670 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
add5e48c18 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
4e1a592115 Add support for cross-compiling to mingw.
Bug #222013 r=bryner
2004-02-20 22:14:14 +00:00
timeless%mozdev.org
f2fd2d0e42 Bug 235035 change nsIRunnable.Run to nsIRunnable.run
r=dougt sr=darin
2004-02-20 21:34:57 +00:00
darin%meer.net
a3c2f914bf remove references to CBufDescriptor to fix WIN32 bustage 2004-02-20 02:07:09 +00:00
jshin%mailaps.org
e5dab37fe0 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
44ce35aebb 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
b0128f0d34 fix the bustage (bug 233485 follow-up) 2004-02-19 12:01:52 +00:00
jshin%mailaps.org
cf9d6a4895 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
a99b882982 bug 233485 : add 'size' parameter to nsAutoBuffer (r=ccalren, sr=rbs) 2004-02-19 10:50:20 +00:00
darin%meer.net
ac7b627975 correcting bustage fix per dbaron: "reenable that for non-gcc compilers" 2004-02-19 06:29:08 +00:00
darin%meer.net
aa60ebaca5 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
6154264bd2 bustage fix for GCC 3.4 2004-02-19 04:18:18 +00:00
darin%meer.net
07f71da316 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
0ee0bc5fec adding missing file for string branch landing 2004-02-19 03:04:25 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com
ac9cbd3e87 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
486c2570e0 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
85dbf281fb 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
1a0e9742d7 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
cdb23f59f9 Remove unneeded -liberty references.
Bug #232763
2004-02-10 17:21:14 +00:00
cls%seawood.org
761be36b61 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
f6dd17228d 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
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
brendan%mozilla.org
1ac6f0f662 Typo in comment. 2004-02-07 05:38:56 +00:00
tor%cs.brown.edu
0cc458ef37 bustage fix 2004-02-07 03:06:25 +00:00
tor%cs.brown.edu
151ccda200 bustage fix 2004-02-07 02:58:18 +00:00
tor%cs.brown.edu
bbf2ef596f 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
90910fcb46 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
0f9983b873 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
6e68ebaa46 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
e93d497a66 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
0ca4d12034 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
d83422b6c2 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
90431d8022 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
6233fbb29e 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
36f4864d42 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
6d6ba3ce56 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
4ffa3b1e3f 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
8c6b7db6f8 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
0518680d42 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
34ea7dea67 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
e7f26bd617 Windows bustage fix - nsresult should have been NS_METHOD 2004-01-23 11:04:20 +00:00
neil%parkwaycc.co.uk
19a8ab3904 Bug 227500 Provide scriptable environment access p=bsmedberg,gisburn r/sr=dougt 2004-01-23 10:23:12 +00:00
dbaron%dbaron.org
8b1b6977cf 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
a10a5e8383 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
jst%mozilla.jstenback.com
fc9f3d6ea3 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
345194dd62 Fix Windows debug bustage. b=231737, 112547 2004-01-21 18:29:38 +00:00
peterv%propagandism.org
f277ca4791 Rename verify to verifyThread to fix OS X debug build bustage. 2004-01-21 12:25:50 +00:00
dbaron%dbaron.org
a075871e8e 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
285c42cad8 Bug 229652 - invalid gif could crash browser. r=darin, sr=bryner 2004-01-16 23:32:25 +00:00
bryner%brianryner.com
c10588c67c sigh. 2004-01-15 06:56:39 +00:00
bryner%brianryner.com
9c6d198eba fixing windows test bustage 2004-01-15 06:43:38 +00:00
bryner%brianryner.com
0c7c3a2ff3 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
1d61995445 Unify license comment per js/src/plify_jsdhash.sed, plus comment simplification. 2004-01-15 02:00:55 +00:00
bryner%brianryner.com
f464f8b3fc Kill old file full of IIDs. r=dbaron sr=jst 2004-01-14 23:12:41 +00:00
jst%mozilla.jstenback.com
05f83fbe5d 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
bzbarsky%mit.edu
8093efd14c Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bryner%brianryner.com
e078b585e3 Remove unused nsStatistics (bug 230599). r=dougt, sr=jst. 2004-01-13 20:59:10 +00:00
bryner%brianryner.com
da21ab0661 Remove unused PLVector and nsVector (bug 230556). r=dougt,sr=dbaron 2004-01-12 22:47:52 +00:00
bzbarsky%mit.edu
385b61a598 Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
returns" nirvana.  Bug 230092, r=bsmedberg, sr=darin
2004-01-10 02:00:40 +00:00
bryner%brianryner.com
0286fde9c1 Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron. 2004-01-09 22:18:26 +00:00
bryner%brianryner.com
dac4fa30ed Remove obsolete string service. Bug 230484, r=dougt, sr=dbaron. 2004-01-09 21:43:32 +00:00
bryner%brianryner.com
00aae51b9d removing dead file. not part of the build. 2004-01-09 09:06:23 +00:00
bryner%brianryner.com
9cd047f172 removing some old dead (or never alive) files. not part of the build. 2004-01-09 08:49:01 +00:00
roc+%cs.cmu.edu
7cbc0c61b9 Bug 118117. Fix bad constants. patch by tenthumbs, r=roc,sr=bz 2004-01-09 04:37:19 +00:00
bzbarsky%mit.edu
b95073aa5c Allow building on Darwin/x86. Bug 213541, patch by cls and
waldmire@illinoisalumni.org (Ed Waldmire), r=bryner
2004-01-08 18:17:07 +00:00
bsmedberg%covad.net
d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
jshin%mailaps.org
026e966b62 bug 228176 : in the previous checkin, missed the reviewer comment about the name change (exclude -> skip) 2004-01-07 04:17:40 +00:00
jshin%mailaps.org
8ea11801c8 bug 228176 exclude control characters from unescaping URLs for the UI : r=darin, sr=jst 2004-01-07 03:57:20 +00:00
bsmedberg%covad.net
274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
bzbarsky%mit.edu
eb0805091d Use the right dir as the default download location. Bug 204548, patch by
josha@mac.com (Josh Aas), r=sdagley, sr=bzbarsky
2004-01-06 07:37:55 +00:00
bzbarsky%mit.edu
7d1f0c7ed2 Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf 2004-01-05 23:43:28 +00:00
neil%parkwaycc.co.uk
903d0c79bf Supplementary patch to bug 66868 to use attribute AString unicodePath; r=mkaply sr=mscott 2004-01-05 17:22:43 +00:00
jshin%mailaps.org
94a487518f bug 225125 : open/save dialog crashes mozilla on coming across 'invalid' filenames ; tentative measure (r=smontagu, sr=darin) 2004-01-04 08:20:52 +00:00
scott%scott-macgregor.org
61153fdd3a Bug #66868 --> Location of profile is incorrect shown when the path contains non-ascii chars
Patch by Mike Kaply

r=dougt
sr=tor
2004-01-04 04:44:01 +00:00
dbaron%dbaron.org
b7de5d5648 Remove pc tests in stack walking code that prevent it from working on Fedora Core 1. b=227396 r=bryner 2004-01-03 19:16:31 +00:00
cbiesinger%web.de
55abef3994 addressing the reviewer comments 2003-12-29 13:22:49 +00:00
cbiesinger%web.de
b3516a4418 bug 228794, r=bsmedberg sr=alecf
add nsInterfaceHashtable::GetWeak
2003-12-29 13:21:21 +00:00
cbiesinger%web.de
f1d3381adb Bug 183871
Crash on "Show hidden files and directories" [@ nsFileView::SetDirectory(nsIFile*) ]
fix: don't let files be initialized with relative paths.
also fix the directory service to not do that.

r=dougt sr=bzbarsky
2003-12-25 22:05:01 +00:00
peter%propagandism.org
59a61c49b9 Fixing BeOS bustage. 2003-12-23 19:32:25 +00:00
peter%propagandism.org
45f50dbc47 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 09:56:23 +00:00
peter%propagandism.org
21e7e7a67f Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 09:24:11 +00:00
timeless%mozdev.org
6896eb831f Bug 226169 DRefTool analysis for timeline files
r=roc sr=roc
2003-12-21 06:17:28 +00:00
bienvenu%nventure.com
c730b9ee45 fix nsILocalFile relative descs calculation of relative path, r=sspitzer, sr=mscott required for 137006 2003-12-19 18:13:42 +00:00
bryner%brianryner.com
ac18ba978f Bug 221843 - bookmarks data loss on Mac OS 10.1. Check to see whether the temporary unique file is already in the target directory before calling FSMoveObject(), since moving a file into the directory it's currently in returns an error on 10.1. Fix dependencies to rebuild libxpcom when MoreFiles is updated. r=ccarlen, sr=darin, a=brendan. 2003-12-16 09:51:35 +00:00
dbaron%dbaron.org
6931545fdc Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan 2003-12-12 23:02:12 +00:00
darin%meer.net
84c91fab04 fixes bug 228210 "XPCOM glue is not backwards compatible -> NS_GetFrozenFunction trashes memory" r=dougt a=dbaron 2003-12-11 23:50:47 +00:00
jshin%mailaps.org
4e090b9734 bug 226623: XFT build crashes on PLHashRawAdd. Switch to nsClassHashTable and add a new HashKeyType that duplicates a string in ctor. (r=bsmedberg, sr=bryner, a1.6=tor) 2003-12-10 21:27:01 +00:00
brendan%mozilla.org
15af3ac60c Avoid deadlock by exiting monitor before processing pending events, when popping (200006, r=danm, sr=darin, a=blizzard). 2003-12-03 23:53:22 +00:00
dbaron%dbaron.org
8b9610f595 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa 2003-11-29 18:56:10 +00:00
bsmedberg%covad.net
8dd02d1bc3 Fix build bustage, r=biesi. 2003-11-25 20:12:20 +00:00
bsmedberg%covad.net
464a43b564 Bug 226011 - Stop bogus warning in nsGREDirServiceProvider::GetFile
r=dougt a1.6b=mkaply
2003-11-25 19:42:00 +00:00
dwitte%stanford.edu
857bdeb8cf fix regression due to silly casting fu.
b=225887, r=bryner, sr=alecf, a=dbaron.
2003-11-20 21:33:50 +00:00
mkaply%us.ibm.com
23847067ef #214152
r=pedemonte, sr=blizzard (platform specific), a=mkaply
adjust unicode return buffer lengths to work around OS/2 bug
2003-11-19 19:35:09 +00:00
bzbarsky%mit.edu
91b42a0363 Make profile directory not be created world readable. Bug 59557, patch by
biesi/shaver, r=ccarlen, sr=bzbarsky
2003-11-19 01:30:16 +00:00
bzbarsky%mit.edu
30ffe2a0e4 Read at EOF should not throw. Bug 224093-ish, r=darin, sr=dbaron 2003-11-18 15:06:03 +00:00
dwitte%stanford.edu
a80c072618 removing unnecessary branch.
b=225887, r=jag, sr=alecf.
2003-11-18 12:31:25 +00:00
timeless%mozdev.org
28117890eb Bug 223900 GRE Bustage (AIX, BEOS)
Second attempt
2003-11-17 11:26:07 +00:00
timeless%mozdev.org
641da64ddf Bug 223900 - GRE Bustage (BEOS)
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp: In function `PRBool GRE_GetCurrentProcessDirectory(char *)':
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: `buf' undeclared (first use this function)
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: (Each undeclared identifier is reported only once
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: for each function it appears in.)
2003-11-17 10:27:12 +00:00
timeless%mozdev.org
9ac3b062e8 Bug 223900 GRE Bustage (AIX, BEOS)
"/usr/include/sys/param.h", line 91.9: 1540-0848 (S) The macro name "MAXPATHLEN" is already defined with a diff
erent definition.
 "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.h", line 47.
9: 1540-0425 (I) "MAXPATHLEN" is defined on line 47 of "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpco
m/glue/standalone/nsGREDirServiceProvider.cpp".
 gmake[5]: *** [nsGREDirServiceProvider.o] Error 1
2003-11-17 10:25:46 +00:00
timeless%mozdev.org
d8323ba73f Bug 106386 Correct misspellings in source code
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2003-11-17 10:05:45 +00:00
bsmedberg%covad.net
a888a82d0b Bug 223900 - Clean up MFCEmbed to use the GRE properly (don't link against xpcom.dll), and make the GRE glue libs more embedder-friendly and flexible. r=adamlock/dougt sr=dougt 2003-11-17 06:13:49 +00:00