Commit Graph

120131 Commits

Author SHA1 Message Date
Benjamin Smedberg
94615f88da Bug 831428 - Console listeners should not require a threadsafe addref/release method if they are only used from the main thread, r=jlebar 2013-01-29 11:02:56 -05:00
Sunny
3cc4eab63b Bug 828347 - Warn if session restore is initialized with deprecated synchronous initialization. r=dteller 2013-01-29 10:50:04 -05:00
Yura Zenevich
54326c1dd1 Bug 828201 - Replace DEBUG constant by a preference across OS.File and add a File.GET_DEBUG method used for testing. r=dteller 2013-01-29 10:50:04 -05:00
Nils Maier
05cea1012b Bug 761552 - Part 2: Avoid external JS strings in XPCConvert. r=bholley
XPCConvert needs to convert some string types to JS strings in order to call
from C++ into JS land. Make those converted JS strings allocate the buffers
from the JS compartment memory pool, instead of making them external and
allocated from the main heap.
This improves memory reporting and may also influence memory fragmentation
and/or performance.
2013-01-29 10:50:04 -05:00
Nils Maier
778a6b21f4 Bug 761552 - Part 1: Provide UTF8ToUnicode functions accepting a buffer. r=jlebar
UTF8ToUnicode does not let the caller specify the buffer to use, but allocates
the buffer on it's own. Hence the caller cannot choose which allocator to use.
Rectify this by providing new APIs.

1. Split UTF8ToNewUnicode into:
   - CalcUTF8ToUnicodeLength
   - UTF8ToUnicodeBuffer
