Commit Graph

80853 Commits

Author SHA1 Message Date
Nicholas Nethercote
f1b6f27607 Bug 704391 - Add more JS runtime memory reporters and fix the existing ones. r=luke. 2011-12-01 19:08:20 -08:00
Bobby Holley
f2a42e56dd Bug 705875 - Check for null IID pointers and references in XPCConvert. r=khuey
This is a regression from http://hg.mozilla.org/mozilla-central/rev/c428312abbc7 . The rest of the changes in that patch should be fine.
2011-12-01 18:24:28 -08:00
Jeff Walden
560700472e Followup to bug 704127 - s/MOZ_HAVE CXX11_FINAL/MOZ_HAVE_CXX11_FINAL/ in one case (thanks to Stuart Cook in m.d.platform for noticing this, I have *no* *idea* how he managed it, Luke had to have me point it out to even see the change in the diff), and actually define it for -std=c++0x GCC (a mistaken omission originally). rs=luke
--HG--
extra : rebase_source : 2187e3b4a133c898cf6b1fcb3dd92226c70e2082
2011-12-01 18:21:27 -08:00
Chris Leary
2ae50246fc Bug 706442: Shorten LifoAlloc chunk chain. (r=luke) 2011-12-01 17:59:50 -08:00
Cameron McCormack
330dcf66dd Bug 706746 - Don't try to close the Inspector's "Leaving this page" notification bar twice. r=msucan 2011-12-02 11:08:56 +11:00
Christian Holler
67b2a0956f Bug 706433 - Add JS shell compile flag (--enable-more-deterministic) for more determinism, used for differential testing. r=jorendorff 2011-12-01 15:46:28 -08:00
Rafael Ávila de Espíndola
b573c23826 Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
Currently we use dlsym on pthread_cond_wait$UNIX2003 to find a
function that indicates that new_sem_from_pool is on the stack. This
works on 10.5, but on 10.6 I could not find a single reliable
indicator that would work with dlsym.

The good news is that dladdr works with any symbol, not just exported
ones. To find the address of new_sem_from_pool, we set up a malloc logger
and force a call to new_sem_from_pool. From the logger callback we walk
the stack trying dladdr on every address.

To for a call to new_sem_from_pool, the initialization code has to be the
first to use semaphores, so it is now run from NS_LogInit.

This works on 10.6 and 10.5 (but we have to look for
"pthread_cond_wait$UNIX2003"). In 10.7 the call to malloc is gone, so we don't
have to worry about critical addresses on it anymore.
2011-12-01 18:22:00 -05:00
Brian Hackett
078d0d3d65 Remove JSOP_NOTRACE, rename JSOP_TRACE -> JSOP_LOOPHEAD, bug 706611. r=dvander 2011-12-01 15:13:51 -08:00
Felix Fung
61c8c22ee9 Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden 2011-12-01 13:30:28 -08:00
Benoit Girard
fc86ae81d7 Bug 698002 - Initialize pthread keys on sps startup. r=jrmuizel
--HG--
extra : rebase_source : 226f0ec8cd0c79ebaa1f00eba643ad0e28f240e5
2011-12-01 17:40:33 -05:00
David Mandelin
e9eabdd79d Bug 685321 followup: land another test case
--HG--
rename : js/src/jit-test/tests/basic/bug685321.js => js/src/jit-test/tests/basic/bug685321-1.js
2011-12-01 14:44:30 -08:00
Daniel Holbert
41295ca5b9 Bug 689367: Remove unused azure CID. r=bas 2011-12-01 14:37:09 -08:00
Richard Newman
672a460e8a Bug 675996 - Part 2: tests for GUIDs in favicons. r=mak 2011-12-01 13:58:27 -08:00
Richard Newman
b1d92bbf1a Bug 675996 - Part 1: extend moz_favicons with GUID to support Sync. r=mak 2011-12-01 13:58:19 -08:00
Justin Lebar
c6cba1f989 Back out revs 039231fd497f:5d920a44a901 properly. 2011-12-01 16:37:36 -05:00
Justin Lebar
02f303732b Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended. 2011-12-01 16:35:42 -05:00
Robert O'Callahan
b545dcdcf5 Bug 687972. Even more logging... 2011-12-02 10:19:43 +13:00
Justin Lebar
d31f108524 Backed out changeset 039231fd497f (bug 705856) 2011-12-01 15:43:18 -05:00
Justin Lebar
120cecd569 Backed out changeset 4d56e83adfb0 (bug 698002) 2011-12-01 15:43:14 -05:00
Justin Lebar
d371a1e353 Backed out changeset 7204e7e1d4a4 (bug 698002) 2011-12-01 15:43:11 -05:00
Justin Lebar
79b6477d6c Backed out changeset 5d920a44a901 (bug 698002) 2011-12-01 15:43:07 -05:00
Alexander Surkov
87c513c40f Bug 706834 - Crash in nsXULTreeAccessible::TreeViewChanged, r=marcoz 2011-12-02 04:21:54 +08:00
Timothy Nikkel
9f617dd884 Bug 668437. Part 8. Implement nsIWidget::GetClientBounds on GTK2. r=karlt 2011-12-01 13:56:42 -06:00
Timothy Nikkel
3093f274fa Bug 668437. Part 7. With a proper implementation of GetClientOffset on GTK2 popups expect the coordinates of their move events to be the top left of the outer window like all other platforms now. r=karlt 2011-12-01 13:56:42 -06:00
Timothy Nikkel
48f5d7e7cf Bug 668437. Part 6. Implement nsIWidget::GetClientOffset on GTK2. r=karlt 2011-12-01 13:56:42 -06:00
Timothy Nikkel
252f9a5156 Bug 668437. Part 5. Make the view bounds of a popup coincide with the client area of the widget. r=enndeakin,roc 2011-12-01 13:56:42 -06:00
Timothy Nikkel
5bdb38faca Bug 668437. Part 4. Add an API to widgets for resizing/moving the client area. r=jimm sr=roc 2011-12-01 13:56:42 -06:00
Timothy Nikkel
aa08462911 Bug 668437. Part 3. Make the client bounds of a widget be relative to its parent in all cases. r=jimm 2011-12-01 13:56:42 -06:00
Timothy Nikkel
2c18515e4a Bug 668437. Part 2. When placing popup widgets check if the client offset of the window has changed in addition to the top left of the window. r=enndeakin 2011-12-01 13:56:41 -06:00
Timothy Nikkel
7b02d27fdb Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin 2011-12-01 13:56:41 -06:00
Jeff Muizelaar
6bfdc52dd1 Bug 698002. Add MacOS port of the v8 profiler. r=bgirard
This uses a separate thread that will pause the main thread
and read the registers out of it.

