Commit Graph

5216 Commits

Author SHA1 Message Date
Andrew McCreight
755e7c59b3 Bug 1029660 - Remove nsContentUtils::DeferredFinalize. r=peterv 2014-06-26 09:29:05 -07:00
Birunthan Mohanathas
da2394e67f Bug 1028559 - Flatten xpcom/string/{public,src}/ directories. r=dbaron
--HG--
rename : xpcom/string/public/nsAString.h => xpcom/string/nsAString.h
rename : xpcom/string/public/nsAlgorithm.h => xpcom/string/nsAlgorithm.h
rename : xpcom/string/public/nsCharTraits.h => xpcom/string/nsCharTraits.h
rename : xpcom/string/src/nsDependentString.cpp => xpcom/string/nsDependentString.cpp
rename : xpcom/string/public/nsDependentString.h => xpcom/string/nsDependentString.h
rename : xpcom/string/src/nsDependentSubstring.cpp => xpcom/string/nsDependentSubstring.cpp
rename : xpcom/string/public/nsDependentSubstring.h => xpcom/string/nsDependentSubstring.h
rename : xpcom/string/public/nsEmbedString.h => xpcom/string/nsEmbedString.h
rename : xpcom/string/public/nsLiteralString.h => xpcom/string/nsLiteralString.h
rename : xpcom/string/public/nsPrintfCString.h => xpcom/string/nsPrintfCString.h
rename : xpcom/string/src/nsPromiseFlatString.cpp => xpcom/string/nsPromiseFlatString.cpp
rename : xpcom/string/public/nsPromiseFlatString.h => xpcom/string/nsPromiseFlatString.h
rename : xpcom/string/src/nsReadableUtils.cpp => xpcom/string/nsReadableUtils.cpp
rename : xpcom/string/public/nsReadableUtils.h => xpcom/string/nsReadableUtils.h
rename : xpcom/string/src/nsString.cpp => xpcom/string/nsString.cpp
rename : xpcom/string/public/nsString.h => xpcom/string/nsString.h
rename : xpcom/string/public/nsStringBuffer.h => xpcom/string/nsStringBuffer.h
rename : xpcom/string/src/nsStringComparator.cpp => xpcom/string/nsStringComparator.cpp
rename : xpcom/string/public/nsStringFwd.h => xpcom/string/nsStringFwd.h
rename : xpcom/string/public/nsStringIterator.h => xpcom/string/nsStringIterator.h
rename : xpcom/string/src/nsStringObsolete.cpp => xpcom/string/nsStringObsolete.cpp
rename : xpcom/string/src/nsSubstring.cpp => xpcom/string/nsSubstring.cpp
rename : xpcom/string/public/nsSubstring.h => xpcom/string/nsSubstring.h
rename : xpcom/string/src/nsSubstringTuple.cpp => xpcom/string/nsSubstringTuple.cpp
rename : xpcom/string/public/nsSubstringTuple.h => xpcom/string/nsSubstringTuple.h
rename : xpcom/string/src/nsTDependentString.cpp => xpcom/string/nsTDependentString.cpp
rename : xpcom/string/public/nsTDependentString.h => xpcom/string/nsTDependentString.h
rename : xpcom/string/src/nsTDependentSubstring.cpp => xpcom/string/nsTDependentSubstring.cpp
rename : xpcom/string/public/nsTDependentSubstring.h => xpcom/string/nsTDependentSubstring.h
rename : xpcom/string/public/nsTLiteralString.h => xpcom/string/nsTLiteralString.h
rename : xpcom/string/src/nsTPromiseFlatString.cpp => xpcom/string/nsTPromiseFlatString.cpp
rename : xpcom/string/public/nsTPromiseFlatString.h => xpcom/string/nsTPromiseFlatString.h
rename : xpcom/string/src/nsTString.cpp => xpcom/string/nsTString.cpp
rename : xpcom/string/public/nsTString.h => xpcom/string/nsTString.h
rename : xpcom/string/src/nsTStringComparator.cpp => xpcom/string/nsTStringComparator.cpp
rename : xpcom/string/src/nsTStringObsolete.cpp => xpcom/string/nsTStringObsolete.cpp
rename : xpcom/string/src/nsTSubstring.cpp => xpcom/string/nsTSubstring.cpp
rename : xpcom/string/public/nsTSubstring.h => xpcom/string/nsTSubstring.h
rename : xpcom/string/src/nsTSubstringTuple.cpp => xpcom/string/nsTSubstringTuple.cpp
rename : xpcom/string/public/nsTSubstringTuple.h => xpcom/string/nsTSubstringTuple.h
rename : xpcom/string/public/nsUTF8Utils.h => xpcom/string/nsUTF8Utils.h
rename : xpcom/string/src/nsUTF8UtilsSSE2.cpp => xpcom/string/nsUTF8UtilsSSE2.cpp
rename : xpcom/string/public/nsXPCOMStrings.h => xpcom/string/nsXPCOMStrings.h
rename : xpcom/string/public/nsXPIDLString.h => xpcom/string/nsXPIDLString.h
rename : xpcom/string/public/string-template-def-char.h => xpcom/string/string-template-def-char.h
rename : xpcom/string/public/string-template-def-unichar.h => xpcom/string/string-template-def-unichar.h
rename : xpcom/string/public/string-template-undef.h => xpcom/string/string-template-undef.h
2014-06-25 15:08:54 -07:00
Carsten "Tomcat" Book
662392adb6 Merge mozilla-central to mozilla-inbound 2014-06-26 15:51:31 +02:00
Carsten "Tomcat" Book
39ff1551ea merge fx-team to mozilla-central a=merge 2014-06-26 15:33:24 +02:00
Ehsan Akhgari
eef5c9c8a3 Backed out changeset f5232023af37 (bug 1021494) because the upstream LLVM bug is now fixed.
Upstream bug: http://llvm.org/bugs/show_bug.cgi?id=20008
2014-06-25 22:19:21 -07:00
Shihua Zheng
36767b73f6 Bug 1024027 - Cannot safely dispatch to nsStreamTransportService from a non-main thread. r=bsmedberg,mcmanus 2014-06-21 03:26:43 -07:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Brian R. Bondy
9886164729 Bug 598615 - Rename HAVE_64BIT_OS to HAVE_64BIT_BUILD. r=ted 2014-06-24 22:16:25 -04:00
Wes Kocher
731dbac067 Backed out 6 changesets (bug 1028559, bug 1028565) for android mochitest bustage on a CLOSED TREE
Backed out changeset fdd74c065e5d (bug 1028565)
Backed out changeset 5e9777d38052 (bug 1028565)
Backed out changeset 3510bcdba3fc (bug 1028565)
Backed out changeset 62ad3254903e (bug 1028565)
Backed out changeset e7557f70acfe (bug 1028565)
Backed out changeset 5b1b527abe47 (bug 1028559)

