Randell Jesup
9212636903
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
JW Wang
8e689713fa
Bug 1161405. Part 1 - improve parallelism of nsThreadPool by taking the number of pending events into account when spawning a new thread. r=nfroyd.
2015-05-09 07:32:30 +08:00
Birunthan Mohanathas
8a4a4c8465
Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj
2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
a108f37fc2
Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj
2014-05-27 10:15:35 +03:00
Kyle Huey
806545c882
Bug 996132: Make allocations in the event queue infallible. r=bsmedberg
2014-05-23 12:53:14 -07:00
Chris Peterson
28bd15a84a
Bug 905221 - sizeof(nsEventQueue::Page) should be a power of two to avoid heap allocation slop. r=bsmedberg
2013-09-02 19:30:19 -07:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Matheus Kerschbaum
44209e0bdf
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Chris Jones
4b3bb04878
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
2011-04-29 14:21:57 -05:00
Serge Gautherie
8b6aa710d1
Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
...
r=benjamin.
2011-04-14 12:47:41 +02:00
Chris Jones
9ae6458637
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
ecb9597975
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones
5dece3352a
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
98de634631
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
darin@meer.net
31401a5283
fix vc6 bustage
2006-05-10 19:02:05 +00:00
darin@meer.net
0700b87ece
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
bsmedberg@covad.net
8a545dde58
Bug 319999 - XPCOM Shutdown: xpcom-shutdown-threads notification and cleanup of event queues before component manager shutdown, r=darin
2006-01-17 15:41:40 +00:00
bzbarsky@mit.edu
ee798171f0
Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
...
a=asa
2005-04-15 03:17:13 +00:00
darin@meer.net
2ed9516fdc
fixes bug 273819 "ASSERTION: Native event queues should only be used on the main thread" r=danm, sr=bienvenu
2004-12-17 19:47:06 +00:00
gerv@gerv.net
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
bryner@brianryner.com
3736b6e206
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
darin@meer.net
a49e0e55cd
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
bryner@netscape.com
49d00ee3e7
Fixing crash dismissing dialogs on linux (bug 134070). r=dougt, sr=darin, a=asa & adt.
2002-04-05 23:42:35 +00:00
gerv@gerv.net
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
dmose@mozilla.org
d42c2a9531
Fix for bug 61692: IDLify nsIEventQueue and nsIEventQueueService. This makes it possible to create an nsISupports proxy for calling across threads in languages other than C++ (eg JS). r=dougt@netscape.com, r=jband@netscape.com, sr=brendan@mozilla.org
2000-12-08 04:30:36 +00:00
pavlov@netscape.com
c1024c52eb
Fix for eventqueue objects leaking bug #20166 . This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac
2000-06-05 21:53:25 +00:00
danm@netscape.com
58b9cf4edf
add API to EventQueueService for creating a monitored event queue. part of bug 25979. r=dougt r=jar
2000-03-04 03:17:01 +00:00
dougt@netscape.com
68fbf0828a
Fix for bug 26732. r=danm. event queue need to be able to init a plevent
2000-02-09 02:28:51 +00:00
dougt@netscape.com
b1ff5d1b98
Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt.
2000-01-06 19:46:44 +00:00
valeski@netscape.com
e7ad12b883
21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree.
1999-12-14 22:06:17 +00:00
dp@netscape.com
a50b5cf321
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-12-01 00:21:53 +00:00
dougt@netscape.com
3adbdc9654
fix for bug 18114. Adding simple accessor to PL_WaitForEvent.
1999-11-16 16:04:14 +00:00
dmose@mozilla.org
20621227af
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
danm@netscape.com
7eb0e9d2ab
event queues own and delete themselves when they're done. bug 15856 r:hyatt@netscape.com
1999-10-18 14:59:57 +00:00
dougt@netscape.com
795b91c62e
Adding IsQueueOnCurrentThread().
1999-06-14 20:20:33 +00:00
valeski@netscape.com
76aa1f2c4b
added the HandleEvent method
1999-06-04 15:02:27 +00:00
dougt@netscape.com
df100f4d70
Adding a few more functions to nsIEventQueue.
...
Moving proxy to use nsIEventQueue instead of PLEvents direct.
1999-05-29 22:50:25 +00:00
dp@netscape.com
6dc8a899c6
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
sspitzer@netscape.com
44f2203f28
destructor should be virtual.
1999-05-13 00:44:20 +00:00
hyatt@netscape.com
b471a67f0f
Changed the arguments to PostSynchronousEvent. Added an EventLoop method.
1999-05-05 23:55:10 +00:00
hyatt@netscape.com
ba86791b78
Committing the changes to support the new nsIEventQueue interface and
...
nested queues in the event queue service.
1999-05-04 23:35:47 +00:00