--HG--
extra : rebase_source : bb8174320728b6c4976047fd25e6e93280ea444a
2011-12-01 10:06:20 -05:00
Mounir Lamouri
c464ab7113 Bug 674725 - Part L - Implement SmsEvent. r=smaug 2011-11-21 17:57:26 +01:00
Mounir Lamouri
691be6cb32 Bug 674725 - Part K - Implement SmsMessage. r=smaug 2011-11-22 10:34:21 +01:00
James Willcox
80e0ac2f8e Rolled up Android plugin fixes including bugs 692988, 694366, 702330, 702334, 702338, 702341, 702614, 702627, 702964
Bug 692988 - anp_system_getApplicationDataDirectory() is just plain wrong
Bug 694366 - Allow Flash to use transparent wmode
Bug 702330 - Revert to drawing Flash plugin with a SurfaceView
Bug 702334 - Fix deadlocks caused by Flash
Bug 702338 - Enable plugins
Bug 702341 - Flash plugins don't respond to panning/zooming changes
Bug 702614 - Flash should use Skia to implement ANPCanvas and similar
interfaces
Bug 702627 - Flash: queue invalidation after async surface request
Bug 702964 - Support subregion lock on plugin surfaces
2011-11-21 02:55:50 -05:00
Olli Pettay
cdcfc8e195 Bug 705651, simplify message manager, and remove certainly useless comment about OMIT_COMPONENTS_OBJECT, r=mrbkap 2011-11-30 17:51:40 +02:00
Kyle Huey
a44473583b Merge b-s to m-c. 2011-11-30 09:55:06 -05:00
Jon Buckley
8fdecbdf26 Bug 705479 - Throw an error when building Firefox on Windows with gmake with multiple CPUs. r=khuey 2011-11-29 16:33:09 -05:00
Kyle Huey
bc5ecf4ab0 Merge m-c to b-s. 2011-11-29 16:31:01 -05:00
Ted Mielczarek
d6db1bd0b7 Rename Breakpad's md5.c to md5.cc, wrap its functions in the google_breakpad namespace. no bug, r=mento at http://breakpad.appspot.com/322003/show
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/md5.c => toolkit/crashreporter/google-breakpad/src/common/md5.cc
2011-11-21 12:40:25 -05:00
Mounir Lamouri
98c0c1714e Bug 674725 - Part J - Basic implementation of mozSms.send(). r=cjones 2011-11-21 00:00:46 +01:00
Mounir Lamouri
81a2fb6c4d Bug 674725 - Part I - Implement mozSms.getNumberOfMessagesForText(). r=smaug,cjones 2011-11-25 10:48:51 +01:00
Mounir Lamouri
5a826ed3ae Bug 674725 - Part H - Add a SmsService that handles IPC calls. r=smaug sr=cjones 2011-11-20 23:59:46 +01:00
Mounir Lamouri
321fb6bf58 Bug 674725 - Part G - Add PSms IPDL sub-protocol. r=smaug sr=cjones 2011-11-20 23:40:53 +01:00
Mounir Lamouri
a5255c1899 Bug 674725 - Part F - .mozSms returns null if the platform doesn't have SMS supports. r=smaug 2011-11-21 16:16:24 +01:00
Mounir Lamouri
4e9bc35faa Bug 674725 - Part E - SmsService stub. r=smaug sr=cjones 2011-11-20 23:30:04 +01:00
Mounir Lamouri
93dc354a70 Bug 674725 - Part D - Temporary security model for WebSms. r=smaug 2011-11-25 01:37:40 +01:00
Mounir Lamouri
75dbd88991 Bug 674725 - Part C - SmsManager stub. r=smaug 2011-11-20 23:23:20 +01:00
Mounir Lamouri
bc905fd780 Bug 674725 - Part B - Add .mozSms to navigator. r=smaug 2011-11-20 22:08:33 +01:00
Mounir Lamouri
ab6911197f Bug 674725 - Part A - Makefiles. r=smaug 2011-11-20 19:23:49 +01:00
Mounir Lamouri
c628222d07 Bug 705156 - Fix flaky test embedding/test/test_window_open_units.html. r=roc 2011-11-25 10:46:10 +01:00