--HG--
rename : editor/composer/nsIEditingSession.idl => editor/composer/public/nsIEditingSession.idl
rename : editor/composer/crashtests/351236-1.html => editor/composer/src/crashtests/351236-1.html
rename : editor/composer/crashtests/407062-1.html => editor/composer/src/crashtests/407062-1.html
rename : editor/composer/crashtests/419563-1.xhtml => editor/composer/src/crashtests/419563-1.xhtml
rename : editor/composer/crashtests/428844-1-inner.xhtml => editor/composer/src/crashtests/428844-1-inner.xhtml
rename : editor/composer/crashtests/428844-1.html => editor/composer/src/crashtests/428844-1.html
rename : editor/composer/crashtests/461049-1.html => editor/composer/src/crashtests/461049-1.html
rename : editor/composer/crashtests/crashtests.list => editor/composer/src/crashtests/crashtests.list
rename : editor/composer/crashtests/removing-editable-xslt-inner.xhtml => editor/composer/src/crashtests/removing-editable-xslt-inner.xhtml
rename : editor/composer/crashtests/removing-editable-xslt.html => editor/composer/src/crashtests/removing-editable-xslt.html
rename : editor/composer/nsComposeTxtSrvFilter.cpp => editor/composer/src/nsComposeTxtSrvFilter.cpp
rename : editor/composer/nsComposeTxtSrvFilter.h => editor/composer/src/nsComposeTxtSrvFilter.h
rename : editor/composer/nsComposerCommands.cpp => editor/composer/src/nsComposerCommands.cpp
rename : editor/composer/nsComposerCommands.h => editor/composer/src/nsComposerCommands.h
rename : editor/composer/nsComposerCommandsUpdater.cpp => editor/composer/src/nsComposerCommandsUpdater.cpp
rename : editor/composer/nsComposerCommandsUpdater.h => editor/composer/src/nsComposerCommandsUpdater.h
rename : editor/composer/nsComposerController.cpp => editor/composer/src/nsComposerController.cpp
rename : editor/composer/nsComposerController.h => editor/composer/src/nsComposerController.h
rename : editor/composer/nsComposerDocumentCommands.cpp => editor/composer/src/nsComposerDocumentCommands.cpp
rename : editor/composer/nsComposerRegistration.cpp => editor/composer/src/nsComposerRegistration.cpp
rename : editor/composer/nsEditingSession.cpp => editor/composer/src/nsEditingSession.cpp
rename : editor/composer/nsEditingSession.h => editor/composer/src/nsEditingSession.h
rename : editor/composer/nsEditorSpellCheck.cpp => editor/composer/src/nsEditorSpellCheck.cpp
rename : editor/composer/nsEditorSpellCheck.h => editor/composer/src/nsEditorSpellCheck.h
rename : editor/composer/res/EditorOverride.css => editor/composer/src/res/EditorOverride.css
rename : editor/composer/res/grabber.gif => editor/composer/src/res/grabber.gif
rename : editor/composer/res/table-add-column-after-active.gif => editor/composer/src/res/table-add-column-after-active.gif
rename : editor/composer/res/table-add-column-after-hover.gif => editor/composer/src/res/table-add-column-after-hover.gif
rename : editor/composer/res/table-add-column-after.gif => editor/composer/src/res/table-add-column-after.gif
rename : editor/composer/res/table-add-column-before-active.gif => editor/composer/src/res/table-add-column-before-active.gif
rename : editor/composer/res/table-add-column-before-hover.gif => editor/composer/src/res/table-add-column-before-hover.gif
rename : editor/composer/res/table-add-column-before.gif => editor/composer/src/res/table-add-column-before.gif
rename : editor/composer/res/table-add-row-after-active.gif => editor/composer/src/res/table-add-row-after-active.gif
rename : editor/composer/res/table-add-row-after-hover.gif => editor/composer/src/res/table-add-row-after-hover.gif
rename : editor/composer/res/table-add-row-after.gif => editor/composer/src/res/table-add-row-after.gif
rename : editor/composer/res/table-add-row-before-active.gif => editor/composer/src/res/table-add-row-before-active.gif
rename : editor/composer/res/table-add-row-before-hover.gif => editor/composer/src/res/table-add-row-before-hover.gif
rename : editor/composer/res/table-add-row-before.gif => editor/composer/src/res/table-add-row-before.gif
rename : editor/composer/res/table-remove-column-active.gif => editor/composer/src/res/table-remove-column-active.gif
rename : editor/composer/res/table-remove-column-hover.gif => editor/composer/src/res/table-remove-column-hover.gif
rename : editor/composer/res/table-remove-column.gif => editor/composer/src/res/table-remove-column.gif
rename : editor/composer/res/table-remove-row-active.gif => editor/composer/src/res/table-remove-row-active.gif
rename : editor/composer/res/table-remove-row-hover.gif => editor/composer/src/res/table-remove-row-hover.gif
rename : editor/composer/res/table-remove-row.gif => editor/composer/src/res/table-remove-row.gif
rename : editor/composer/res/text_caret.png => editor/composer/src/res/text_caret.png
rename : editor/composer/res/text_caret@1.5x.png => editor/composer/src/res/text_caret@1.5x.png
rename : editor/composer/res/text_caret@2.25x.png => editor/composer/src/res/text_caret@2.25x.png
rename : editor/composer/res/text_caret@2x.png => editor/composer/src/res/text_caret@2x.png
rename : editor/composer/res/text_caret_tilt_left.png => editor/composer/src/res/text_caret_tilt_left.png
rename : editor/composer/res/text_caret_tilt_left@1.5x.png => editor/composer/src/res/text_caret_tilt_left@1.5x.png
rename : editor/composer/res/text_caret_tilt_left@2.25x.png => editor/composer/src/res/text_caret_tilt_left@2.25x.png
rename : editor/composer/res/text_caret_tilt_left@2x.png => editor/composer/src/res/text_caret_tilt_left@2x.png
rename : editor/composer/res/text_caret_tilt_right.png => editor/composer/src/res/text_caret_tilt_right.png
rename : editor/composer/res/text_caret_tilt_right@1.5x.png => editor/composer/src/res/text_caret_tilt_right@1.5x.png
rename : editor/composer/res/text_caret_tilt_right@2.25x.png => editor/composer/src/res/text_caret_tilt_right@2.25x.png
rename : editor/composer/res/text_caret_tilt_right@2x.png => editor/composer/src/res/text_caret_tilt_right@2x.png
rename : editor/composer/res/text_selection_handle.png => editor/composer/src/res/text_selection_handle.png
rename : editor/composer/res/text_selection_handle@1.5.png => editor/composer/src/res/text_selection_handle@1.5.png
rename : editor/composer/res/text_selection_handle@2.png => editor/composer/src/res/text_selection_handle@2.png
rename : editor/nsIContentFilter.idl => editor/idl/nsIContentFilter.idl
rename : editor/nsIDocumentStateListener.idl => editor/idl/nsIDocumentStateListener.idl
rename : editor/nsIEditActionListener.idl => editor/idl/nsIEditActionListener.idl
rename : editor/nsIEditor.idl => editor/idl/nsIEditor.idl
rename : editor/nsIEditorIMESupport.idl => editor/idl/nsIEditorIMESupport.idl
rename : editor/nsIEditorMailSupport.idl => editor/idl/nsIEditorMailSupport.idl
rename : editor/nsIEditorObserver.idl => editor/idl/nsIEditorObserver.idl
rename : editor/nsIEditorSpellCheck.idl => editor/idl/nsIEditorSpellCheck.idl
rename : editor/nsIEditorStyleSheets.idl => editor/idl/nsIEditorStyleSheets.idl
rename : editor/nsIHTMLAbsPosEditor.idl => editor/idl/nsIHTMLAbsPosEditor.idl
rename : editor/nsIHTMLEditor.idl => editor/idl/nsIHTMLEditor.idl
rename : editor/nsIHTMLInlineTableEditor.idl => editor/idl/nsIHTMLInlineTableEditor.idl
rename : editor/nsIHTMLObjectResizeListener.idl => editor/idl/nsIHTMLObjectResizeListener.idl
rename : editor/nsIHTMLObjectResizer.idl => editor/idl/nsIHTMLObjectResizer.idl
rename : editor/nsIPlaintextEditor.idl => editor/idl/nsIPlaintextEditor.idl
rename : editor/nsITableEditor.idl => editor/idl/nsITableEditor.idl
rename : editor/nsIURIRefObject.idl => editor/idl/nsIURIRefObject.idl
rename : editor/nsPIEditorTransaction.idl => editor/idl/nsPIEditorTransaction.idl
rename : editor/libeditor/ChangeAttributeTxn.cpp => editor/libeditor/base/ChangeAttributeTxn.cpp
rename : editor/libeditor/ChangeAttributeTxn.h => editor/libeditor/base/ChangeAttributeTxn.h
rename : editor/libeditor/ChangeCSSInlineStyleTxn.cpp => editor/libeditor/base/ChangeCSSInlineStyleTxn.cpp
rename : editor/libeditor/ChangeCSSInlineStyleTxn.h => editor/libeditor/base/ChangeCSSInlineStyleTxn.h
rename : editor/libeditor/CreateElementTxn.cpp => editor/libeditor/base/CreateElementTxn.cpp
rename : editor/libeditor/CreateElementTxn.h => editor/libeditor/base/CreateElementTxn.h
rename : editor/libeditor/DeleteNodeTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : editor/libeditor/DeleteNodeTxn.h => editor/libeditor/base/DeleteNodeTxn.h
rename : editor/libeditor/DeleteRangeTxn.cpp => editor/libeditor/base/DeleteRangeTxn.cpp
rename : editor/libeditor/DeleteRangeTxn.h => editor/libeditor/base/DeleteRangeTxn.h
rename : editor/libeditor/DeleteTextTxn.cpp => editor/libeditor/base/DeleteTextTxn.cpp
rename : editor/libeditor/DeleteTextTxn.h => editor/libeditor/base/DeleteTextTxn.h
rename : editor/libeditor/EditActionListener.h => editor/libeditor/base/EditActionListener.h
rename : editor/libeditor/EditAggregateTxn.cpp => editor/libeditor/base/EditAggregateTxn.cpp
rename : editor/libeditor/EditAggregateTxn.h => editor/libeditor/base/EditAggregateTxn.h
rename : editor/libeditor/EditTxn.cpp => editor/libeditor/base/EditTxn.cpp
rename : editor/libeditor/EditTxn.h => editor/libeditor/base/EditTxn.h
rename : editor/libeditor/IMETextTxn.cpp => editor/libeditor/base/IMETextTxn.cpp
rename : editor/libeditor/IMETextTxn.h => editor/libeditor/base/IMETextTxn.h
rename : editor/libeditor/InsertElementTxn.cpp => editor/libeditor/base/InsertElementTxn.cpp
rename : editor/libeditor/InsertElementTxn.h => editor/libeditor/base/InsertElementTxn.h
rename : editor/libeditor/InsertTextTxn.cpp => editor/libeditor/base/InsertTextTxn.cpp
rename : editor/libeditor/InsertTextTxn.h => editor/libeditor/base/InsertTextTxn.h
rename : editor/libeditor/JoinElementTxn.cpp => editor/libeditor/base/JoinElementTxn.cpp
rename : editor/libeditor/JoinElementTxn.h => editor/libeditor/base/JoinElementTxn.h
rename : editor/libeditor/PlaceholderTxn.cpp => editor/libeditor/base/PlaceholderTxn.cpp
rename : editor/libeditor/PlaceholderTxn.h => editor/libeditor/base/PlaceholderTxn.h
rename : editor/libeditor/SetDocTitleTxn.cpp => editor/libeditor/base/SetDocTitleTxn.cpp
rename : editor/libeditor/SetDocTitleTxn.h => editor/libeditor/base/SetDocTitleTxn.h
rename : editor/libeditor/SplitElementTxn.cpp => editor/libeditor/base/SplitElementTxn.cpp
rename : editor/libeditor/SplitElementTxn.h => editor/libeditor/base/SplitElementTxn.h
rename : editor/libeditor/crashtests/336104.html => editor/libeditor/base/crashtests/336104.html
rename : editor/libeditor/crashtests/382527-1.html => editor/libeditor/base/crashtests/382527-1.html
rename : editor/libeditor/crashtests/402172-1.html => editor/libeditor/base/crashtests/402172-1.html
rename : editor/libeditor/crashtests/407079-1.html => editor/libeditor/base/crashtests/407079-1.html
rename : editor/libeditor/crashtests/407256-1.html => editor/libeditor/base/crashtests/407256-1.html
rename : editor/libeditor/crashtests/430624-1.html => editor/libeditor/base/crashtests/430624-1.html
rename : editor/libeditor/crashtests/459613-iframe.html => editor/libeditor/base/crashtests/459613-iframe.html
rename : editor/libeditor/crashtests/459613.html => editor/libeditor/base/crashtests/459613.html
rename : editor/libeditor/crashtests/475132-1.xhtml => editor/libeditor/base/crashtests/475132-1.xhtml
rename : editor/libeditor/crashtests/633709.xhtml => editor/libeditor/base/crashtests/633709.xhtml
rename : editor/libeditor/crashtests/636074-1.html => editor/libeditor/base/crashtests/636074-1.html
rename : editor/libeditor/crashtests/713427-1.html => editor/libeditor/base/crashtests/713427-1.html
rename : editor/libeditor/crashtests/713427-2.xhtml => editor/libeditor/base/crashtests/713427-2.xhtml
rename : editor/libeditor/crashtests/762183.html => editor/libeditor/base/crashtests/762183.html
rename : editor/libeditor/crashtests/766360.html => editor/libeditor/base/crashtests/766360.html
rename : editor/libeditor/crashtests/766413.html => editor/libeditor/base/crashtests/766413.html
rename : editor/libeditor/crashtests/766845.xhtml => editor/libeditor/base/crashtests/766845.xhtml
rename : editor/libeditor/crashtests/768765.html => editor/libeditor/base/crashtests/768765.html
rename : editor/libeditor/crashtests/771749.html => editor/libeditor/base/crashtests/771749.html
rename : editor/libeditor/crashtests/772282.html => editor/libeditor/base/crashtests/772282.html
rename : editor/libeditor/crashtests/776323.html => editor/libeditor/base/crashtests/776323.html
rename : editor/libeditor/crashtests/crashtests.list => editor/libeditor/base/crashtests/crashtests.list
rename : editor/libeditor/nsEditProperty.h => editor/libeditor/base/nsEditProperty.h
rename : editor/libeditor/nsEditPropertyAtomList.h => editor/libeditor/base/nsEditPropertyAtomList.h
rename : editor/libeditor/nsEditRules.h => editor/libeditor/base/nsEditRules.h
rename : editor/libeditor/nsEditor.cpp => editor/libeditor/base/nsEditor.cpp
rename : editor/libeditor/nsEditor.h => editor/libeditor/base/nsEditor.h
rename : editor/libeditor/nsEditorCommands.cpp => editor/libeditor/base/nsEditorCommands.cpp
rename : editor/libeditor/nsEditorCommands.h => editor/libeditor/base/nsEditorCommands.h
rename : editor/libeditor/nsEditorController.cpp => editor/libeditor/base/nsEditorController.cpp
rename : editor/libeditor/nsEditorController.h => editor/libeditor/base/nsEditorController.h
rename : editor/libeditor/nsEditorEventListener.cpp => editor/libeditor/base/nsEditorEventListener.cpp
rename : editor/libeditor/nsEditorEventListener.h => editor/libeditor/base/nsEditorEventListener.h
rename : editor/libeditor/nsEditorUtils.cpp => editor/libeditor/base/nsEditorUtils.cpp
rename : editor/libeditor/nsEditorUtils.h => editor/libeditor/base/nsEditorUtils.h
rename : editor/libeditor/nsIAbsorbingTransaction.h => editor/libeditor/base/nsIAbsorbingTransaction.h
rename : editor/libeditor/nsSelectionState.cpp => editor/libeditor/base/nsSelectionState.cpp
rename : editor/libeditor/nsSelectionState.h => editor/libeditor/base/nsSelectionState.h
rename : editor/libeditor/nsStyleSheetTxns.cpp => editor/libeditor/base/nsStyleSheetTxns.cpp
rename : editor/libeditor/nsStyleSheetTxns.h => editor/libeditor/base/nsStyleSheetTxns.h
rename : editor/libeditor/tests/chrome.ini => editor/libeditor/base/tests/chrome.ini
rename : editor/libeditor/tests/file_bug586662.html => editor/libeditor/base/tests/file_bug586662.html
rename : editor/libeditor/tests/mochitest.ini => editor/libeditor/base/tests/mochitest.ini
rename : editor/libeditor/tests/moz.build => editor/libeditor/base/tests/moz.build
rename : editor/libeditor/tests/test_bug408231.html => editor/libeditor/base/tests/test_bug408231.html
rename : editor/libeditor/tests/test_bug46555.html => editor/libeditor/base/tests/test_bug46555.html
rename : editor/libeditor/tests/test_bug502673.html => editor/libeditor/base/tests/test_bug502673.html
rename : editor/libeditor/tests/test_bug514156.html => editor/libeditor/base/tests/test_bug514156.html
rename : editor/libeditor/tests/test_bug567213.html => editor/libeditor/base/tests/test_bug567213.html
rename : editor/libeditor/tests/test_bug586662.html => editor/libeditor/base/tests/test_bug586662.html
rename : editor/libeditor/tests/test_bug599983.html => editor/libeditor/base/tests/test_bug599983.html
rename : editor/libeditor/tests/test_bug599983.xul => editor/libeditor/base/tests/test_bug599983.xul
rename : editor/libeditor/tests/test_bug646194.xul => editor/libeditor/base/tests/test_bug646194.xul
rename : editor/libeditor/tests/test_bug742261.html => editor/libeditor/base/tests/test_bug742261.html
rename : editor/libeditor/tests/test_bug773262.html => editor/libeditor/base/tests/test_bug773262.html
rename : editor/libeditor/tests/test_bug795785.html => editor/libeditor/base/tests/test_bug795785.html
rename : editor/libeditor/tests/test_dragdrop.html => editor/libeditor/base/tests/test_dragdrop.html
rename : editor/libeditor/tests/test_selection_move_commands.xul => editor/libeditor/base/tests/test_selection_move_commands.xul
rename : editor/nsEditorCID.h => editor/public/nsEditorCID.h
rename : editor/txmgr/nsITransaction.idl => editor/txmgr/idl/nsITransaction.idl
rename : editor/txmgr/nsITransactionList.idl => editor/txmgr/idl/nsITransactionList.idl
rename : editor/txmgr/nsITransactionListener.idl => editor/txmgr/idl/nsITransactionListener.idl
rename : editor/txmgr/nsITransactionManager.idl => editor/txmgr/idl/nsITransactionManager.idl
rename : editor/txmgr/nsTransactionManagerCID.h => editor/txmgr/public/nsTransactionManagerCID.h
rename : editor/txmgr/nsTransactionItem.cpp => editor/txmgr/src/nsTransactionItem.cpp
rename : editor/txmgr/nsTransactionItem.h => editor/txmgr/src/nsTransactionItem.h
rename : editor/txmgr/nsTransactionList.cpp => editor/txmgr/src/nsTransactionList.cpp
rename : editor/txmgr/nsTransactionList.h => editor/txmgr/src/nsTransactionList.h
rename : editor/txmgr/nsTransactionManager.cpp => editor/txmgr/src/nsTransactionManager.cpp
rename : editor/txmgr/nsTransactionManager.h => editor/txmgr/src/nsTransactionManager.h
rename : editor/txmgr/nsTransactionManagerFactory.cpp => editor/txmgr/src/nsTransactionManagerFactory.cpp
rename : editor/txmgr/nsTransactionStack.cpp => editor/txmgr/src/nsTransactionStack.cpp
rename : editor/txmgr/nsTransactionStack.h => editor/txmgr/src/nsTransactionStack.h
rename : editor/txtsvc/nsIInlineSpellChecker.idl => editor/txtsvc/public/nsIInlineSpellChecker.idl
rename : editor/txtsvc/nsISpellChecker.h => editor/txtsvc/public/nsISpellChecker.h
rename : editor/txtsvc/nsITextService.h => editor/txtsvc/public/nsITextService.h
rename : editor/txtsvc/nsITextServicesDocument.h => editor/txtsvc/public/nsITextServicesDocument.h
rename : editor/txtsvc/nsITextServicesFilter.idl => editor/txtsvc/public/nsITextServicesFilter.idl
rename : editor/txtsvc/nsTextServicesCID.h => editor/txtsvc/public/nsTextServicesCID.h
rename : editor/txtsvc/nsFilteredContentIterator.cpp => editor/txtsvc/src/nsFilteredContentIterator.cpp
rename : editor/txtsvc/nsFilteredContentIterator.h => editor/txtsvc/src/nsFilteredContentIterator.h
rename : editor/txtsvc/nsTSAtomList.h => editor/txtsvc/src/nsTSAtomList.h
rename : editor/txtsvc/nsTextServicesDocument.cpp => editor/txtsvc/src/nsTextServicesDocument.cpp
rename : editor/txtsvc/nsTextServicesDocument.h => editor/txtsvc/src/nsTextServicesDocument.h
rename : editor/txtsvc/nsTextServicesFactory.cpp => editor/txtsvc/src/nsTextServicesFactory.cpp
rename : xpcom/string/nsAString.h => xpcom/string/public/nsAString.h
rename : xpcom/string/nsAlgorithm.h => xpcom/string/public/nsAlgorithm.h
rename : xpcom/string/nsCharTraits.h => xpcom/string/public/nsCharTraits.h
rename : xpcom/string/nsDependentString.h => xpcom/string/public/nsDependentString.h
rename : xpcom/string/nsDependentSubstring.h => xpcom/string/public/nsDependentSubstring.h
rename : xpcom/string/nsEmbedString.h => xpcom/string/public/nsEmbedString.h
rename : xpcom/string/nsLiteralString.h => xpcom/string/public/nsLiteralString.h
rename : xpcom/string/nsPrintfCString.h => xpcom/string/public/nsPrintfCString.h
rename : xpcom/string/nsPromiseFlatString.h => xpcom/string/public/nsPromiseFlatString.h
rename : xpcom/string/nsReadableUtils.h => xpcom/string/public/nsReadableUtils.h
rename : xpcom/string/nsString.h => xpcom/string/public/nsString.h
rename : xpcom/string/nsStringBuffer.h => xpcom/string/public/nsStringBuffer.h
rename : xpcom/string/nsStringFwd.h => xpcom/string/public/nsStringFwd.h
rename : xpcom/string/nsStringIterator.h => xpcom/string/public/nsStringIterator.h
rename : xpcom/string/nsSubstring.h => xpcom/string/public/nsSubstring.h
rename : xpcom/string/nsSubstringTuple.h => xpcom/string/public/nsSubstringTuple.h
rename : xpcom/string/nsTDependentString.h => xpcom/string/public/nsTDependentString.h
rename : xpcom/string/nsTDependentSubstring.h => xpcom/string/public/nsTDependentSubstring.h
rename : xpcom/string/nsTLiteralString.h => xpcom/string/public/nsTLiteralString.h
rename : xpcom/string/nsTPromiseFlatString.h => xpcom/string/public/nsTPromiseFlatString.h
rename : xpcom/string/nsTString.h => xpcom/string/public/nsTString.h
rename : xpcom/string/nsTSubstring.h => xpcom/string/public/nsTSubstring.h
rename : xpcom/string/nsTSubstringTuple.h => xpcom/string/public/nsTSubstringTuple.h
rename : xpcom/string/nsUTF8Utils.h => xpcom/string/public/nsUTF8Utils.h
rename : xpcom/string/nsXPCOMStrings.h => xpcom/string/public/nsXPCOMStrings.h
rename : xpcom/string/nsXPIDLString.h => xpcom/string/public/nsXPIDLString.h
rename : xpcom/string/string-template-def-char.h => xpcom/string/public/string-template-def-char.h
rename : xpcom/string/string-template-def-unichar.h => xpcom/string/public/string-template-def-unichar.h
rename : xpcom/string/string-template-undef.h => xpcom/string/public/string-template-undef.h
rename : xpcom/string/nsDependentString.cpp => xpcom/string/src/nsDependentString.cpp
rename : xpcom/string/nsDependentSubstring.cpp => xpcom/string/src/nsDependentSubstring.cpp
rename : xpcom/string/nsPromiseFlatString.cpp => xpcom/string/src/nsPromiseFlatString.cpp
rename : xpcom/string/nsReadableUtils.cpp => xpcom/string/src/nsReadableUtils.cpp
rename : xpcom/string/nsString.cpp => xpcom/string/src/nsString.cpp
rename : xpcom/string/nsStringComparator.cpp => xpcom/string/src/nsStringComparator.cpp
rename : xpcom/string/nsStringObsolete.cpp => xpcom/string/src/nsStringObsolete.cpp
rename : xpcom/string/nsSubstring.cpp => xpcom/string/src/nsSubstring.cpp
rename : xpcom/string/nsSubstringTuple.cpp => xpcom/string/src/nsSubstringTuple.cpp
rename : xpcom/string/nsTDependentString.cpp => xpcom/string/src/nsTDependentString.cpp
rename : xpcom/string/nsTDependentSubstring.cpp => xpcom/string/src/nsTDependentSubstring.cpp
rename : xpcom/string/nsTPromiseFlatString.cpp => xpcom/string/src/nsTPromiseFlatString.cpp
rename : xpcom/string/nsTString.cpp => xpcom/string/src/nsTString.cpp
rename : xpcom/string/nsTStringComparator.cpp => xpcom/string/src/nsTStringComparator.cpp
rename : xpcom/string/nsTStringObsolete.cpp => xpcom/string/src/nsTStringObsolete.cpp
rename : xpcom/string/nsTSubstring.cpp => xpcom/string/src/nsTSubstring.cpp
rename : xpcom/string/nsTSubstringTuple.cpp => xpcom/string/src/nsTSubstringTuple.cpp
rename : xpcom/string/nsUTF8UtilsSSE2.cpp => xpcom/string/src/nsUTF8UtilsSSE2.cpp
2014-06-24 18:32:55 -07:00
Brian Birtles
b118cf06d3 Bug 1028514 - Check for integer overflow when converting from floating-point number milliseconds; r=froydnj
In TimeStamp_windows.cpp and TimeStamp_darwin.cpp, in
TimeStamp::FromMilliseconds we cast the floating-point number of ticks to
a 64-bit integer before passing to TimeStamp::FromTicks(int64_t).
This means that we skip the check for integer overflow performed by
TimeStamp::FromTicks(double).

