waterson%netscape.com
24ef124269
Bug 83737. Fix off-by-one error when enumerating values. r=kandrot, sr=scc, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@97455 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:34:32 +00:00
syd%netscape.com
665130c153
Fix for 85986. If we find a shortcut and we are not resolving it, it is ok to
...
return we found it. r=dougt, sr=mscott, a=drivers
git-svn-id: svn://10.0.0.236/trunk@97403 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 03:17:20 +00:00
cls%seawood.org
88aedd461b
Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
...
Changes allow us to have a finer control over which parts of the tree are built with PIC. Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
scc%mozilla.org
44fd09e5f5
attempting to fix build bustage for speedracer from associated bug #85271
...
git-svn-id: svn://10.0.0.236/trunk@97293 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 07:09:41 +00:00
scc%mozilla.org
90f810b66a
bug #85271 : sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
...
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
jdunn%netscape.com
ca165fdc74
fixing AIX's problem with dealing with multiple inheritence
...
this fixes editor and mailnews startup crashing bugs
submitted by hhoetzel@us.ibm.com
r= jdunn@netscape.com ,cls@seawood.org
a= blizzard@mozilla.org
# 24458
git-svn-id: svn://10.0.0.236/trunk@97213 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 12:19:18 +00:00
mkaply%us.ibm.com
d7164c9731
Fix Os/2 bustage
...
git-svn-id: svn://10.0.0.236/trunk@97201 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 03:48:00 +00:00
ccarlen%netscape.com
64511de593
Bug 74247 - Fizzilla should use $HOME/Library/Mozilla to store profiles. r=pinkerton/sr=sfraser/a=asa
...
git-svn-id: svn://10.0.0.236/trunk@97107 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 01:24:22 +00:00
kandrot%netscape.com
b16b2a8e9f
r=kandrot@netscape.com, sr=waterson@netscape.com, a=asa@mozilla.org
...
removes a memset that sets zero bytes (so it did nothing)
git-svn-id: svn://10.0.0.236/trunk@97008 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 00:03:21 +00:00
dougt%netscape.com
0aa55ad7f3
Adds a test case for bug 84489. r=danm@netscape.com, sr=darin@netscape.com, a=clayton@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@96930 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 18:38:17 +00:00
dougt%netscape.com
25b069207e
Fixes bug 84489. Ensures that worker threads can not process the same reque
...
st at the same time. r-danm@netscape.com , sr-darin@netscape.com , a-clayton@n
etscape.com
git-svn-id: svn://10.0.0.236/trunk@96929 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 18:35:23 +00:00
dougt%netscape.com
8735a6cb14
fixes bug 84489. ensures that workthreads never process the same request at the same time. r=danm@netscape.com, sr=darin@netscape.com, a=clayton@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@96928 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 18:32:26 +00:00
mkaply%us.ibm.com
05e5131fc1
#50203
...
r=mkaply, aaronr, pedemont sr=blizzard
OS/2 only - while investigating optimizer issues, we came up with a better fix for this problem
git-svn-id: svn://10.0.0.236/trunk@96715 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 14:54:10 +00:00
syd%netscape.com
d5571f3e1b
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)
git-svn-id: svn://10.0.0.236/trunk@96494 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 04:33:19 +00:00
ccarlen%netscape.com
f946003724
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
...
git-svn-id: svn://10.0.0.236/trunk@96457 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 22:19:19 +00:00
valeski%netscape.com
b75b28be35
r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager.
...
git-svn-id: svn://10.0.0.236/trunk@96452 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 21:25:57 +00:00
valeski%netscape.com
33d2e73318
r=ccarlen, sr=sfraser, a=asa. 80095. replace an overkill strstr, w/ strchr.
...
git-svn-id: svn://10.0.0.236/trunk@96348 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:30:55 +00:00
markh%activestate.com
5f59fd399e
Prevent crash in certain multi-threaded situations. Bug 83508. r=markh, sr=jband, a=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@96342 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:01:26 +00:00
syd%netscape.com
aa42fb70f8
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.
git-svn-id: svn://10.0.0.236/trunk@96205 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 00:06:44 +00:00
cls%seawood.org
e52b8fc7a5
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
git-svn-id: svn://10.0.0.236/trunk@96058 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 14:48:52 +00:00
mkaply%us.ibm.com
d520bc6929
#83166
...
r=aaronr, sr=blizzard, a=blizzard
OS/2 only change - we weren't deleting temp files after download
git-svn-id: svn://10.0.0.236/trunk@96014 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 22:21:11 +00:00
mkaply%us.ibm.com
1f0f1e51a2
No bug
...
r=javier, a=tor
OS/2 only change - we were unnecessarily defining DEBUG
git-svn-id: svn://10.0.0.236/trunk@95898 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 04:20:24 +00:00
brendan%mozilla.org
bf20b1ca3d
- 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 )
git-svn-id: svn://10.0.0.236/trunk@95896 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 03:05:38 +00:00
scc%mozilla.org
73c3c7385c
bug #75164 : sr={brendan, sfraser}. Adding the generators |nsSubstituteC?String|, which will replace |ReplaceSubstring|. Also fixing a declaration in "nsAStringGenerator.h".
...
git-svn-id: svn://10.0.0.236/trunk@95820 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 06:49:51 +00:00
law%netscape.com
7570ceb65c
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
...
git-svn-id: svn://10.0.0.236/trunk@95811 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 06:03:59 +00:00
scc%mozilla.org
0647823c35
bug #78398 : sr=waterson. adding my new header file "nsAStringGenerator.h" to the Mac project to make it easier to open.
...
git-svn-id: svn://10.0.0.236/trunk@95784 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:33:06 +00:00
scc%mozilla.org
c099dfea65
bug #78398 : sr=waterson. Getting the new header file "nsAStringGenerator.h" exported to dist.
...
git-svn-id: svn://10.0.0.236/trunk@95783 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:31:23 +00:00
scc%mozilla.org
3ec01ebea0
bug #78398 : sr=waterson, adding a new abstract type (this here's the new file it comes in) |nsAC?StringGenerator|
...
git-svn-id: svn://10.0.0.236/trunk@95782 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 03:29:48 +00:00
scc%mozilla.org
ffd6409fe7
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.
...
git-svn-id: svn://10.0.0.236/trunk@95777 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 02:44:46 +00:00
scc%mozilla.org
dd17908843
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?
...
git-svn-id: svn://10.0.0.236/trunk@95769 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:45:13 +00:00
ccarlen%netscape.com
99d50d8ea2
Bug 73095 - Create() needs to set mTargetSpec on completion. r=scc@mozilla.org/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@95701 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 21:38:21 +00:00
scc%mozilla.org
fccb53ea7f
ok, but make this local bustage fix into a global one
...
git-svn-id: svn://10.0.0.236/trunk@95666 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 08:43:30 +00:00
mkaply%us.ibm.com
bc8f7af020
Nope, didn't work - broke stuff
...
git-svn-id: svn://10.0.0.236/trunk@95657 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 04:24:18 +00:00
mkaply%us.ibm.com
a446cb4836
Valiant attempt to fix AIX and BeOS bustage
...
git-svn-id: svn://10.0.0.236/trunk@95654 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 03:36:31 +00:00
jst%netscape.com
3bcc4fdf26
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
...
git-svn-id: svn://10.0.0.236/trunk@95648 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 02:36:50 +00:00
scc%mozilla.org
2449cc0679
bug #75220 : sr=jst, r=vidur. Renaming the member function |Promises| to the more meaningful |IsDependentOn|.
...
git-svn-id: svn://10.0.0.236/trunk@95639 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:50:56 +00:00
scc%mozilla.org
b226abdbef
bug #69872 , sr=jst, r=jag. Make |nsDependentC?String|s rebindable.
...
git-svn-id: svn://10.0.0.236/trunk@95637 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:45:03 +00:00
scc%mozilla.org
eb9407b361
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.
...
git-svn-id: svn://10.0.0.236/trunk@95635 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:38:33 +00:00
colin%theblakes.com
fef97906b9
Check for ENXIO as well as EXDEV as expected failure from rename.
...
b=70915 r/sr=brendan
git-svn-id: svn://10.0.0.236/trunk@95631 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:15:33 +00:00
dbaron%fas.harvard.edu
f64e0286cd
Limit previous change to definition of PRUnichar to Unix. Should fix mac commercial build bustage. sr=scc b=75544
...
git-svn-id: svn://10.0.0.236/trunk@95603 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 16:34:20 +00:00
jst%netscape.com
942543ef20
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
...
git-svn-id: svn://10.0.0.236/trunk@95595 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 12:42:47 +00:00
scc%mozilla.org
8d0f39b611
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.
...
git-svn-id: svn://10.0.0.236/trunk@95592 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 10:45:44 +00:00
scc%mozilla.org
70827c2aee
bug #75220 : sr=jst, rs=brendan. fixing string names. removing the old |nsPromise...| files from the build.
...
git-svn-id: svn://10.0.0.236/trunk@95534 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:31:22 +00:00
jst%netscape.com
535c86019d
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.
...
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
jband%netscape.com
aded07a161
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
...
git-svn-id: svn://10.0.0.236/trunk@95477 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:03:01 +00:00
dbaron%fas.harvard.edu
226a8a9ed9
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
...
git-svn-id: svn://10.0.0.236/trunk@95473 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:44:17 +00:00
darin%netscape.com
04773b4360
Fixes bug 56978 "alert dialog consumes 100% cpu if network is down"
...
patch=moz@parabola.demon.co.uk r=danm,dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@95443 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 22:39:52 +00:00
dougt%netscape.com
e87a3e17ce
DUH! how about this time we make the generate code do something useful. sorry about this.
...
git-svn-id: svn://10.0.0.236/trunk@95379 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 07:00:02 +00:00
dougt%netscape.com
47ab50bea8
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
...
git-svn-id: svn://10.0.0.236/trunk@95372 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 05:56:26 +00:00
vidur%netscape.com
0d991aa43f
Changes necessary for fixes to bug 18843. Better handling of string implementations without an underlying buffer handle. r/sr=scc@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@95227 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:53:16 +00:00