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

4640 Коммитов

Автор SHA1 Сообщение Дата
mkaply%us.ibm.com 380a75ccae #50203
r=mkaply, aaronr, pedemont sr=blizzard
OS/2 only - while investigating optimizer issues, we came up with a better fix for this problem
2001-06-08 14:54:10 +00:00
syd%netscape.com 421006c67d trunk fix for 84115. Pass arguments to the process (I omitted these in an earlier
checkin). Bad because xpi files that invoke processes with args are not functioning
correctly. r=ssu, sr=mscott, a=drivers (asa)
2001-06-06 04:33:19 +00:00
ccarlen%netscape.com 8708c4be01 Bug 83687 - The keys NS_XPCOM_CURRENT_PROCESS_DIR and NS_OS_CURRENT_PROCESS_DIR were defined identically. They should be different. r=valeski/sr=jband/a=asa 2001-06-05 22:19:19 +00:00
valeski%netscape.com 221edc8f1a r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager. 2001-06-05 21:25:57 +00:00
valeski%netscape.com 83586c4fe5 r=ccarlen, sr=sfraser, a=asa. 80095. replace an overkill strstr, w/ strchr. 2001-06-04 23:30:55 +00:00
markh%activestate.com 33dc5fcc7f Prevent crash in certain multi-threaded situations. Bug 83508. r=markh, sr=jband, a=blizzard. 2001-06-04 23:01:26 +00:00
syd%netscape.com 0180b1d074 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=80383
r=dbragg, sr=mscott, a=asa

For the nsIProcess component, which is only used by XPInstall, instead of calling
nspr for process creation, we call a simplified version which, on windows, will
cause the child process not to inherit fds open by the forking process.

Fix is only XP_WIN. nspr will provide a more risky, non-nsIProcess, XP solution at
some point which is either achieved by modifying open() to accept a non-inherit
flag (on win32) or do an fcntl() on Unix (see the bug for details specific to the
fcntl()), or provide another pair of create processes functions that are geared
towards non-inheriting process creation.

The bug fixed here is the XP installer is not able, on win32, to remove the
components.reg file from the "cleanup" process, which leads to all sorts of mayhem,
because the cleanup process inherits the component.reg fd which is open at the
time the cleanup process is forked, and this it cannot remove something it has an
open reference to.
2001-06-02 00:06:44 +00:00
cls%seawood.org bbc335acd4 Tweak xptc so that it works on Irix with gcc.
Thanks to John Vandenberg <zeroJ@null.net> for the patches.
Bug #79362 r=cls a=asa for 0.9.1
2001-05-30 14:48:52 +00:00
mkaply%us.ibm.com d261552206 #83166
r=aaronr, sr=blizzard, a=blizzard
OS/2 only change - we weren't deleting temp files after download
2001-05-29 22:21:11 +00:00
mkaply%us.ibm.com f67b028a4a No bug
r=javier, a=tor
OS/2 only change - we were unnecessarily defining DEBUG
2001-05-25 04:20:24 +00:00
brendan%mozilla.org e21d5d58c0 - Add a generation number to JSDHashTable that counts entryStore changes due
to grows, shrinks, and compresses.  This helps JS_DHashTableOperate callers
  who hold returned entry pointers to validate those pointers and avoid having
  to re-lookup an entry by its key.
- Balance that addition by removing JSDHashTable.sizeMask, which is induced by
  JSDHashTable.sizeLog2 at the cost of two typically single-cycle instructions.
- Use JSDHashTable.generation in jsobj.c to avoid unsafely dereferencing an
  entry pointer held across calls to JSClass.resolve from js_LookupProperty,
  which may recur and add entries to cx->resolving, growing that table and
  invalidating entry pointers held by earlier js_LookupProperty activations.