This patch simply removes that cast so that we perform overflow checking.

It also adds an assertion to ElementAnimation since this is one place where
the lack of overflow checking was producing a negative value where it should
not.
2014-06-25 09:42:18 +09:00
Birunthan Mohanathas
c6a15db993 Bug 1028559 - Flatten xpcom/string/{public,src}/ directories. r=dbaron
--HG--
rename : xpcom/string/public/nsAString.h => xpcom/string/nsAString.h
rename : xpcom/string/public/nsAlgorithm.h => xpcom/string/nsAlgorithm.h
rename : xpcom/string/public/nsCharTraits.h => xpcom/string/nsCharTraits.h
rename : xpcom/string/src/nsDependentString.cpp => xpcom/string/nsDependentString.cpp
rename : xpcom/string/public/nsDependentString.h => xpcom/string/nsDependentString.h
rename : xpcom/string/src/nsDependentSubstring.cpp => xpcom/string/nsDependentSubstring.cpp
rename : xpcom/string/public/nsDependentSubstring.h => xpcom/string/nsDependentSubstring.h
rename : xpcom/string/public/nsEmbedString.h => xpcom/string/nsEmbedString.h
rename : xpcom/string/public/nsLiteralString.h => xpcom/string/nsLiteralString.h
rename : xpcom/string/public/nsPrintfCString.h => xpcom/string/nsPrintfCString.h
rename : xpcom/string/src/nsPromiseFlatString.cpp => xpcom/string/nsPromiseFlatString.cpp
rename : xpcom/string/public/nsPromiseFlatString.h => xpcom/string/nsPromiseFlatString.h
rename : xpcom/string/src/nsReadableUtils.cpp => xpcom/string/nsReadableUtils.cpp
rename : xpcom/string/public/nsReadableUtils.h => xpcom/string/nsReadableUtils.h
rename : xpcom/string/src/nsString.cpp => xpcom/string/nsString.cpp
rename : xpcom/string/public/nsString.h => xpcom/string/nsString.h
rename : xpcom/string/public/nsStringBuffer.h => xpcom/string/nsStringBuffer.h
rename : xpcom/string/src/nsStringComparator.cpp => xpcom/string/nsStringComparator.cpp
rename : xpcom/string/public/nsStringFwd.h => xpcom/string/nsStringFwd.h
rename : xpcom/string/public/nsStringIterator.h => xpcom/string/nsStringIterator.h
rename : xpcom/string/src/nsStringObsolete.cpp => xpcom/string/nsStringObsolete.cpp
rename : xpcom/string/src/nsSubstring.cpp => xpcom/string/nsSubstring.cpp
rename : xpcom/string/public/nsSubstring.h => xpcom/string/nsSubstring.h
rename : xpcom/string/src/nsSubstringTuple.cpp => xpcom/string/nsSubstringTuple.cpp
rename : xpcom/string/public/nsSubstringTuple.h => xpcom/string/nsSubstringTuple.h
rename : xpcom/string/src/nsTDependentString.cpp => xpcom/string/nsTDependentString.cpp
rename : xpcom/string/public/nsTDependentString.h => xpcom/string/nsTDependentString.h
rename : xpcom/string/src/nsTDependentSubstring.cpp => xpcom/string/nsTDependentSubstring.cpp
rename : xpcom/string/public/nsTDependentSubstring.h => xpcom/string/nsTDependentSubstring.h
rename : xpcom/string/public/nsTLiteralString.h => xpcom/string/nsTLiteralString.h
rename : xpcom/string/src/nsTPromiseFlatString.cpp => xpcom/string/nsTPromiseFlatString.cpp
rename : xpcom/string/public/nsTPromiseFlatString.h => xpcom/string/nsTPromiseFlatString.h
rename : xpcom/string/src/nsTString.cpp => xpcom/string/nsTString.cpp
rename : xpcom/string/public/nsTString.h => xpcom/string/nsTString.h
rename : xpcom/string/src/nsTStringComparator.cpp => xpcom/string/nsTStringComparator.cpp
rename : xpcom/string/src/nsTStringObsolete.cpp => xpcom/string/nsTStringObsolete.cpp
rename : xpcom/string/src/nsTSubstring.cpp => xpcom/string/nsTSubstring.cpp
rename : xpcom/string/public/nsTSubstring.h => xpcom/string/nsTSubstring.h
rename : xpcom/string/src/nsTSubstringTuple.cpp => xpcom/string/nsTSubstringTuple.cpp
rename : xpcom/string/public/nsTSubstringTuple.h => xpcom/string/nsTSubstringTuple.h
rename : xpcom/string/public/nsUTF8Utils.h => xpcom/string/nsUTF8Utils.h
rename : xpcom/string/src/nsUTF8UtilsSSE2.cpp => xpcom/string/nsUTF8UtilsSSE2.cpp
rename : xpcom/string/public/nsXPCOMStrings.h => xpcom/string/nsXPCOMStrings.h
rename : xpcom/string/public/nsXPIDLString.h => xpcom/string/nsXPIDLString.h
rename : xpcom/string/public/string-template-def-char.h => xpcom/string/string-template-def-char.h
rename : xpcom/string/public/string-template-def-unichar.h => xpcom/string/string-template-def-unichar.h
rename : xpcom/string/public/string-template-undef.h => xpcom/string/string-template-undef.h
2014-06-21 08:56:57 -07:00
Nathan Froyd
7a4dfe1208 Bug 728600 - define TARGET_XPCOM_ABI in mozilla-config.h; r=glandium 2014-06-23 15:06:48 -04:00
Jed Davis
59fe626758 Bug 1027434 - Report non-main-thread stacks in SystemMemoryReporter. r=njn
This depends on tagged anonymous memory in order to avoid stacks merging
with adjacent non-stack virtual memory areas.
2014-06-24 12:15:32 -07:00
Jed Davis
7935402583 Bug 965724 - Use IPC for NS_OpenAnonymousTemporaryFile if in content process. r=roc 2014-06-24 10:11:36 -07:00
Jason Orendorff
0bfce2ba30 Bug 645416, part 3 - Symbol layout and GC support for allocating them. r=terrence.
Layout: js/src/vm/Symbol.h defines the new class JS::Symbol. JS::Symbol is the
same size as JSString on all platforms, because the allocator does not support
smaller allocations.

