Commit Graph

1849 Commits

Author SHA1 Message Date
Alon Zakai
ba1bdecf39 Bug 615597 - Implement the W3C DeviceOrientation event. r=smaug,blassey 2011-04-29 16:49:20 -07:00
Chris Jones
6f947aec19 Bug 556214, part 4: TimerThread wants to be using non-reentrant Monitor. r=bz 2011-04-29 14:21:57 -05:00
Chris Jones
90cfcf0f2b Bug 556214, part 2: Create non-reentrant Monitor. r=roc sr=brendan 2011-04-29 14:21:57 -05:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Benjamin Smedberg
19154d067a Revise the XPCOM version number for Firefox/Mozilla 6. I'm going to just use the same version number as the platform to keep things sane. 2011-04-29 10:53:33 -04:00
Boris Zbarsky
dd94d998a3 Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
This implements proposal 3 from bug 650379 comment 13.  The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing.  A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout.  While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time.  That seems
undesirable.

An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Taras Glek
95a7a474c7 bug 649502: Expose histograms to JS r=mrbkap 2011-04-27 11:07:02 -07:00
Justin Lebar
7af0c522be Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE 2011-04-28 15:49:16 +02:00
Jacek Caban
a245bef322 Bug 651874 - Wrong library prefixed in dependentlibs.list in mingw
compilation r=khuey

--HG--
extra : rebase_source : 7329c384e29a495352ada8082f7698757915f3e3
2011-04-26 11:45:15 +00:00
Peter Van der Beken
2f1dbc28dd Fix for bug ug 652135 (Add more CC edge names). r=dbaron.
--HG--
extra : rebase_source : a29d880341d333f6082f640ea467928b621b5b82
2011-02-02 16:30:03 +01:00
L. David Baron
3f90844e3c Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
Dave Townsend
7b8beb7836 Bug 566787: Use the windows API to get the home directory when possible. r=jimm, sr=bsmedberg 2011-04-21 09:36:44 -07:00
Gavin Sharp
e9ac5d6a43 Fix comment typo per bug 550611 comment 34 2011-03-30 15:55:00 -04:00
L. David Baron
31639e67d3 Move AddRef to before the unlock. (Bug 650674, patch 2) r=bsmedberg 2011-04-20 14:29:45 -07:00
L. David Baron
f0982d780b Don't hold nsProxyObjectManager's lock while calling delete on an nsProxyEventObject. (Bug 650674) r=bsmedberg 2011-04-19 21:22:39 -07:00
L. David Baron ext:(%2C%20Ehsan%20Akhgari%20%3Cehsan%40mozilla.com%3E)
6d108b8b8b Protect the xptiWorkingSet's tables with a lock. (Bug 627985, bug 614480); r=dbaron,bsmedberg 2011-04-10 17:12:52 -04:00
Mitchell Field
0242a07b36 Merge mozilla-central to build-system. 2011-04-19 13:22:32 +10:00
Mitchell Field
f71a73dc12 Merge mozilla-central to build-system. 2011-04-16 00:27:18 +10:00
Mike Hommey
f2e0cbff28 Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek 2011-04-15 11:03:17 +02:00
Timothy B. Terriberry
6942d5d5c0 Bug 650162 - #ifdef out unused functions; r=dholbert 2011-04-14 18:14:19 -07:00
Phil Ringnalda
2387020259 Bug 648898 - Remove the xptinfo tests we don't want to bother running, r=bsmedberg 2011-04-10 13:23:45 -07:00
Ehsan Akhgari
8d7694ac21 Bug 642469 - Sanitize the environment variables upon startup; r=bsmedberg 2011-04-14 10:19:14 -04:00
Ehsan Akhgari
7bb3346ed1 Bug 643885 - Part 1: Add the new RemoveObjectsAt API to nsCOMArray; r=bsmedberg 2011-04-14 10:18:02 -04:00
Serge Gautherie
7653666d53 Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
r=benjamin.
2011-04-14 12:47:41 +02:00
Mike Hommey
0659550873 Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted 2011-04-14 11:23:13 +02:00
Mike Hommey
22ee77c5ad Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg 2011-04-14 11:22:09 +02:00
Kyle Huey
896ca84140 Backed out changeset aa200a803e07 2011-04-13 23:17:02 -07:00
Kyle Huey
1fabe6561c Bug 624870: Free nsFactoryEntrys on XPCOM shutdown and factory unregistration. r=bsmedberg 2011-04-13 19:41:34 -07:00
Ehsan Akhgari
3b68afadb4 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00
Chris Coulson
6b646698e9 Bug 611953 - Part 3: GNOME 3.0 readiness; r=roc,karlt 2011-04-12 16:11:20 -04:00
Ehsan Akhgari
00e9f4a9f4 Back out changeset c509d8f8f423 (bug 627985, bug 614480) because of reftest suite shutdown timeout on Linux64 opt builds 2011-04-11 02:07:25 -04:00
L. David Baron
5024f62fc3 Protect the xptiWorkingSet's tables with a lock. (Bug 627985, bug 614480) 2011-04-10 17:12:52 -04:00
Benjamin Smedberg
57f55bb3bb Bug 642795 - Remove support for registering and finding "system XULRunner" via config files or the registry. r=glandium
--HG--
extra : rebase_source : d42aa76683b6bb7de5df1b49b47f422a469201f4
2011-04-01 13:28:33 -04:00
Chris Leary
329e16e64e Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Luke Wagner
5954356511 Remove implicit cycle-collector dependency on XPConnect lazy initialization broken by 59705c13d959 (rs=peterv) 2011-04-07 16:53:33 -07:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
326315dab1 Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Jeff Muizelaar
649e74e3f6 Bug 646071 - Part 1: Reimplement nsTime on top of PRInt64; r=bsmedberg 2011-03-31 20:14:13 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 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
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c 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
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Andrew McCreight
ff37de748d Bug 641910. Don't add non-grey nodes to the cycle collector model graph. r=gal@uci.edu 2011-03-28 13:05:48 -07:00
Ehsan Akhgari
db0e06d061 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Steve Harper
2ee441bddf Bug 545650 - Use unbuffered IO when copying files in nsILocalFileWin. r=jimm 2011-03-28 07:36:33 -05:00
Ehsan Akhgari
d1df3ecd6a Merge cedar into mozilla-central 2011-03-26 12:16:48 -04:00