(bug 78121, r=jst@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org)
2001-05-25 03:05:38 +00:00
scc%mozilla.org cc99419281 bug #75164: sr={brendan, sfraser}. Adding the generators |nsSubstituteC?String|, which will replace |ReplaceSubstring|. Also fixing a declaration in "nsAStringGenerator.h". 2001-05-23 06:49:51 +00:00
law%netscape.com a83465493d Bug 68279; tightens up IsExecutable() check in nsLocalFileWin to properly detect most dangerous executables; adds code to the two places in the UI where such files used to be executed to disable us doing that; r=mstoltz, sr=mscott 2001-05-23 06:03:59 +00:00
scc%mozilla.org 9c83bf2aa8 bug #78398: sr=waterson. adding my new header file "nsAStringGenerator.h" to the Mac project to make it easier to open. 2001-05-23 03:33:06 +00:00
scc%mozilla.org 49cf768412 bug #78398: sr=waterson. Getting the new header file "nsAStringGenerator.h" exported to dist. 2001-05-23 03:31:23 +00:00
scc%mozilla.org f98c3d6d97 bug #78398: sr=waterson, adding a new abstract type (this here's the new file it comes in) |nsAC?StringGenerator| 2001-05-23 03:29:48 +00:00
scc%mozilla.org b048777e64 bug #75220: r=vidr, sr=jst ... had just been waiting for the commercial fixes, and now mscott has landed those. Finally get rid of |nsLiteralC?String| and |nsLocalC?String|. Use |nsDependentC?String| now instead. 2001-05-23 02:44:46 +00:00
scc%mozilla.org 3272a6f922 bug #63923: sr=sfraser, r=waterson (aka ``thrill-kitty''), casting to an abstract base prevents people on crack-baby platforms from using an |NS_LITERAL_STRING| (incompatibly) as an |nsAutoString|. Who's ready for a full rebuild? 2001-05-23 01:45:13 +00:00
ccarlen%netscape.com ea29897e20 Bug 73095 - Create() needs to set mTargetSpec on completion. r=scc@mozilla.org/sr=sfraser 2001-05-22 21:38:21 +00:00
scc%mozilla.org 066e935721 ok, but make this local bustage fix into a global one 2001-05-22 08:43:30 +00:00
mkaply%us.ibm.com f909ffbe26 Nope, didn't work - broke stuff 2001-05-22 04:24:18 +00:00
mkaply%us.ibm.com 4c817fab6f Valiant attempt to fix AIX and BeOS bustage 2001-05-22 03:36:31 +00:00
jst%netscape.com f5b2547e3a Changing a mixture of old C-style casts and C++ constructor type casts to NS_STATIC_CAST to be consistent. This is a followup to my build bustage fix this morning, sr=scc@mozilla.org 2001-05-22 02:36:50 +00:00
scc%mozilla.org f92553939b bug #75220: sr=jst, r=vidur. Renaming the member function |Promises| to the more meaningful |IsDependentOn|. 2001-05-21 23:50:56 +00:00
scc%mozilla.org 27f293c085 bug #69872, sr=jst, r=jag. Make |nsDependentC?String|s rebindable. 2001-05-21 23:45:03 +00:00
scc%mozilla.org 9858b4a4d1 bug #67600, checking in for Ulrich Drepper <drepper@cygnus.org>, sr=scc, r=jst. |#undef| |printf| macros before un-conditionally redefining them, else there are warnings. 2001-05-21 23:38:33 +00:00
colin%theblakes.com 46a5354f91 Check for ENXIO as well as EXDEV as expected failure from rename.
b=70915 r/sr=brendan
2001-05-21 23:15:33 +00:00
dbaron%fas.harvard.edu 1a65c850d1 Limit previous change to definition of PRUnichar to Unix. Should fix mac commercial build bustage. sr=scc b=75544 2001-05-21 16:34:20 +00:00
jst%netscape.com 99c9bf9ae8 Fixing build bustage, apparently msvc doesn't like the C++ style PRUint8(...) casts here, changing them to old C style casts. r=peterv@netscape.com 2001-05-21 12:42:47 +00:00
scc%mozilla.org 50ca1126ca bug #28952: r=jst, sr=scc, checking in patch by drepper@cygnus.com which fixes |nsCRT::strtok| to handle 8-bit delimiter characters correctly when the high bit is set. 2001-05-21 10:45:44 +00:00
scc%mozilla.org 27142d83e1 bug #75220: sr=jst, rs=brendan. fixing string names. removing the old |nsPromise...| files from the build. 2001-05-19 11:31:22 +00:00
jst%netscape.com f72e19a2c3 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
jband%netscape.com 91e7e36a99 bug 54471. Increase the xptcall stubs entry point count to almost 256. This increases the number of methods that can be implmented on a JS object via xpconnect, or on an xpcom/proxy object, or via PyXPCOM. There are platform limitations that would need to worked out to go higher. Also higher counts start getting into a zone where we should be wisely weighing the memory cost. r=markh@activestate.com sr=shaver@mozilla.org 2001-05-19 00:03:01 +00:00
dbaron%fas.harvard.edu 608c4d0a19 Fix NS commercial Unix build bustage on some compilers by (at least temporarily) making PRUnichar always be equivalent to PRUint16 rather than sometimes being wchar_t. r=scc sr=brendan b=75544 2001-05-18 23:44:17 +00:00
darin%netscape.com a20383886d Fixes bug 56978 "alert dialog consumes 100% cpu if network is down"
patch=moz@parabola.demon.co.uk r=danm,dougt sr=darin
2001-05-18 22:39:52 +00:00
dougt%netscape.com 8afbdc2689 DUH! how about this time we make the generate code do something useful. sorry about this. 2001-05-18 07:00:02 +00:00
dougt%netscape.com 7e6a5aedfb Fixing bug 81464. Adding generated NS_FORWARD_SAFE_ macros. This is so that there is a check for null before forwarding the call. Basically copy and paste code. sr=jband@netscape.com 2001-05-18 05:56:26 +00:00
vidur%netscape.com 46ae8a22d2 Changes necessary for fixes to bug 18843. Better handling of string implementations without an underlying buffer handle. r/sr=scc@mozilla.org 2001-05-17 05:53:16 +00:00
brendan%mozilla.org 06f0438169 Fix ChangeTable and how it's called (74883, r=gordon, sr=waterson, mcafee approved). 2001-05-16 21:41:52 +00:00
scc%mozilla.org 2fb2d3cc2a bug #75220: rs=brendan, r=axel@pike.org. fixing string names. add the renamed implementations to the build. 2001-05-16 12:46:47 +00:00
scc%mozilla.org 357320f4c0 bug #75220: rs=brendan, r=axel@pike.org. fixing string names. export the new header files. 2001-05-16 12:38:41 +00:00
scc%mozilla.org 1075e88360 bug #75220: rs=brendan, r=axel@pike.org. fixing string names. 2001-05-16 12:36:35 +00:00
scc%mozilla.org e4e84cc783 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. cvs remove the obsolete files. 2001-05-16 06:57:02 +00:00
scc%mozilla.org 2e4c2f30de bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Stop exporting the old header file "nsCommonString.h" (now that all users of the old name have been fixed) 2001-05-16 04:55:23 +00:00
scc%mozilla.org 8352858dc7 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Fix all users of the old name. 2001-05-16 04:52:43 +00:00
scc%mozilla.org cd731aa604 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Stop building the old implementation in "nsCommonString.cpp", and |typedef| the old type to an alias for |nsSharable[C]String|. 2001-05-16 04:49:20 +00:00
scc%mozilla.org 82264a0b2e bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Build the new implementation in "nsSharableString.cpp". 2001-05-16 04:45:59 +00:00
scc%mozilla.org 30451fb284 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Export the new header file "nsSharableString.h". 2001-05-16 04:43:31 +00:00
scc%mozilla.org f2e912df81 bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String| 2001-05-16 04:41:32 +00:00
rbs%maths.uq.edu.au 252d8fe4c0 Remove a gratuitous redundant test. b=67438 2001-05-16 03:40:29 +00:00
Xiaobin.Lu%eng.Sun.com 756c0b5663 r=timeless sr=shaver
bug 72807 "c++ style comment warning"
2001-05-16 02:24:44 +00:00
anthonyd%netscape.com 0118687b97 Patch around ChangeTable bug (brendan, r=gordon, smoketestblocker). 2001-05-15 23:41:32 +00:00
brendan%mozilla.org 3de6d8412c Add optional JSDHashTableOps.initEntry hook, spruce up comments (74883, r=waterson, sr=shaver). 2001-05-15 21:07:10 +00:00
jband%netscape.com 289637f85c PRBool values should be members of the set {0,1}. r=sfraser sr=jst. see bug 80722 2001-05-15 19:09:33 +00:00
shaver%mozilla.org 153e059ad5 73494: remove iostreams use in regxpcom, general cleanup, new silence options.
r=dmose, sr=kin.
2001-05-15 17:46:55 +00:00
kandrot%netscape.com 85066388b1 bug #77233, r=waterson, sr=brendan Changed a delete to a free for a malloced ptr 2001-05-15 05:55:15 +00:00
kandrot%netscape.com fe46f754d5 Check in for bug #75764 to elminate non-static globals. r=kandrot, sr=jband 2001-05-15 05:50:24 +00:00
sspitzer%netscape.com b420dac60d cleanup. r=timeless, sr=smfr. #80872 2001-05-15 05:38:44 +00:00
sfraser%netscape.com dae488da31 Fix the a problem exposed by another bug, where out params were not correctly set to null. Part of fix for bug 80722 (crash creating new profile). 2001-05-15 00:34:10 +00:00
scc%mozilla.org 5a0fb842cf fixing bustage: alright, Linux isn't falling for the old |typename| trick. Guess I have to pull this out into a separate parameterized type. 2001-05-13 07:03:29 +00:00
scc%mozilla.org af422d0edb fixing bustage: adding |typename| where needed 2001-05-13 05:50:11 +00:00
scc%mozilla.org 01f459308d bug #75551: r=jst, sr=sfraser. Added |CaseInsensitiveFindInReadable| 2001-05-13 05:16:10 +00:00
scc%mozilla.org 2b593f0672 bug #74726, partial fix, r=vidur, sr=jst: make |nsCommon[C]String| re-bindable; make constructors |explicit|; fix clients. bug #75169, r=jst, sr=waterson: fix string warnings on Windows; fix some typos 2001-05-11 08:41:21 +00:00
dr%netscape.com da269460c0 fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst 2001-05-11 05:36:00 +00:00
dr%netscape.com 664c05284b fix for blocker 80097 (nsSupportsStringImpl tries to memcpy to null -- causing crash in mailnews, see 80088). sr=scc 2001-05-10 23:05:44 +00:00
dr%netscape.com 7aa70935f2 fixing OS/2 and AIX bustage 2001-05-10 06:30:39 +00:00
jband%netscape.com 2c6c8263c2 fix bustage 2001-05-10 04:13:45 +00:00
dr%netscape.com 5e06c69548 fix for 78824 (impl |AdoptData|, |AdoptDataWithLength| on nsISupports[W]String). r=kandrot, sr=jband 2001-05-10 02:44:35 +00:00
mkaply%us.ibm.com a5b951e494 OS/2 break - our headers define UNKNOWN
See nsIURI.idl
Although our tinderbox isn't breaking, all developers are
2001-05-09 20:51:53 +00:00
mkaply%us.ibm.com 865948a22c OS/2 TB breakage 2001-05-08 19:36:45 +00:00
peterv%netscape.com f611e1c6d2 Adding nsIProgrammingLanguage.idl (mac bustage fix) 2001-05-08 19:17:19 +00:00
jst%netscape.com 621060c4fd Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
scc%mozilla.org 8a9d1f4a8c bug #78658: checking in Chris Seawoods trivial fix to prevent writing to the console in optimized builds, sr=scc (myself) 2001-05-07 23:36:59 +00:00
sdagley%netscape.com 96413a740a #3616 - Enable long long in Mac version of NSPR (#defines the HAVE_LONG_LONG flag). sr=sfraser 2001-05-06 22:43:07 +00:00
cls%seawood.org 8fe86ff395 Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0  (mac)
to turn it off globally.