Allocation: Since the purpose of symbols is to serve as property keys, they are
always allocated in the atoms compartment.

We take a lock when allocating. This could probably be replaced with a
main-thread-only assertion. However, if atom allocation is not already a
bottleneck, symbol allocation probably never will be.

Symbols are given their own finalize-class in the GC. This means we allocate a
page per zone for symbols, even though they are only ever allocated in the
atoms zone. Terrence thought this could be easily fixed later. It should be; we
never touch the page, but a 32-bit virtual address space does not just have
infinite pages to spare.

A jsapi-test exercises the new symbol allocation code. A few oddities in
jsapi-tests are fixed in passing.

Discussion after review led to some new assertions about minimum object size in
AllocateObject and AllocateNonObject.

--HG--
extra : rebase_source : 45abb651d3b1b493d77a5dd0eb554f96b058c63a
2014-06-23 10:55:51 -05:00
Ehsan Akhgari
ebc8bc01bb Bug 1028633 - Use gcc inline assembly in xptcstubs.cpp for clang-cl; r=bsmedberg 2014-06-23 10:30:02 -07:00
Ehsan Akhgari
12212e62a7 Bug 1028613 - Modify the x86 MSVC implementation of NS_InvokeByIndex to make it compatible with clang-cl; r=bsmedberg 2014-06-23 10:29:21 -07:00
Byron Campen [:bwc]
9bde1ce79d Bug 1024765 - Part 2: Make refcounting logic around PostTimerEvent more explicit. r=bz 2014-06-16 14:13:04 -07:00
Byron Campen [:bwc]
43fb3daf36 Bug 1024765 - Part 1: Add test case for timers firing when the target thread is not running. r=bwc 2014-06-17 13:37:04 -07:00
Mike Hommey
ad07eb8f62 Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder,r=nfroyd,r=gps 2013-11-19 13:45:31 +09:00
Peter Van der Beken
7785f47487 Bug 1027095 - Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz. 2013-07-04 17:40:06 +02:00
Jonathan Watt
b440da1089 Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron 2014-06-22 23:02:59 +01:00
Benoit Jacob
ea37f0c6be Bug 1028428 - clang+libc++ still doesn't provide a usable std::is_destructible, so just use the fallback implementation instead - no review, bustage fix 2014-06-21 15:46:27 -04:00
Chris Peterson
2c6c9dce99 Bug 1013065 - Remove bug 65664's NSCAP_DONT_PROVIDE_NONCONST_OPEQ workaround. r=dbaron 2014-05-04 23:11:04 -07:00
Jim Chen
e1ee0f5796 Bug 1023461 - Record filename and line number for chrome JS entries; r=snorp 2014-06-20 14:28:10 -04:00
Jim Chen
798fef8dc2 Bug 1023461 - Add HangStack class to support internal string buffer; r=vladan 2014-06-20 14:28:10 -04:00
Jim Chen
27424ad9cc Bug 1023461 - Remove temporary stack buffer in ThreadStackHelper; r=snorp 2014-06-20 14:28:10 -04:00
Kyle Huey
95da95656a Bug 1027251: Disable destructor checking on Windows. r=me 2014-06-20 07:33:00 -07:00
Benoit Jacob
f698872409 Bug 1027251 - Enforce that dangerous public destructors must be explicitly whitelisted - r=ehsan 2014-06-20 07:08:25 -04:00
Ms2ger
5859387c6d Bug 1025022 - Pass T* to nsCOMArray::Contains; r=NeilAway 2014-06-20 12:32:50 +02:00
Kyle Huey
fcaab74dfe Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Benoit Jacob
67317fb139 Bug 1027251 - Fix or whitelist dangerous public destructors in xpcom/ - r=ehsan 2014-06-18 22:29:00 -04:00
Benoit Jacob
60ee525a4b Bug 1027251 - Initial empty HasDangerousPublicDestructor whitelist - r=ehsan 2014-06-18 22:28:59 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Eric Faust
dea30e7893 Bug 1011660 - Remove separate DOMClass struct. (r=bz) 2014-06-18 13:19:19 -07:00
Jed Davis
d5a426e82a Bug 1011350 - Collect TaggedAnonymousMemory info in SystemMemoryReporter. r=njn
To allow flexibility in tagging, and integrate with non-Gecko uses of
this facility (e.g., Bionic's malloc() tags with "libc_malloc"), the
fixed list of memory kinds used to aggregate across processes is replaced
with arbitrary strings.
2014-06-17 17:56:00 +02:00
Josh Matthews
7b04bfba51 Bug 902271 - Make StorageInputStream serializable cross-process. r=bent 2014-06-17 11:52:59 +01:00
Jan Beich
0ec208e47f Bug 1015547 - Fill |struct nsID| via arc4random_buf if available on Android and BSDs. r=vlad, r=glandium 2014-06-02 18:42:00 -04:00
Jan Beich
0374402eeb Bug 1015547 - Prefer arc4random to generate UUIDs on BSDs. r=vlad, r=glandium 2014-06-02 18:41:00 -04:00
Wes Kocher
32fd73ab80 Backed out changeset 66f9a0038c67 (bug 774388) for various frequent intermittent failures including mochitest-2 on a CLOSED TREE 2014-06-16 19:00:15 -07:00
Benoit Jacob
2d074cbb04 Bug 774388 - Patch 5: Properly manage the lifetime of the compositor thread, by waiting for CrossProcessCompositorParents to die before destroying it - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Ryan VanderMeulen
4ba5134f55 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-16 14:26:54 -04:00
Daniel Stenberg
a29ee21efd Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.

Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER

In HTTP1.1 for Content-Length: and chunked-encoding underruns

In http2 and SPDY for framing errors when data has already been received.

imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Jan Keromnes
78b25a6311 Bug 976024 - Track Unique Set Size in the Developer HUD. r=21, r=njn 2014-06-13 06:38:00 +02:00
Benoit Girard
9ea973aec8 Bug 1021990 - Migrate to xpcom based EventTracer. r=ehsan 2014-06-06 17:53:42 -04:00
Benoit Jacob
4e23e75d75 Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro 2014-06-06 09:51:24 -04:00
Jan Varga
8131e31c43 Bug 1006485 - Part a: Rename FileHandle to MutableFile and LockedFile to FileHandle; r=bent
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/MutableFile.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/MutableFile.h
rename : dom/filehandle/test/test_lockedfile_lifetimes.html => dom/filehandle/test/test_filehandle_lifetimes.html
rename : dom/filehandle/test/test_lockedfile_lifetimes_nested.html => dom/filehandle/test/test_filehandle_lifetimes_nested.html
rename : dom/filehandle/test/test_lockedfile_ordering.html => dom/filehandle/test/test_filehandle_ordering.html
rename : dom/filehandle/test/test_overlapping_lockedfiles.html => dom/filehandle/test/test_overlapping_filehandles.html
rename : dom/filehandle/test/test_readonly_lockedfiles.html => dom/filehandle/test/test_readonly_filehandles.html
rename : dom/indexedDB/IDBFileHandle.cpp => dom/indexedDB/IDBMutableFile.cpp
rename : dom/indexedDB/IDBFileHandle.h => dom/indexedDB/IDBMutableFile.h
rename : dom/webidl/IDBFileHandle.webidl => dom/webidl/IDBMutableFile.webidl
rename : dom/webidl/FileHandle.webidl => dom/webidl/MutableFile.webidl
2014-06-12 05:35:29 +02:00
Ed Morley
970f69844d Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-06-11 17:14:10 +01:00
Vicamo Yang
45bd978b7c Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Brian Birtles
9cd18959bd Bug 1004365 part 3b.1 - Add % operator to TimeDuration; r=froydnj 2014-06-11 14:19:08 +09:00
Brian Birtles
10b4d4aa45 Bug 1004365 part 2 - Add TimeDuration != operator; r=froydnj 2014-06-11 14:19:07 +09:00
Aaron Klotz
583358c6fd Bug 1021187: Main thread should be unregistred from IOInterposer in ASAN builds; r=ehsan 2014-06-10 14:33:19 -06:00
Ryan VanderMeulen
1a95a5e89d Merge inbound to m-c. a=merge 2014-06-09 16:46:33 -04:00
ffxbld
d5e7d47bda Version bump. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release 2014-06-09 11:50:02 -07:00
Ehsan Akhgari
1a3e298678 Bug 1022420 - Disable NS_NO_VTABLE on clang-cl in order to avoid the compiler warning; r=froydnj 2014-06-09 07:57:10 -04:00
Ehsan Akhgari
b299d803a2 Bug 1022033 - Disable NS_lroundup30 on clang-cl; r=jrmuizel
This function contains inline assembly which clang-cl can't compile yet.
2014-06-06 20:13:48 -04:00
Ehsan Akhgari
6f6af81f74 Bug 1021494 - Fix a compiler error with clang-cl in nsScriptableInputStream.cpp; r=froydnj
--HG--
extra : rebase_source : ec8db04ca59e87caed2f523ccc1b3dd645ab37c2
2014-06-06 18:56:07 -04:00
Jim Chen
c66cf1e18d Bug 1013326 - Distinguish chrome and content scripts in pseudostack; r=snorp 2014-06-06 18:39:40 -04:00
Chris Peterson
c204165da0 Bug 945029 - Fix up Android's broken [u]intptr_t inttype macros. r=Waldo 2014-05-12 22:27:14 -07:00
Nicolas B. Pierron
389eb6855e Bug 1014071 - Add support for USS on Linux. r=BenWa,njn 2014-06-05 08:31:09 -07:00
Olli Pettay
8cb0ee1896 Bug 1020622 - Trace black windows' (webidl) event listeners, r=mccr8 2014-06-05 02:48:50 +03:00
Nathan Froyd
299b9aee87 Bug 996061 - part 4 - throw away unscriptable interfaces that aren't otherwise needed; r=ted 2014-04-15 14:41:08 -04:00
Nathan Froyd
c95fe0687f Bug 996061 - part 3 - try to shim param information in xptiInterfaceEntry when possible; r=bholley
This patch does all the interesting work: we check for shims whenever we get
asked about parameter information for methods.  If there's a shim for what we
want, we ask the shim to provide the information.  If not, we fail as usual.
2014-05-16 17:19:26 -04:00
Nathan Froyd
1dacc16e2c Bug 996061 - part 2 - split out a method for getting an interface's typelib index; r=bholley
The code that looks up |xptiInterfaceEntry|s starts by figuring out where in
the typelib the desired entry lives.  We want to do the same thing for the
purpose of getting shims, so we can ask the typelib for the name of the thing
at that index.  Split out a method to do this for us.
2014-05-16 16:49:34 -04:00
Nathan Froyd
c788fadd6d Bug 996061 - part 1 - add GetEntryNameAt method for typelibs; r=bholley
xpt linking works with two different currencies: UUIDs of interfaces, and names
of interfaces.  Names are how we support linking in unknown-at-compile-time
interfaces at runtime.  Since we need to know names to decide whether we have
shims for interfaces or not, we need a method for exposing the names.
2014-05-16 16:48:29 -04:00
Nathan Froyd
94bb6d69ae Bug 996061 - part 0 - make tests use [scriptable] interfaces; r=ted
Smart xpt linking will keep around [scriptable] interfaces and anything
those interfaces depend on.  Modify the tests that deal with xpt linking
so they use [scriptable] interfaces, ensuring that the tests continue to
work in the face of smarter linkers.
2014-05-19 12:35:21 -04:00
Kyle Huey
a87647dfb2 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-03 15:52:36 -07:00
Jeff Muizelaar
d5bf7b7a57 Bug 1017132. Don't call printf in FramePointerStackWalk. r=dbaron
This avoids hangs while profiling.

--HG--
extra : rebase_source : 1f6dd552ed3f26017107f41283ca667a246765c0
2014-06-03 15:42:10 -04:00
Ehsan Akhgari
223b879989 Typo fix, no bug, DONTBUILD, CLOSED TREE 2014-06-03 12:44:48 -04:00
Ehsan Akhgari
a9e75d81de Add some documentation for ShimInterfaceInfo, no bug, DONTBUILD, CLOSED TREE 2014-06-03 12:37:08 -04:00
David Major
9ca8db2932 Bug 1018477: Fix R/M check in x86 detour code. r=m_kato 2014-06-03 16:47:43 +12:00
Robert O'Callahan
44a3b169a7 Bug 1015664. Part 4: Remove NS_HIDDEN in a few miscellaneous places. r=bsmedberg 2014-06-03 00:08:29 +12:00
Robert O'Callahan
cadd97f2f1 Bug 1015664. Part 3: Remove NS_HIDDEN_VISIBILITY from NS_IMETHOD_VISIBILITY. r=bsmedberg 2014-06-03 00:08:27 +12:00
Robert O'Callahan
a8bbe633b9 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
Robert O'Callahan
9170085906 Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Carsten "Tomcat" Book
7628fd5821 Backed out changeset 1f5266cae802 (bug 1017418) for B2G ICS Emulator Opt Reftest Failures & Crashes on a CLOSED TREE 2014-06-02 11:27:29 +02:00
Carsten "Tomcat" Book
504e9fdc9d Backed out changeset 1b81b771aee6 (bug 1017418) 2014-06-02 11:26:12 +02:00
Nicholas Nethercote
1f6501ee8c Bug 1017418 (part 2) - Avoid more slop in nsTArray. r=froydnj. 2014-06-01 16:08:50 -07:00
Nicholas Nethercote
7c04dbe0fe Bug 1017418 (part 1) - Don't assume that nsTArray::SetCapacity() will result in exactly the requested capacity. r=froydnj. 2014-06-01 15:54:46 -07:00
Phil Ringnalda
61966eed95 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
5643294005 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Jan Beich
72cc1b277a Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld 2014-05-29 05:24:00 +02:00
Brian Birtles
314e088ee3 Bug 1016757 - Add TimeDuration::operator* (const uint64_t) const, i.e. accept an unsigned 64-bit integer as a multiplier; r=froydnj 2014-05-30 09:45:39 +09:00
Brian Hackett
6fe0a1d95d Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm. 2014-05-29 13:06:23 -06:00
Jason Orendorff
c91d8fd048 Follow-up to bug 987995, rev ca1f7ae987ee, to fix builds without MOZ_CRASHREPORTER. r=red on a CLOSED TREE. 2014-05-29 13:41:54 -05:00
Ryan VanderMeulen
d5bf14a0a5 Backed out changeset 16e5c41a0893 (bug 1015547) for bustage. 2014-05-30 17:09:39 -04:00
Ryan VanderMeulen
bf4e3240c0 Backed out changeset 7b6b2d8dd79b (bug 1015547) for bustage. 2014-05-30 17:09:34 -04:00
Jan Beich
310f73d1b4 Bug 1015547 - Fill |struct nsID| via arc4random_buf if available on Android and BSDs. r=vlad, r=glandium 2014-05-29 23:09:00 -04:00
Jan Beich
abb1e56e84 Bug 1015547 - Prefer arc4random to generate UUIDs on BSDs. r=vlad, r=glandium 2014-05-28 21:43:00 -04:00
Brian Smith
669c77bb7e Bug 1010634, Part 2: Fix compiler warnings in MFBT and XPCOM, r=ehsan
--HG--
extra : rebase_source : 8839297479ce2ade7a7e6cb5099178e799a0e516
2014-05-29 20:18:29 -07:00
Jason Orendorff
cb0fa693b1 Bug 987995, part 4 - Add new crash reporter annotations for JS out-of-memory conditions. r=mccr8,r=bsmedberg. 2014-05-22 08:18:02 -05:00
Benoit Jacob
2f3ef505c0 Bug 852393 - Specialize nsAutoTArray<T, 0> to be an nsTArray - r=froydnj 2014-05-29 11:59:37 -04:00
Jan Beich
560c6554f4 Bug 1016631 - Cosmetic fix to use correct type for sysctl()'s 2nd argument. Also s/NULL/nullptr/ style fix in my code. r=gcp, r=vladan 2014-05-28 18:11:00 -04:00
Jan Beich
c6e5e670dc Bug 1013675- Implement nsDebugImpl::GetIsDebuggerAttached() on BSDs. r=vladan 2014-05-20 17:20:00 -04:00
David Major
f4fa67e2d0 Bug 1014288: Fix the OOM check in nsTArrayInfallibleAllocator::Realloc. r=bsmedberg 2014-05-28 14:45:15 +12:00
Jeff Walden
2155f1cf29 Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff 2014-05-27 14:32:41 -07:00
Ryan VanderMeulen
b46128affc Backed out changeset 2c631967ab9e (bug 999651) for B2G crashes.
CLOSED TREE
2014-05-27 14:08:30 -04:00
Jeff Walden
8978c3f50f Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent 2014-05-27 09:56:43 -07:00
Neil Rashbrook
9cfd58c16f Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
f3421c776b Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Birunthan Mohanathas
e7d1484cb7 Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj
--HG--
extra : rebase_source : 1f6f179f44db87f55ebfe5d855192adfad7d1b74
2014-05-27 10:15:35 +03:00
Birunthan Mohanathas
4a7f8c92a2 Bug 995730 - Convert xpcom/string/ to Gecko style. r=froydnj
--HG--
extra : rebase_source : ca62984a1bad49505dd8fd480dc3d525c85cc210
2014-05-27 10:15:35 +03:00
Birunthan Mohanathas
f9b1b35c3e Bug 869836 - Part 11: Use Append('c') instead of AppendLiteral("c"). r=ehsan
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Neil Rashbrook
12b4869c02 Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Landry Breuil
2c8120fb04 Bug 961488: fix crash in mozJSComponentLoader::Import on 32-bits powerpc/sparc unix-but-non-mac oses. r=bz,glandium f=stevesn,spectre 2014-05-27 07:56:54 +02:00
Ehsan Akhgari
ad3b490e96 Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem 2014-05-25 21:46:24 -04:00
Will Hawkins
8adbbdb8f0 Bug 996310 - nsIBinaryOutputStream should return number of bytes read. r=bsmedberg 2014-05-22 13:56:56 -07:00
Ehsan Akhgari
a9b1426983 Bug 1015430 - Fix more XPCOM constructors to clarify whether they should be explicit; r=froydnj 2014-05-25 21:16:01 -04:00
Sotaro Ikeda
cb17692178 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink
ea69951aea Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE 2014-05-23 21:16:02 -07:00
Boris Zbarsky
72c13f6d06 Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Sotaro Ikeda
e66ebd661d Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Wes Kocher
b1b2b3a291 Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky
aea41c8d2e Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Eric Rahm
fd5aaf36e7 Bug 1006769 - Part 1: Improve heap-overhead memory reporting. r=njn 2014-05-21 17:34:06 -07:00
Kyle Huey
8a1ded0d50 Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Kyle Huey
291b9fd9d6 Bug 996132: Make allocations in the event queue infallible. r=bsmedberg 2014-05-23 12:53:14 -07:00
Nicolas Silva
68b4a5e659 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Andrea Marchesini
29df09f67c Bug 1014657 - Port DOMStorageEvent to WebIDL and remove nsIDOMStorageEvent, r=smaug, f=ms2ger 2014-05-23 08:33:24 +01:00
Nicholas Nethercote
b8e23eaf85 Bug 1014249 - Beef up the "is DMD enabled?" and "is DMD running?" checks. r=mccr8.
--HG--
extra : rebase_source : 868ce1a1e470e45f51447f5126982aaeb51905f1
2014-05-22 19:45:14 -07:00
Carsten "Tomcat" Book
939b646157 Backed out changeset 2f6f548cd175 (bug 987995) for bustage on a CLOSED TREE 2014-05-22 15:57:30 +02:00
Jason Orendorff
676caaff07 Bug 987995, part 4 - Add new crash reporter annotations. r=mccr8,r=bsmedberg. 2014-05-22 08:18:02 -05:00
Jason Orendorff
e77930726a Bug 987995, part 3 - Move memory pressure callbacks from nsJSEnvironment/XPCJSRuntime to CycleCollectedJSRuntime. r=mccr8. 2014-05-22 08:18:02 -05:00
Birunthan Mohanathas
7c52695765 Bug 869836 - Fix bustage on Windows due to rebases. r=me 2014-05-22 07:25:28 +03:00
Ehsan Akhgari
897e351e52 Bug 1013664 - Fix bad implicit conversion constructors in XPCOM; r=froydnj
--HG--
extra : rebase_source : e3260a536292175cb1ad23a53dfe9e3f4bb8ff10
2014-05-21 21:33:28 -04:00
Birunthan Mohanathas
6f68094e30 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
2deaba6d91 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
76ca8ec617 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
c4568a7085 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
807e72372f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
411a8639b4 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
5d51a7d58f Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...). r=ehsan 2014-05-22 06:48:50 +03:00
Wes Kocher
fa6b843889 Backed out changesets 8c23781bad3c,16418be9d4dd (bug 996310) for dt1 bustage on a CLOSED TREE 2014-05-21 16:21:17 -07:00
Ryan VanderMeulen
bcbeeaf810 Bug 996310 - Remove stray + that crept in when rebasing to fix a CLOSED TREE. 2014-05-21 18:20:10 -04:00
Will Hawkins
80f1a9a9f3 Bug 996310 - Change readArrayBuffer to return the number of bytes read. r=bsmedberg 2014-04-29 12:36:00 -04:00
Birunthan Mohanathas
51bb570c80 Bug 798033 - Remove 'using namespace' from remaining headers. r=froydnj 2014-05-18 19:34:00 -04:00
Richard Barnes
84b4f71b33 Bug 995385 - Add WebCrypto WebIDL interfaces. r=bz, r=cviecco, r=dkeeler 2014-05-15 06:20:00 -04:00
Nicholas Nethercote
03023e2bf9 Bug 1013078 (part 1) - Remove some dead code left over from the removal of the Leaky tool. r=dbaron.
--HG--
extra : rebase_source : 2382c476375c0f51c14800c1e8f363363737807e
2014-05-20 18:03:27 -07:00
Terrence Cole
550d6b3006 Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
--HG--
extra : rebase_source : 18c195a3a5897529275deb210bfa7f57f8e29bd8
2014-05-14 19:48:09 -07:00
Trevor Saunders
4abce4092c bug 1004746 - part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj 2014-05-07 18:05:37 -04:00
Josh Aas
3675b7efa2 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Phil Ringnalda
3b63909530 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
792dc0a797 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
Mats Palmgren
b06c67b2b3 Bug 1009263 - Add nsCheapSets::Clear() method that removes all entries and return it to minimal size in terms of memory use. r=bsmedberg 2014-05-17 23:10:53 +00:00
Ryan VanderMeulen
582b987a26 Backed out changeset 36bfb1d8b8fe (bug 1010655) for Cpp test crashes. 2014-05-16 14:52:13 -04:00
Terrence Cole
65e68dba5c Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
--HG--
extra : rebase_source : 474ef235d747f9008f79b2ad0328ec1566b8c641
2014-05-14 19:48:09 -07:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Nicolas Silva
42a451f0bb Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Andrew McCreight
b18fc65773 Bug 1008420, part 2 - Split out a refcountless nsArray base class. r=bsmedberg 2014-05-15 09:52:58 -07:00
Andrew McCreight
8970c069d5 Bug 1008420, part 1 - Delete trailing whitespace from nsArray. r=bsmedberg 2014-05-15 09:52:58 -07:00
Andrew McCreight
95687fc060 Bug 971264 - Remove nsHashtable. r=bsmedberg 2014-05-15 09:52:57 -07:00
Birunthan Mohanathas
99b3ba82ab Bug 995730 - Fix style violations in xpcom/io/. r=froydnj 2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
497a0d9d6f Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj 2014-05-14 23:14:58 +03:00
Andrew McCreight
b46d6ba3b7 Bug 1007722 - Add helper methods for gray and black JS in the CC. r=smaug 2014-05-14 09:45:50 -07:00
Andrew McCreight
8948c072d8 Bug 1005396 - Finish a long ICC early after graph building has finished. r=smaug 2014-05-14 09:45:50 -07:00
Nicholas Nethercote
411cb9c980 Bug 1005836 - Avoid slop NodePool::Block allocations. r=mccr8.
--HG--
extra : rebase_source : 2297b22e7a5d6679d8b25679d338f001c7427b60
2014-05-13 20:42:27 -07:00
Jed Davis
eb69e55005 Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
This has a few semi-interdependent pieces:

