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

293 Коммитов

Автор SHA1 Сообщение Дата
timeless%mac.com f7346afa66 Bug 166371 Crashes at [@ nsThreadPool::Shutdown] in Trunk, N700
r=bz sr=darin
2002-09-04 06:45:10 +00:00
timeless%mac.com 44ef3cdbcc Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
kmcclusk%netscape.com 0004bc9c1e On WIN32 only, changed native dispatch of PLEvent notification to use timers instead of Posting WM_APP messages when user input or painting is starved to solve UI Lockup and paint starvation when loading large files from the cache or locally b=157144 r=dougt@netscape.com sr=kin@netscape.com 2002-08-29 23:04:14 +00:00
bbaetz%student.usyd.edu.au 70d70e79c7 Bug 142072 - Don't free a loginfo structure which we don't own (nspr does)
r=wtc, sr=bryner
2002-08-25 05:55:50 +00:00
jst%netscape.com 16a5b4de73 Fixing part of bug 96108. Don't ask for items in an empty nsVoidArray, and speed things up a bit too. r=pavlov@netscape.com, sr=brendan@mozilla.org 2002-08-15 21:00:58 +00:00
seawood%netscape.com 97fd6e4aed Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
gerv%gerv.net ee117885c5 Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
blythe%netscape.com 7938163e25 fix crash in bug 119034
r=timeless,sr=darin,a=asa
Simple NULL check, safe
2002-08-10 00:25:39 +00:00
dougt%netscape.com 747cfeb781 Attempting to fix the idle time topcrash. b=155447, r=pavlov, sr=dveditz 2002-08-09 04:03:45 +00:00
bryner%netscape.com b6428cc235 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
seawood%netscape.com 7924fa60a6 Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
Bug #154232 r=wtc sr=scc a=scc
2002-07-18 04:09:30 +00:00
mkaply%us.ibm.com eb39c86819 #157770
r=dougt, sr=blizzard, a=asa
OS/2 only - up the numbre of file handles when starting Moz, and handle specific error with DosCopy
2002-07-17 05:46:34 +00:00
bryner%netscape.com 122b978d08 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
seawood%netscape.com 8f6f1756ce Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
cbiesinger%web.de 6197948cc3 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
dougt%netscape.com 4646c51914 Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org 2002-06-11 19:26:04 +00:00
pavlov%netscape.com e8165f5bb3 fixing bug 142113. r=varga sr=brendan 2002-05-15 10:28:42 +00:00
dougt%netscape.com 610d051392 initalizes member variables in thread poll. 141479. r=dp, sr=darin 2002-05-10 20:48:45 +00:00
brendan%mozilla.org ca47762b00 Followup fix for 138791, neil@parkwaycc.co.uk's superior bit-fu (r=rjesup, sr=waterson, a=asa). 2002-05-01 23:34:18 +00:00
darin%netscape.com 1b1677bbe9 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
brendan%mozilla.org df25211e6f Handle wraparound of PRIntervalTime, plus crucial fixes thanks to Ere Maijala <ere@atp.fi> (138791, r=rjesup, sr=waterson). 2002-04-25 21:07:54 +00:00
dougt%netscape.com 2a1a45fd75 PAC instantiation hangs Regxpcom Solaris nightly build packaging process. Fixing timer logic. Patch by Kenneth Herron. r=dougt@netscape.com, sr=brendan@mozilla.org, b=106009 2002-04-23 03:15:52 +00:00
dbaron%fas.harvard.edu 5edc868516 Relanding pavlov's changes for bug 129953, in pieces. 2002-04-14 00:27:16 +00:00
dbaron%fas.harvard.edu f2f2bcacad Relanding pavlov's changes for bug 129953, in pieces. 2002-04-13 19:00:50 +00:00
brade%netscape.com ee14174c18 backout changes by pavlov (bug 136677) r=cathleen 2002-04-11 18:50:42 +00:00
pavlov%netscape.com 3a549502ef re-landing 129953 2002-04-11 07:55:53 +00:00
pavlov%netscape.com 180ada0b21 backing out changes for 129953... 2002-04-11 05:38:55 +00:00
darin%netscape.com 787c628d67 fixes bug 135547 "make event queues more robust"
r=danm sr=rpotts,brendan
2002-04-11 00:16:04 +00:00
pavlov%netscape.com 0ec03d2650 adding ,0 to fix os2 bustage 2002-04-10 09:06:18 +00:00
seawood%netscape.com 6d85bfc00f Add newline to fix hpux tinderbox bustage. 2002-04-10 08:44:15 +00:00
pavlov%netscape.com a6bfc884e6 adding nsITimerManager 2002-04-10 06:06:12 +00:00
pavlov%netscape.com f91c486ad6 er, missing idl file on windows gmake builds 2002-04-10 04:51:17 +00:00
pavlov%netscape.com 781ff3a1ca bug 129953 r=rjesup sr=rpotts 2002-04-10 04:41:23 +00:00
bryner%netscape.com 0498c1ecce Fixing crash dismissing dialogs on linux (bug 134070). r=dougt, sr=darin, a=asa & adt. 2002-04-05 23:42:35 +00:00
dougt%netscape.com 8057a7a170 Adding better comments. r=jband, sr=brendan 2002-04-04 23:04:53 +00:00
ccarlen%netscape.com 6db7e907e4 Bug 105445 - Difficult to process PLEvents without either latency or CPU hogging. r=pink/sr=sfraser/a=asa 2002-03-27 07:16:12 +00:00
bnesse%netscape.com 6b43b951d8 Checkin for bug 120866. Add getenv() support to autoconfig module. Checking in for Jerry Tan. r=dveditz, sr=alecf, a=asa. 2002-03-22 21:37:50 +00:00
darin%netscape.com 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
brendan%mozilla.org c50bca002a Try to fix design flaw where a timer's destructor races with TimerThread::Run -- really want a better design, but this patches the problem in the context of the current design (118004, r=dbradley/pavlov, sr=shaver/jband, a=asa). 2002-03-08 20:11:49 +00:00
sgehani%netscape.com 236293ae2b Land update notifications.
b=120201; r=law,pavlov; sr=dveditz
2002-02-20 04:01:34 +00:00
brendan%mozilla.org 81ddd6526f Digital filter for adaptive timeout adjustment, needs trunk baking, makes things better so far (117061, r=pavlov, sr=jst). 2002-02-18 00:10:55 +00:00
bzbarsky%mit.edu b553ca3a3a Make sure we never set a timer for before "now" when given a positive
delay.  Bug 124103, r=pavlov, sr=brendan
2002-02-08 23:45:26 +00:00
dp%netscape.com a39dd81ba9 bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser 2002-01-24 06:37:38 +00:00
seawood%netscape.com fa5df5e54c Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
pavlov%netscape.com 5ee29e2c3f patch from bug 116483 to avoid doing some pr_log related work when we don't need to. r=dougt sr=brendan 2002-01-15 01:20:47 +00:00
dougt%netscape.com e19cc60bdb adding check for null. GetThreadEventQueue can return a null queue which we need to check for 2002-01-15 00:43:10 +00:00
ccarlen%netscape.com 0f9cb6c5fc Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
dp%netscape.com 38935c13da bug 117256 Timer core dump on shutdown. Protecting against null
gthread. r=cathleen
2001-12-31 04:04:22 +00:00
sfraser%netscape.com b6cc54ac5c Fix Mac shutdown crash, bug 116128. Ensure that the timer thread dies by using Join(). r=syd, sr=jag 2001-12-22 00:21:46 +00:00
dougt%netscape.com 9a75bc4b8e nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
pavlov%netscape.com cec4deba1a fixing tomorrow's blocker today (115527). r=ben sr=mscott 2001-12-17 06:59:55 +00:00
pavlov%netscape.com d1f957f177 lets try PR_STATIC_CALLBACK to please os/2 2001-12-16 09:31:39 +00:00
pavlov%netscape.com bab8256181 silly mac, get a real build system 2001-12-16 07:53:25 +00:00
pavlov%netscape.com 5cd1b8e131 bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
seawood%netscape.com 87cae106c8 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
dougt%netscape.com 907a01bfd0 Add IsMainThread to nsIThread. r=danm@netscape.com, sr=darin@netscape.com 112397 2001-11-30 00:06:32 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
wtc%netscape.com d7553f1ced Bugzilla bug 109389: changed the PLEvent event receiver window class
name to say "XPCOM" instead of "NSPR".  r=dougt.  sr=alecf.
2001-11-14 01:37:41 +00:00
dbaron%fas.harvard.edu 261f76a8ba Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
seawood%netscape.com c79715ed1b Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
seawood%netscape.com 6daf60f372 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
pavlov%netscape.com c595555a03 fixing bug 107106 r=valeski sr=jst 2001-11-01 00:05:19 +00:00
seawood%netscape.com 93a92132d7 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
dougt%netscape.com fdb581ad21 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt%netscape.com da7e1268bd nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com cf9912aa80 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
alecf%netscape.com 68824c3a8d dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
cls%seawood.org 19699b8722 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:18:27 +00:00
rpotts%netscape.com 46e212a972 bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe. 2001-07-16 21:26:04 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
cls%seawood.org 80f526179f 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
2001-06-18 22:10:38 +00:00
dougt%netscape.com cb41e513ea 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
2001-06-12 18:35:23 +00:00
dougt%netscape.com a2f659d9c4 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. 2001-06-12 18:32:26 +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
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
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
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
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
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
sgehani%netscape.com debc13c693 66735: implement blocking processes on the mac. 2001-03-28 00:45:05 +00:00
sspitzer%netscape.com 36ed2bb68d fix for #68036. (quiet compiler warnings) sr=brendan/waterson a long time ago. 2001-03-19 22:14:07 +00:00
colin%theblakes.com 8360916664 Fix OpenVMS build breakage
b=71990 r=danm sr=blizzard a=leaf
2001-03-16 21:39:49 +00:00
blizzard%redhat.com 19d337abe2 try to fix it harder 2001-03-13 00:42:07 +00:00
blizzard%redhat.com d969b92d6d try to fix mac + windows bustage 2001-03-13 00:36:54 +00:00
blizzard%redhat.com 2bb54a9dae Bug #67370. Better interleaving of xlib + plevents. r=danm sr=shaver 2001-03-12 23:57:18 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
danm%netscape.com b48fe301cc RevokeEvents now walks the chain to elder queues. bug 65243 r=buster,kmcclusk,pavlov 2001-01-22 23:01:03 +00:00
dbragg%netscape.com 8148bdbbdc First part of adding nsIProcess to the Mac build (MANIFEST file). r=dougt, sr=brendan 2001-01-22 21:46:14 +00:00
dbragg%netscape.com 2888f1180b Adding nsIProcess to unix build. a=dougt sr=brendan 2001-01-22 21:44:04 +00:00
dbragg%netscape.com 58c0adb4c9 Adding nsIProcess to windows build. a=dougt sr=brendan 2001-01-22 21:42:20 +00:00
dbragg%netscape.com 6192e3ee0b Added CR to end of file for certain unix platforms.(originally checked in from windows as part of fix for 62167 2001-01-22 21:40:33 +00:00
dbragg%netscape.com 52aab9f1aa First Checked In. 2001-01-19 21:26:41 +00:00
dbragg%netscape.com 4d63df0429 New interface for creating and managing processes. New feature for bug 62167. a=dougt sr=brendan 2001-01-19 21:23:24 +00:00
cls%seawood.org b39aab214f Increase BeOS event port capacity and avoid sending messages to event port if capacity is exceeded.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #63646. r=danm
2001-01-07 09:03:09 +00:00
danm%netscape.com ea5cb696b9 delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan 2000-12-11 21:55:47 +00:00