Граф коммитов

77 Коммитов

Автор SHA1 Сообщение Дата
Gijs Kruitbosch 15c60c9587 Bug 1750253 - stop infinite file handling loops by checking if we're about to pass files to ourselves via the OS, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136693
2022-02-03 11:25:59 +00:00
Sandor Molnar e540bd140b Backed out changeset 47b92c53d99d (bug 1750253) for causing bc failures in uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js CLOSED TREE 2022-01-26 22:04:00 +02:00
Gijs Kruitbosch a8eecb0574 Bug 1750253 - stop infinite file handling loops by checking if we're about to pass files to ourselves via the OS, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136693
2022-01-26 14:54:34 +00:00
Alexandru Michis 57fe40e9f7 Backed out changeset 2a43fb1b7fef (bug 1750253) for causing bc failures in browser_local_files_open_doesnt_duplicate.js 2022-01-26 02:24:42 +02:00
Gijs Kruitbosch 005bc8b0fc Bug 1750253 - stop infinite file handling loops by checking if we're about to pass files to ourselves via the OS, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136693
2022-01-25 23:25:33 +00:00
Gijs Kruitbosch ecb2a8338b Bug 1750042 - local files that trip the 'what do you want to do with this file' dialog should open from their initial location, r=mhowell,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D136401
2022-01-19 23:48:19 +00:00
Marco Castelluccio 9914bb84fe Bug 1644900 - Remove nsMIMEInfoBase::IsPdf as it's no longer used. r=tkikuchi
Depends on D79191

Differential Revision: https://phabricator.services.mozilla.com/D79275
2020-06-11 14:38:43 +00:00
Mark Striemer 3e55277036 Bug 1632277 - Part 1: Launch PDFs in app mode when default r=jaws,tkikuchi
Differential Revision: https://phabricator.services.mozilla.com/D73774
2020-06-03 18:21:32 +00:00
Gijs Kruitbosch 228e52aebe Bug 1196151 - use BrowsingContext for external helper app handling of protocols, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74434
2020-05-11 13:13:03 +00:00
Gijs Kruitbosch 4a9c79e6ab Bug 1633790 - add an API on nsIMIMEInfo that exposes whether we're the OS default handler, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D73508
2020-05-06 20:25:29 +00:00
Marco Bonardo 636a4b4b19 Bug 1612403 - File extensions are duplicated for file inputs with custom 'accept'. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63071

--HG--
extra : moz-landing-system : lando
2020-02-21 08:30:30 +00:00
Andreea Pavel 7c1d6a5705 Backed out changeset 3cfea5c3c067 (bug 1612403) for failing test_bug449141.html on a CLOSED TREE 2020-02-20 11:55:52 +02:00
Marco Bonardo ea2e250303 Bug 1612403 - File extensions are duplicated for file inputs with custom 'accept'. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63071

--HG--
extra : moz-landing-system : lando
2020-02-19 16:48:10 +00:00
Andreea Pavel ea73daeeb1 Backed out changeset 0a121aa7d527 (bug 1612403) for android crashes on a CLOSED TREE 2020-02-18 01:13:03 +02:00
Marco Bonardo 41568f4778 Bug 1612403 - File extensions are duplicated for file inputs with custom 'accept'. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63071

--HG--
extra : moz-landing-system : lando
2020-02-17 20:11:50 +00:00
Dorel Luca 860a94407d Backed out changeset 8eb23bb2215a (bug 1612403) for Build bustage in android/nsMIMEInfoAndroid.cpp. CLOSED TREE 2020-02-17 19:52:13 +02:00
Marco Bonardo 0bc317ccf1 Bug 1612403 - File extensions are duplicated for file inputs with custom 'accept'. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63071

--HG--
extra : moz-landing-system : lando
2020-02-17 17:30:27 +00:00
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

Differential Revision: https://phabricator.services.mozilla.com/D28956

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Chris Peterson 37efe4d0e6 Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
MozReview-Commit-ID: DCPTnyBooIe