* Factoring out the file opening/closing/renaming from the GC/CC logging.

* Using IPC to have the child log to files that the parent opened.

* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
  of child process logging (which was impossible before this, and which is
  needed to have a meaningful test case).

* Changing about:memory to dump logs for child processes, matching the
  behavior of the "Measure" button, because it can tell the user where
  they are now.

* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
  interface, not by clicking buttons and scraping the about:memory page,
  but done as a chrome mochitest to start remote browsers); based on
  test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Andrew McCreight
9e9b401d1d Bug 958353, part 2 - Always check if an ICC is in progress in FixWeakMappingGrayBits(). r=smaug
This makes it easier to test against invalid interleavings of IGC and ICC.
2014-05-13 11:58:39 -07:00
Birunthan Mohanathas
861e6d5ffe Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation 2014-05-13 20:41:38 +03:00
Aaron Klotz
cdfc458acb Bug 1005748: Add basic UNC support to NtPathToDosPath; r=ehsan
--HG--
extra : rebase_source : 78c56f036a705c624721c705c51b1c4a0aefcdc0
2014-05-12 13:32:28 -06:00
Neil Rashbrook
0b29793db8 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-11 10:47:11 +01:00
Andrew McCreight
7ee0fd7bbf Bug 972605, part 3 - Make nsErrorService use a modern hash table. r=froydnj 2014-05-09 13:47:37 -07:00
Andrew McCreight
a3ef5307d4 Bug 972605, part 2 - Inline nsInt2StrHashtable. r=froydnj
Also clean up the style a little.
2014-05-09 13:47:36 -07:00
Andrew McCreight
60e975c286 Bug 972605, part 1 - Rename nsErrorService arguments to aFoo form. r=froydnj 2014-05-09 13:47:36 -07:00
Daniel Holbert
7c8f2daa82 Bug 1008322: Guard webspeech-specific parts of ShimInterfaceInfo.cpp to fix --disable-webspeech builds. r=ehsan 2014-05-09 11:34:36 -07:00
Daniel Holbert
1ff656a3a7 Bug 1008083: Guard variable 'kTelemetryPrefName' with the same ifdef that its usages are guarded by. r=ehsan 2014-05-09 10:55:29 -07:00
Benoit Girard
e1b1c6e83a Bug 1004899 - Add stderr to profile output. r=ehsan
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Andrew McCreight
a9b7f36e0f Bug 999575 - Add an already_AddRefed<> Put method for nsRefPtrHashtable. r=froydnj 2014-05-09 09:49:52 -07:00
Chris Peterson
92df38d44e Bug 1007525 - Mark xpcom/typelib/xpt/ as FAIL_ON_WARNINGS. r=bholley 2014-05-07 19:53:49 -07:00
Benoit Jacob
2e1ef0025a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Ehsan Akhgari
cfdece92b0 Bug 994964 follow-up: fix --disable-webrtc builds; rs=jesup 2014-05-08 18:39:12 -04:00
Igor Kolupaev
7bdea89913 Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg 2014-05-07 23:03:41 +03:00
Ehsan Akhgari
958ae15e31 Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Neil Rashbrook
a998ae77f6 Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE 2014-05-08 20:35:09 +01:00
Neil Rashbrook
f9520ae677 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Andrew McCreight
e62951375f Bug 1005500 - Use a separate linear scan pass to mark nodes white in ScanRoots. r=smaug
The existing code for ScanRoots looks at all traversal roots in the graph,
and floods white or black from them. This can take up a large chunk of the
Scan/Unlink slice of ICC, maybe because graph traversal has poor locality.