2. Rebuild UTF8ToNewUnicode using the new functions
2013-01-29 10:50:04 -05:00
Ryan VanderMeulen
eab06717bc Merge m-c to inbound. 2013-01-29 10:50:01 -05:00
Hannes Verschore
6785d12d6a Bug 835178: IonMonkey: Enable inlining of functions containing JSOP_SETARG, r=nbp 2013-01-29 16:26:11 +01:00
Boris Zbarsky
d96de5c466 Fix comment. Followup for bug 834877. DONTBUILD 2013-01-29 10:31:34 -05:00
Boris Zbarsky
ffb6f4551e Bug 829252 followup. Now that WindowRoot has a wrapper cache, we need to be able to deal with ConstructSlimWrapper on things that have no classinfo. r=peterv pending, but landing on CLOSED TREE now to fix orange. 2013-01-29 10:18:05 -05:00
Boris Zbarsky
c2eccf0c76 Bug 834877 part 5. Add an overload of GetAttribute that takes a DOMString. r=peterv 2013-01-29 09:42:15 -05:00
Boris Zbarsky
fdc89414dd Bug 834877 part 4. Add overloads of GetAttr() and GetId() that take a DOMString. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky
634d722804 Bug 834877 part 3. Add faster DOMString-to-JS conversion code. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky
90f40b8d5e Bug 834877 part 2. Start using DOMString as the return value for strings. r=peterv 2013-01-29 09:42:14 -05:00
Boris Zbarsky
85ef1adf0d Bug 834877 part 1. Add a DOMString struct to use for binding return values. r=peterv 2013-01-29 09:42:14 -05:00
Paolo Amadini
881a06706e Bug 831708 - Add basic download states and progress. r=enn 2013-01-29 15:24:22 +01:00
Paolo Amadini
c9fdf4a86a Bug 825591 - Skeleton of asynchronous JavaScript API for downloads. r=enn,mak 2013-01-29 15:24:17 +01:00
Brian Hackett
34f1ba9368 Bug 835496 - Don't try to fix the types for object initializers with dense elements, r=jandem. 2013-01-29 07:03:38 -07:00
Boris Zbarsky
42d12beb79 Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky
1697e0d7f0 Bug 829252 part 3. When wrapping things with an nsISupports in XPCWrappedJS for WebIDL callback interfaces, use the aggregated version. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky
f9bc81a8be Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky
625b086463 Bug 829252 part 1. Change nsGlobalWindow to use nsIDOMEventTarget as the canonical isupports instead of nsIScriptGlobalObject. We'll need this to be able to cast to it properly in binding code. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky
625d2a1608 Bug 829072 part 3. Move the event handlers that are shared by HTMLBodyElement, HTMLFramesetElement, and Window onto a WindowEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Boris Zbarsky
2f1f5999b7 Bug 829072 part 2. Move the event handlers that are shared by HTMLElement and Document onto a NodeEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Boris Zbarsky
4bf1cbd45b Bug 829072 part 1. Move the event handlers that are shared by HTMLElement, Document, and Window onto a GlobalEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Boris Zbarsky
126e2f75e3 Bug 834785. Make sure to not ask the JS engine for return values in toplevel scripts, so it'll be able to ion-compile them as needed. r=bholley 2013-01-29 08:44:00 -05:00
Boris Zbarsky
de6a67d7d0 Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Andrea Marchesini
cb99ce070f Bug 835612 - Fix nsVolumeService to use strings better, r=jlebar 2013-01-29 14:27:46 +01:00
Jon Coppeard
fdb279da10 Bug 835385 - Also, ensure no GC during Ion compilation r=billm 2013-01-28 18:21:11 +00:00
Jon Coppeard
06e670bf02 Bug 835385 - GC: Fix for some jit test rooting analysis failures r=terrence 2013-01-28 16:43:07 +00:00
Jon Coppeard
7c0f8ad55b Bug 834766 - Also root some out params r=sphink 2013-01-28 16:41:30 +00:00
Jon Coppeard
7be3fd4539 Bug 834766 - GC: Fix some more rooting issues found by static analysis r=sphink 2013-01-25 17:48:07 +00:00
Henri Sivonen
e004aaa82e Bug 820508 part 4 - Make <main> have the HTMLElement DOM interface. r=smaug. 2013-01-29 14:31:45 +02:00
Henri Sivonen
c579df482b Bug 820508 part 3 - Accessibility mapping for <main>. r=dbolter. 2013-01-29 14:31:45 +02:00
Henri Sivonen
bb181e9318 Bug 820508 part 2 - UA stylesheet for <main>. r=bzbarsky. 2013-01-29 14:31:45 +02:00
Henri Sivonen
7fea99d50e Bug 820508 part 1 - Parser support for <main>. r=smaug. 2013-01-29 14:31:45 +02:00
Alexander Surkov
4d57ff6887 Bug 812767 - move out event processing logging from NotificationController, r=tbsaunde
--HG--
rename : accessible/src/base/NotificationController.cpp => accessible/src/base/EventQueue.cpp
rename : accessible/src/base/NotificationController.h => accessible/src/base/EventQueue.h
2013-01-29 19:00:58 +09:00
Ben Turner
65a5f51bd7 Bug 831307, add additional logging. r=cjones. 2013-01-23 15:57:05 -08:00
Mike Hommey
38f24ce56c Bug 833946 - Don't scan the entire tree for a root manifest in the packager. r=gps 2013-01-23 23:49:25 +01:00
Mike Hommey
5c9f515355 Bug 833882 - Correctly handle non chrome directories when doing l10n-repack. r=gps 2013-01-23 23:49:23 +01:00
Adam Roach [:abr]
666d4638ad Bug 825927 Patch 1: Fix log message formats r=ekr 2013-01-23 16:33:20 -06:00
Adam Roach [:abr]
f8dd16aa13 Bug 825927 Patch 0: Clean up whitespace r=ekr 2013-01-25 14:07:28 -06:00
Robert Longson
a18b4dc389 Bug 835978 - crash in nsDisplayList::HitTest r=jwatt. 2013-01-30 13:59:13 +00:00
Anthony Jones
8ed8d90e5f Bug 825987 - Backed out changesets 1b9a99a17afb and 74493ca34d5e (bug 691061) due to regression with saving PDFs. 2013-01-30 08:39:37 -05:00
Ryan VanderMeulen
28342f2956 Merge m-c to inbound. 2013-01-30 08:06:05 -05:00
Tom Schuster
f007f313b9 Bug 836000 - IonMonkey: Don't clobber out register in loadFromTypedArray. r=h4writer 2013-01-30 13:45:24 +01:00
Jonathan Kew
84fcc4448d bug 829963 - fix hi-/lo-dpi scaling in window opened from script with explicit size on secondary display. r=roc 2013-01-30 12:04:19 +00:00
Jonathan Kew
d143a9a3e0 bug 829523 followup - use MOZ_WIDGET_GONK for the platform conditional, rather than MOZ_B2G. r=cjones 2013-01-30 12:03:39 +00:00
Brian Hackett
9f793d6a0e Bug 836138 - Fix a couple double array correctness bugs, r=jandem. 2013-01-30 04:31:07 -07:00
Jonathan Watt
f24e19a2f3 Bug 835219 - Add test coverage to check that the 'auto' value for the 'orient' attribute is preserved. r=longsonr. 2013-01-30 09:28:00 +00:00
Jonathan Watt
ce821684c9 Bug 835219 - Get rid of nsSVGMarkerElement's GetAttr() override. r=longsonr. 2013-01-29 11:26:19 +00:00