Bug #53226 r=sspitzer,leaf,sfraser
2001-05-05 10:18:53 +00:00
kandrot%netscape.com d5bd552195 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
jband%netscape.com ebdd285c7a NOT part of the build. Adding file that will appear on a branch 2001-05-04 21:39:11 +00:00
ccarlen%netscape.com 83dc06c7c0 Bug 59247. Make directory service providers threadsafe. r=valeski, sr=jband. 2001-05-04 20:23:19 +00:00
sdagley%netscape.com 6239f97d33 #70543 - Mac OS running out of FCBs when loading libraries. Now yield time to OS to allow it to grow the FCB table (shouldn't be necessary, apparently is). sr=sfraser,r=macdev 2001-05-04 09:01:06 +00:00
scc%mozilla.org 689f6a5c62 bug #75504; sr=jband. making it impossible to misuse |getter_AddRefs| in the way jband discovered 2001-05-03 10:15:09 +00:00
sgehani%netscape.com ef6872d394 Make file with no extension have correct type and creator info based on MIME type. b = 64704; r = law; sr = sfraser 2001-05-03 01:12:15 +00:00
markh%activestate.com d60c730c21 Adding placeholders for new files introduced in the XPCDOM_20010420_BASE
branch.  Not part of the build.
2001-05-01 07:03:27 +00:00
sdagley%netscape.com 8d141d0ae5 #73157 - missing break. r=jband (nobody's building this yet AFAIK) 2001-05-01 06:29:28 +00:00
cls%seawood.org c06c69763c Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
cls%seawood.org 25c6dc1c7e Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
dbaron%fas.harvard.edu 4ac9b3249e Mention leak tutorial in refcount tracing section. (Documentation changes only.) 2001-04-28 03:00:50 +00:00
waterson%netscape.com 527c38dc7b Bug 75198. Support XPCOM_DEBUG_BREAK=warn on Win32. r=brendan, sr=scc 2001-04-28 02:10:18 +00:00
mkaply%us.ibm.com 1f070fb1f6 #53152
r=mkaply, a=blizzard
Put dougt fix into OS/2
2001-04-26 18:40:12 +00:00
dougt%netscape.com f0b0d01345 Fixes a problem where hreadpool optimistically kills worker threads. r=darin@netscape.com, sr=waterson@netscape.com, b=76198 2001-04-26 05:30:26 +00:00
dougt%netscape.com 36c8c732fa Adding a new method that will allow caller to check if there pending events in the elder queue. r=sfraser@netscape.com, danm@netscape.com, b=76075 2001-04-26 05:28:43 +00:00
dougt%netscape.com 1a3463f40c won't compile without long long type. Using LL_ macros instead. r=thorgal@amiga.com.pl, sr=brendan@mozilla.org, b=75815 2001-04-26 05:28:31 +00:00
brendan%mozilla.org 1be564909a Checkin shaver's patch to allow debug Mozilla builds to dynamicly link with XPCOM-based, nsCOMPtr-using optimized plugins (77112, r=brendan, sr=scc, a=chofmann). 2001-04-24 21:13:15 +00:00
mkaply%us.ibm.com 99fc229b57 Don't need to make this change if pref isn't in 2001-04-20 12:19:23 +00:00
mkaply%us.ibm.com 30d9f9d2ef OS/2 TB bustage
Make OS/2 interfaces _System. Might cause OS/2 breakage - I'm testing it as fast as I can.
2001-04-20 03:44:05 +00:00
jfrancis%netscape.com 8fe96f97c4 reserving some id's for nsIRangeUtil. NOT PART OF BUILD 2001-04-19 23:21:57 +00:00
timeless%mac.com ee959d2767 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc
2001-04-18 05:59:43 +00:00
scc%mozilla.org ff2c1cc949 bug #70740: r=mjudge, sr=sfraser. Provide case-insensitive comparison for all string classes 2001-04-18 05:20:06 +00:00
dveditz%netscape.com 0f04fa48fe fixing bustage 2001-04-18 05:17:36 +00:00
dveditz%netscape.com 003a053aa7 bug 71393, miscalculates free space on large drives. Contributed by thorgal@amiga.com.pl and bzbarsky@mit.edu, r=ksosez@softhome.net/dveditz@netscape.com 2001-04-18 04:30:26 +00:00
ccarlen%netscape.com e74b04f62a Bug 44071 - Change name of profile root dir from "Users50" to "Profiles". Checking in patch by gemal@gemal.dk. r=ccarlen@netscape.com, sr=brendan@mozilla.org 2001-04-18 02:51:24 +00:00