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

73471 Коммитов

Автор SHA1 Сообщение Дата
blakeross%telocity.com 3819bb3271 Fix 61834: context menu with no items appears on right click of tree column header in search panel, and other minor cleanup. r=jag sr=alecf 2000-12-05 21:56:43 +00:00
sspitzer%netscape.com 3e70e00f5f fix problem with the subscribe column looking like crap. #61526
sr=bienvenu
2000-12-05 21:53:13 +00:00
blakeross%telocity.com 6e7d62406a Fix 61707: strict js warnings in scrollbarBindings.xml. r=jag sr=alecf 2000-12-05 21:52:59 +00:00
blakeross%telocity.com 68cf67e019 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard 2000-12-05 21:49:42 +00:00
blakeross%telocity.com 9f5792c48a Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard 2000-12-05 21:48:38 +00:00
blakeross%telocity.com da5b3f2f0a Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. r=ben sr=blizzard 2000-12-05 21:48:00 +00:00
brendan%mozilla.org 38504ea317 JSPROP_SHARED implies no slot to entrain garbage (bug 61482, r=mccabe, sr=jband). 2000-12-05 21:47:23 +00:00
javi%netscape.com 0af559d562 Fix for Bug 60911 r=beard sr=sfraser Add support for building PSM completely from source pulled from the mozilla cvs server. 2000-12-05 21:42:57 +00:00
blakeross%telocity.com 62ff157511 Fix 61825: double-ended scrollbars have ugly/incorrect double black border between scrollbar buttons. patch by lordpixel@mac.com. r=me a=ben 2000-12-05 21:35:02 +00:00
blizzard%redhat.com 936d48d102 Bug #61774. Add -remote help text to the cmd line. Patch from andre@beta.telenordia.se. sr=blizzard sr=alecf 2000-12-05 21:34:39 +00:00
hyatt%netscape.com 90c6d9e774 Fix for smoketest blocker 61946, r=pink 2000-12-05 21:17:30 +00:00
mkaply%us.ibm.com 43ff3cae5f Bad OS/2 only crash/regression - need for our daily build 2000-12-05 20:01:28 +00:00
sfraser%netscape.com ee6b46957c Fix the check for $main::options{xptlink} to get the release builds to create xptlink correctly. Also comment out a non-existent manifest file line. a=jj 2000-12-05 19:57:37 +00:00
harishd%netscape.com 6b35919567 REGRESSION TEST FILES - *** NOT PART OF THE BUILD ***
a=granrose
2000-12-05 18:51:05 +00:00
nboyd%atg.com 20c82f88e9 Add construction of Counter from Java 2000-12-05 16:42:39 +00:00
nboyd%atg.com 108f24ebcf Fix bug 61979 2000-12-05 16:06:20 +00:00
nboyd%atg.com 86d5be2297 Fix bug 60093 2000-12-05 16:04:32 +00:00
beard%netscape.com b9aa03d8cf [not part of build] first cut at Carbon/Mac OS X compatible menu code. 2000-12-05 07:19:25 +00:00
cls%seawood.org 519fdf5675 Add security module (based upon bryner's nss autoconf patch) 2000-12-05 06:49:12 +00:00
cls%seawood.org 0d08e7648c Add tools/elf-dynstr-gc to the default list of standalone files to pull as it is used in optimized builds. 2000-12-05 06:47:37 +00:00
brendan%mozilla.org 2ea8983c5d Forgot to check this in as part of 54743's big patch, d'oh\! 2000-12-05 06:42:14 +00:00
mccabe%netscape.com bdcc22b5e1 Fix to 45590. Beard untangled ancient and wrong code from prmjtime.c interacting with the Mac OS; 45590 is fixed by actually treating the date offset as a signed value (it should be!) rather than adding a day when east of Greenwich.
Along the way, Patrick also fixed a bug that's been with the JS engine on the mac for more than three years; used to be that Mac dates throughout the year were displayed according to the machine's *current* daylight savings time setting; now they display properly and all is well with the world.

Dependent on recent checkin fixing 61577, adding needed time library to the mac build.X

r=mccabe
2000-12-05 05:17:30 +00:00
beard%netscape.com 01669a5497 added UTCUtils for use by JavaScript engine. bug #61577, r=mccabe 2000-12-05 04:36:32 +00:00
sspitzer%netscape.com 4fa551beb6 fix for #61845. remove all NS_DEFINE_IID and replaces the consts with NS_GET_IID macros.
thanks to rods@netscape.com for the patch.  also, some other NS_DEFINE_IID/CID cleanup.
sr=bienvenu.
2000-12-05 04:30:55 +00:00
mkaply%us.ibm.com be9d3e6e3a #61963
r=mkaply, a=blizzard
Code from jkobal - proper addrefing of nswindow during event processing
2000-12-05 04:28:19 +00:00
wtc%netscape.com ef82d6ee57 Bugzilla bug #60040: added missing double quotes ("") around the variable
($LIBIDL_CONFIG) after test -z.  r=cls@seawood.org.
Modified files: configure, configure.in
2000-12-05 04:15:59 +00:00
mkaply%us.ibm.com 2b8c94e295 #58446
r=mkaply, a=blizzard
Code from jkobal - prevents garbage while displaying images
2000-12-05 04:01:13 +00:00
mkaply%us.ibm.com 2f1dafa1f5 #60973
r=jkobal, a=blizzard
Convert system font names to Unicode
2000-12-05 03:53:08 +00:00
mkaply%us.ibm.com 82168180de #61873
r=mkaply, a=blizzard
Code from jkobal - fix various focus/owner problems
2000-12-05 03:50:31 +00:00
mkaply%us.ibm.com e9180f2e87 #61943
r=cls
Add resource compiling for OS/2 - EMX, cleanup BeOS
2000-12-05 03:49:03 +00:00
brendan%mozilla.org 80aac2bbcf Checkin for art@halogen.kharkov.ua, bug 61899, r=mccabe, sr=brendan. 2000-12-05 03:16:41 +00:00
naving%netscape.com 18cf55f0e8 59063 & 59064. r=sspitzer sr=bienvenu. Fixing the warnings due to earlier checkins. 2000-12-05 02:49:05 +00:00
naving%netscape.com 2fa1b2b5dc 59063 & 59064. r=sspitzer sr=bienvenu. Fixing the warnings due to earlier checkins 2000-12-05 02:48:44 +00:00
pschwartau%netscape.com 52aa420b05 Replaced hard-coded TZ_DIFF = -8 with a dynamically-calculated value 2000-12-05 01:47:15 +00:00
sspitzer%netscape.com b207dcd2e3 fix for #32249. make newsgroups threaded by default. sr=bienvenu 2000-12-05 01:25:21 +00:00
sspitzer%netscape.com c6c1da1db7 fix for #61857. better status text when downloading the list of newsgroups
from the server.  sr=bienvenu.
2000-12-05 01:17:22 +00:00
sspitzer%netscape.com 9cdea2ca96 fix for #60945 and #51274. make the subscribe dialog wider by default,
and make the size and position persist.  sr=bienvenu
2000-12-05 01:15:54 +00:00
mcgreer%netscape.com 7db461e1b8 uninit'ed var causes problem on some platforms 2000-12-05 01:13:24 +00:00
disttsc%bart.nl c4ca6be138 Add shift-ctrl-R for non-cache reload shortcut. bug=61330, r=blake, a=alecf 2000-12-05 00:33:29 +00:00
pinkerton%netscape.com f104113382 add forms.css to packages for hyatt. 2000-12-04 23:40:03 +00:00
jeff.dyer%compilercompany.com d6b97f2277 Fixed type bugs and header comments. 2000-12-04 18:47:28 +00:00
mkaply%us.ibm.com 3187041be5 Clipboard regression fix from jkobal - r=mkaply 2000-12-04 15:27:04 +00:00
disttsc%bart.nl a19269cd0e Temporarily hide leaks (hopefully). Bug 61886, r=dbaron, a=ben 2000-12-04 07:48:40 +00:00
leaf%mozilla.org 6b64d23eee Automated update 2000-12-04 05:30:10 +00:00
brendan%mozilla.org a1bd57c2fe Checking in cls's latest patch to help my jslock.[ch] code on ultrasparc/gcc. 2000-12-04 05:27:41 +00:00
brendan%mozilla.org 5f161e7819 A bit over-aggressive with that static keyword last time... 2000-12-04 04:34:18 +00:00
leaf%mozilla.org 380df5fae1 Automated update 2000-12-04 04:15:08 +00:00
brendan%mozilla.org ed8e7197af cls's build-bustage patch to define ULTRA_SPARC independent of whether gcc is used on Sun systems. 2000-12-04 04:06:57 +00:00
brendan%mozilla.org b4b7a14cc7 Fix NSPR_LOCK ifdefs (for JS_NO_THIN_LOCKS mode, enabled due to a configure.in bug on gcc/sparc5 systems). Fixes speedracer build bustage. 2000-12-04 04:02:27 +00:00
brendan%mozilla.org 0e3fd5e8ba All this r=mccabe, r=beard, and sr=jband -- many thanks to all who helped,
especially to jband for his great stress-test setup and particularly helpful
(in terms of reproducing bugs in draft patches) MP and laptop machines.

- Radical(*) object (scope) locking optimization: don't lock if a scope is
  accessed on the context that exclusively owns it (initially, the context
  on which the scope was created).  Once a scope becomes shared among more
  than one owner-context, give it the usual thin or fat lock, per existing
  jslock.c code.

  I did this at the memory cost of another word per JSScope, ownercx, which
  raised scope size from 12 to 13 words if !DEBUG.  I also added a linked
  list head pointer, rt->scopeSharingTodo, and a scopeSharingDone condition
  variable to JSRuntime, and a scopeToShare pointer to JSContext that's
  necessary for deadlock avoidance.

  The rt->scopeSharingTodo list links JSScopes through the scope->u.link
  union arm, which overlays the pre-existing scope->count (now u.count)
  member.  This list holds scopes still exclusively owned by a context, but
  wanted by js_LockScope calls active on other threads.  Those calls wait
  on the rt->scopeSharingDone condition, which is notified every time an
  owner-context ends the request running on it, in which code active on
  that context may be using scope freely until end of request.

  The code that waits on rt->scopeSharingDone must first suspend any and
  all requests active on the calling context, and resume those contexts
  after the wait is notified.  This means a GC could happen while the
  thread locking a scope owned by another thread's context blocks; all
  calls to JS_LOCK_OBJ must therefore first home fp->sp above any live
  operands, e.g.  The interpreter takes care to do that already.

  To avoid AB-BA deadlocks, if a js_LockScope attempt on one context finds
  that the owner-context of the scope is already waiting on a scope owned
  by the current context (or indirectly depending on such a scope lock),
  the attempt converts the scope from lock-free exclusive ownership to
  shared ownership (thin or fat lock).

- Fix js_SetupLocks and the js_LockGlobal/js_UnlockGlobal code to avoid
  divmod instruction costs, strength-reducing to bit-mask instructions.

- The radical lock-free scope change required care in handling the 0=>1
  and 1=>0 transitions of cx->requestDepth, which was till now thread-local
  because part of the JSContext not manipulated by other threads.  It's
  still updated only by cx's thread, but it is read by other threads in
  the course of attempting to claim exclusive ownership of a scope for more
  lock-free JS object operations.

- The JS_SuspendRequest and JS_ResumeRequest APIs have changed incompatibly
  to require their caller to save and restore the requestCount found when
  JS_SuspendRequest is called.  This is necessary to avoid deadlock; sorry
  for the incompatible change.

- Fixed various nits in jslock.[ch], including using Init/Finish rather
  than New/Destroy for the methods that take a JSThinLock and initialize
  and finish/free its members.  Another example: JS_ATOMIC_ADDREF is now
  JS_ATOMIC_INCREMENT and JS_ATOMIC_DECREMENT, so the two cases can be
  mapped to PR_AtomicIncrement and PR_AtomicDecrement.  This entailed
  changing jsrefcount from jsword to int32 (PRInt32).

- No need to use JS_ATOMIC_INCREMENT on JSScopeProperty.nrefs, as it is
  always and everywhere protected by the property's JSScope.lock.

- Cleaned up gratuitous casts in jscntxt.c by using &cx->links, etc.

- The lock used for mutual exclusion around both request begin and end vs.
  GC synchronization is rt->gcLock, and this lock now also protects all
  scope->ownercx pointer changes from non-null (exclusive) to null (shared),
  the rt->scopeSharingTodo/scope->u.link list operations, and of course the
  rt->scopeSharingDone condition.

  But this means that js_GC cannot hold rt->gcLock across the bulk of its
  body, in particular the mark phase, during which JS_GetPrivate calls,
  e.g., may need to "promote" scope locks from lock-free to thin or fat,
  because doing so would double-trip.  There never was any good reason to
  hold rt->gcLock so long, of course -- locks are for mutual exclusion, not
  for waiting or notifying a thread -- those operations require a condition,
  rt->gcDone, which we already use along with rt->gcLevel to keep racing GC
  attempts at bay.

  So now that rt->gcLock does not protect the mark phase, the enumeration
  of rt->gcRootsHash can race badly with JS_RemoveRootRT, an API that may
  legitimately be called outside of a request, without even a context.  It
  turns out that people may be cheating on the request model even with
  JS_AddRoot, JS_AddNamedRoot, and JS_RemoveRoot calls, so we must make
  all of those interlock with the GC using gcLevel and gcDone, unless they
  are called on the gcThread.

  Also, since bug 49816 was fixed, there has been no need for a separate
  finalize phase, or for rt->gcFinalVec.  Finalizers can no longer allocate
  newborn GC-things that might be swept (because unmarked), or double-trip
  on rt->gcLock (which is no longer held).  So js_GC finalizes as it sweeps,
  just as it did in days of old.

- I added comments to jslock.h making it plain that callers of JS_LOCK_OBJ
  and JS_UNLOCK_OBJ must either be implementations of js_ObjectOps hooks,
  or code reachable only from those hooks; or else must be predicated on
  OBJ_IS_NATIVE tests.  It turns out jsinterp.c's CACHED_GET and CACHED_SET
  macros neglected to do such tests, limiting the ability of JS embeddings
  to implement JSObjectOps with their own non-JSScope JSObjectMap subclass.
  Fixed, small performance hit that the lock-free optimization should more
  than make up for.

- jslock.c now gives a #error if you try to compile it on a platform that
  lacks a compare-and-swap instruction.  The #error says to use NSPR locks.
  Before this change, some platforms would emulate compare-and-swap using
  a global PRLock, which is always worse in runtime than using per-scope
  PRLocks.
2000-12-04 02:43:31 +00:00