--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Nicholas Nethercote d225f7151b Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
(Path is actually r=froydnj.)

Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.

MozReview-Commit-ID: 91U22X2NydP

--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari 8fea2fbf3f Bug 1118606 - Mark virtual overridden functions as MOZ_OVERRIDE in uriloader; r=bzbarsky 2015-01-07 10:07:35 -05:00
Ehsan Akhgari 64bff94e92 Bug 1061058 - Fix more bad implicit constructors in docshell/dom/uriloader; r=smaug
--HG--
extra : rebase_source : 4dd9d4bab0b552834cd24051d7dc920950a2e8b2
2014-09-01 18:01:37 -04:00
Phil Ringnalda 117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari 4a0fc37875 Bug 1061058 - Fix more bad implicit constructors in docshell/dom/uriloader; r=smaug 2014-09-01 18:01:37 -04:00
Benoit Jacob 6cbcf7b515 Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
Robert O'Callahan 2a92625af7 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
Robert O'Callahan cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Joshua Cranmer 3e64a4bf63 Bug 884061 - Part 3w: Use NS_DECL_THREADSAFE_ISUPPORTS in uriloader/, r=bz
--HG--
extra : rebase_source : cad6dd305dc36ca1b4fab141625b1c466980d5f4
2013-07-18 21:24:15 -05:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mike Hommey 9d74ea53a9 Bug 445673 - Rename mType member of class nsMIMEInfoBase to nSchemeOrType to avoid confusion [r=bzbarsky] 2010-05-06 09:22:01 +02:00
Simon Montagu 719c7d651d Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg 2010-03-18 10:37:12 +02:00
Steven Michaud e4958ecdca get rid of nsIInternetConfigService. b=489864 r=josh sr=roc 2009-06-23 14:09:19 -05:00
Fred Jendrzejewski 424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
reed@reedloden.com ac256d7de4 Bug 348808 - "use application selector instead of file selector dialog when picking helper apps" [p=jimm r=dolske r=rob_strong r=myk r=biesi a=blocking-firefox3+ for M9] 2007-10-18 21:15:41 -07:00
dmose@mozilla.org 7e25c58d74 First part of fix for web-based protocol handlers failing in certain situations (bug 394483); r=biesi, sr=sicking 2007-10-03 23:10:47 -07:00
dmose@mozilla.org 4ad19860ce Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz 2007-09-02 21:44:25 -07:00
dmose@mozilla.org 99d771c3e9 Split nsIHandlerInfo.launchWithURI into nsIHandlerInfo.launchWithURI and nsIMIMEInfo.launchWithFile (bug 391194) r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu 2007-08-20 17:47:47 -07:00
myk@mozilla.org 6f7b4ae700 bug 385740: support multiple apps per nsIHandlerInfo via a new nsIHandlerInfo::possibleApplicationHandlers attribute; r=biesi, sr=dmose 2007-08-13 13:41:34 -07:00
dmose@mozilla.org b5e04de117 local protocol handling apps can be chosen but don't work (bug 389758); patch by dolske and me, r=biesi, sr=bz, a=mconnor 2007-07-28 20:38:52 -07:00
sdwilsh@shawnwilsher.com ca6da5a72e Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner 2007-07-25 21:24:25 -07:00
myk@mozilla.org 236dc4d488 bug 388388: (relanding updated patch) differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-25 13:40:41 -07:00
dmose@mozilla.org bdec3dea6b Back out MIME/protocol handler work from bug 388388 because of difficult to diagnose unit test lossage on windows. Note that Windows tinderboxen will go and stay red until they are clobbered because of dependency system lossage. 2007-07-24 16:38:29 -07:00
myk@mozilla.org d97160dca2 bug 388388: differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi 2007-07-24 13:29:50 -07:00
dmose@mozilla.org 8753e89bc4 Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi 2007-07-17 15:59:58 -07:00