Commit Graph

80813 Commits

Author SHA1 Message Date
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
Jeff Muizelaar
c14be23423 Bug 698002. Change active_ to Atomic32. r=bgirard
This brings us closer to V8

--HG--
extra : rebase_source : 75685ef885ed1f8abb4ef7a6144d6581a2316941
2011-10-31 13:25:04 -04:00
Jeff Muizelaar
1cecafc351 Bug 698002. Add more v8 support code. r=bgirard
These are needed for the mac port

--HG--
extra : rebase_source : f035957c8649d0ba5c3794ac6a57be1b215660b7
2011-10-31 12:01:54 -04:00
Justin Lebar
b4e73d481b Bug 705856 - Enable SPS profiler on desktop Linux. r=BenWa 2011-12-01 14:45:45 -05:00
Tobias Markus
ac3949fc12 [Bug 706113] Removing null checks from VideoDocument.cpp 2011-11-30 20:06:33 +01:00
Boris Zbarsky
9e7395e332 Bug 706283. Handle null passed to requestAnimationFrame gracefully. r=roc 2011-12-01 14:24:00 -05:00
Benjamin Smedberg
1f9879d8bd Bug 705154 - Hang monitor incorrectly killing the app on mac when the user is idle: unlike other platforms, the main loop on Mac doesn't call processNextEvent in a loop: instead it calls into [NSApplication run] and we check whether there are pending XPCOM events during processing. Suspend the hang monitor when we pause for incoming events by subclassing [NSApplication nextEventMatchingMask], r=smichaud
--HG--
extra : rebase_source : 753343ca11d3ce8b6801a5be8831621887fbe70b
2011-12-01 12:50:04 -05:00
Alexander Surkov
6e39506ee7 Bug 703202 - ARIA comboboxes don't fire value change events, r=tbsaunde, marcoz 2011-12-02 00:12:02 +08:00
Alexander Surkov
8acb3530da Bug 706784 - Firefox 8.0.1 Crash Report [@ nsLinkableAccessible::GetValue(nsAString_internal&) ], r=marcoz 2011-12-02 00:11:53 +08:00
Jeff Muizelaar
1a1c1b8521 Bug 698002. Fixup architecture define typo. r=bgirard 2011-10-31 12:05:30 -04:00
Jeff Muizelaar
1ae7648e01 Bug 698002. Add v8-support.h for using v8 code. r=bgirard
As a first step this adds a dummy implementation of the Malloced class used by
the Linux implementation.
2011-10-28 16:43:02 -04:00
Jeff Muizelaar
8481e10e35 Bug 698002. Move platform.cc to platform-linux.cc. r=benwa
--HG--
extra : rebase_source : bfc230a6e40bcd2550c0e5a083ea6366883105fc
2011-10-28 16:47:25 -04:00
Rafael Ávila de Espíndola
7a31db0221 Bug 705136 - don't mention ppc. r=khuey.
--HG--
extra : rebase_source : 380b3302fbf1eba2c97972cf1f60b373e269c083
2011-12-01 09:25:40 -05:00
Patrick McManus
d7143b1bbe bug 671875 pipeline transport event fixups r=honzab 2011-12-01 09:19:41 -05:00
Rafael Ávila de Espíndola
6ff954552a Bug 706682 - don't access bgra[4]. r=josh. 2011-12-01 08:35:08 -05:00
Rafael Ávila de Espíndola
02ae51bd61 Bug 696399 - close connections in dom. r=honzab.moz. 2011-12-01 08:30:23 -05:00
Marco Bonardo
0286d299a5 Merge mozilla-central to mozilla-inbound 2011-12-01 12:27:41 +01:00
Marco Bonardo
3bbe0028b7 Merge last green changeset from mozilla-inbound to mozilla-central 2011-12-01 12:17:08 +01:00
Jacek Caban
74e8e9f437 Bug 706474 - Use -fno-keep-inline-dllexport in mingw builds r=khuey 2011-12-01 12:03:15 +01:00
Tobias Markus
481602a269 Bug 706515 - Non-initialized variables in nsGeolocationProvider.js r=doug.turner 2011-12-01 12:02:51 +01:00
Mounir Lamouri
274e88e5af Bug 705084 - Part C - Use kDefaultRemainingTime instead of kUnknownRemaining time when appropriate in Android backend. r=cjones 2011-12-01 11:51:23 +01:00
Mounir Lamouri
e890c12c5b Bug 705084 - Part B - Use kDefaultRemainingTime instead of kUnknownRemaining time when appropriate in UPower backend. r=cjones 2011-12-01 11:50:58 +01:00
Mounir Lamouri
9012bb7763 Bug 705084 - Part A - Add kDefaultRemainingTime and add guards to make sure backends are correct. r=sicking 2011-12-01 11:49:42 +01:00
Robert O'Callahan
e4ed980ff3 Bug 687952. Fix bustage 2011-12-01 23:32:11 +13:00
Robert O'Callahan
e6de305808 Bug 687972. More logging... 2011-12-01 23:16:26 +13:00
Johnny Stenback
e57eb36355 Fixing bug 690952. Move window.navigator from the outer window to the inner window, and stop persisting it across same origin page navigations. r=mrbkap@gmail.com 2011-12-01 00:28:16 -08:00