Outside of a leak, the cycle collector graph is usually only large when
there is a lot of garbage (95% or more of the graph), so we want to
speed up white marking.

To do this, I add a new pass that scans every node and directly sets the
color of any node that should be white, without flooding. This is very
fast. Then a second pass floods black from any remaining grey nodes.

On the page close CC for a real page, I measured a 10x improvement in
ScanRoots() time with this algorithm, from 3ms to 0.3ms.
2014-05-08 11:28:03 -07:00
Jonathan Watt
3b52ee43ad Bug 590790 part 2 - Add memory reporter for VectorImage's SVGDocumentWrapper's document. r=dholbert, r=njn, r=seth 2014-05-08 10:53:00 +01:00
Chris Peterson
c7e6ac0c67 Bug 1006998 - Fix -Wdeprecated-writable-strings warnings by const-correcting typelib/xpt code. r=bholley 2014-05-05 21:40:06 -07:00
Ryan VanderMeulen
446c9509db Backed out changeset 86f9003c1251 (bug 924622) for causing bug 1007284 (frequent mochitest-e10s-2 shutdown hangs). 2014-05-07 17:03:03 -04:00
Nicolas Silva
a6863f0e23 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
d4400ed747 Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
204e86d14e Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, r=sotaro 2014-05-07 11:06:19 +02:00
Andrew McCreight
48337cf849 Bug 1005975 - Define FloodBlackNode as a convenience function. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
09dabdad5b Bug 1006635, part 2 - Add more Checkpoints to the cycle collector. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
d574e71a90 Bug 1006635, part 1 - Make TimeLog use doubles and reduce the threshold. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
72fc10903d Bug 1005232 - Log number of incremental cycle collector slices. r=smaug 2014-05-06 17:25:26 -07:00
Andrew McCreight
bdea2bfd58 Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug 2014-05-06 17:25:26 -07:00
Andrew McCreight
67aeb89cc4 Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Carsten "Tomcat" Book
1037ec50fc merge b2g-inbound to mozilla-central 2014-05-06 14:33:21 +02:00
Ed Morley
b83255e4e2 Fix incorrect resolution of merge conflicts between bug 995730 and bug 1001542 (no bug; CLOSED TREE)
--HG--
extra : amend_source : 5b90e13f8f3a7419e26acee6e483855bdd8c3558
2014-05-06 09:00:06 +01:00
Wes Kocher
51b4f13fac Merge m-c to b2g-inbound 2014-05-05 21:19:59 -07:00
Ehsan Akhgari
4b2590958a Bug 1005321 follow-up: fix the link error on Windows 2014-05-05 20:39:46 -04:00
Ehsan Akhgari
960e39897a Bug 1005321 - Convert the xpt code to C++; r=bholley
--HG--
rename : xpcom/typelib/xpt/src/xpt_arena.c => xpcom/typelib/xpt/src/xpt_arena.cpp
rename : xpcom/typelib/xpt/src/xpt_struct.c => xpcom/typelib/xpt/src/xpt_struct.cpp
rename : xpcom/typelib/xpt/src/xpt_xdr.c => xpcom/typelib/xpt/src/xpt_xdr.cpp
rename : xpcom/typelib/xpt/tests/PrimitiveTest.c => xpcom/typelib/xpt/tests/PrimitiveTest.cpp
rename : xpcom/typelib/xpt/tests/SimpleTypeLib.c => xpcom/typelib/xpt/tests/SimpleTypeLib.cpp
2014-05-05 19:52:09 -04:00
Eric Rahm
9b5d3eccc6 Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Dave Hylands
cbc0a4b450 Bug 1001542 - Make OS_VERSION use b2g version info rather than Linux version info. 2014-05-05 15:24:58 -07:00
Bruce Sun
a78f90258e Bug 990957 - Seek again in Tell(), Available(), Seek() of nsMultiplexInputStream. r=mcmanus 2014-05-05 12:22:16 +08:00
Jim Blandy
af64a62438 Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus 2014-05-02 11:32:23 -07:00