Commit Graph

492 Commits

Author SHA1 Message Date
Ehsan Akhgari
2f7f30dd7b Bug 748890 - Make getting the load context in nsExternalHelperAppService work in multiprocess mode; r=jdm
--HG--
extra : rebase_source : 9116deb18fc9372f6b8db96f19ea82c7eca191fc
2012-06-29 11:27:52 -04:00
Ehsan Akhgari
102655bb93 Bug 722868 - Part 7: Remove the usage of the global private browsing in the external app helper service since it is no longer needed; r=bzbarsky 2012-04-24 23:37:31 -04:00
Ehsan Akhgari
82d042e061 Bug 722868 - Part 6: Delete the temporary private files when the last private browsing window is closed; r=bzbarsky 2012-04-24 23:35:22 -04:00
Ehsan Akhgari
06a24c4831 Bug 722868 - Part 5: Use the channel's private browsing flag to determine how to handle the temporary file in nsExternalAppHandler::OpenWithApplication; r=bzbarsky 2012-04-24 23:31:35 -04:00
Ehsan Akhgari
46cc50ae32 Bug 722868 - Part 3: Make insExternalAppHandler::OpenWithApplication aware of the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 23:04:49 -04:00
Ehsan Akhgari
953e8ce58b Bug 722868 - Part 1: Add the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 22:56:55 -04:00
Ed Morley
a82421537c Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures 2012-06-28 19:00:30 +01:00
Ehsan Akhgari
fb509773b1 Bug 722868 - Part 7: Remove the usage of the global private browsing in the external app helper service since it is no longer needed; r=bzbarsky 2012-04-24 23:37:31 -04:00
Ehsan Akhgari
753a5bab8f Bug 722868 - Part 6: Delete the temporary private files when the last private browsing window is closed; r=bzbarsky 2012-04-24 23:35:22 -04:00
Ehsan Akhgari
70c16c83cb Bug 722868 - Part 5: Use the channel's private browsing flag to determine how to handle the temporary file in nsExternalAppHandler::OpenWithApplication; r=bzbarsky 2012-04-24 23:31:35 -04:00
Ehsan Akhgari
9dae7cdd49 Bug 722868 - Part 3: Make insExternalAppHandler::OpenWithApplication aware of the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 23:04:49 -04:00
Ehsan Akhgari
90f3cab0d6 Bug 722868 - Part 1: Add the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 22:56:55 -04:00
Wes Johnston
a6f7e8e7e0 Bug 653833 - Ignore mimetype for helperapps if it is the same as our url. r=blassey 2012-06-26 14:54:44 -07:00
David Zbarsky
09970e7f7a Bug 766342 - Remove unneeded nsresult in nsExternalHelperAppService.cpp r=bz 2012-06-20 12:48:51 -07:00
Ehsan Akhgari
5f1dca309f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (uriloader parts); r=bzbarsky 2012-06-12 23:53:09 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Brendan Dahl
a04fcdad74 Bug 752676: Add pdf.js as an internal handler for pdfjs (1/2); r=mak77 2012-06-02 09:56:24 -07:00
Serge Gautherie
8fd361fe62 Bug 749872. (Bv1) test_handlerApps.xhtml: OS X SeaMonkey workaround wrt iCal. r=dmose. 2012-06-01 17:48:34 +02:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Shawn Landden
d8b89efd8f Bug 747257 - Part 2: Add media type mapping for .mp4. r=rillian
Associate .mp4 files with the "video/mp4" mime type so that we can open them
directly via file://
2012-05-17 17:20:15 -07:00
John Ford
ba2a46cee5 bug 747448 - convert shell calls to pwd to using core_*path functions r=khuey 2012-05-07 15:21:11 -07:00
Ralph Giles
3adcc0b005 Bug 674225 - Add Opus support to nsOggReader. r=cpearce
Parse and decode Opus streams embedded in the Ogg
container. Based on the draft specification from
https://wiki.xiph.org/OggOpus
Support is conditional on the runtime preference
setting media.opus.enabled, which is false by
default until we're confident the spec is stable
and useful.

This patch doesn't support the gain header or
multichannel files.

The LEUint*() functions from the skeleton parser
are used to read the multi-byte header fields.
This requires moving them to earlier in the file.

Mappings for the .opus filename extension are also
added to facilitate testing with local files.
2012-05-01 17:29:34 -07:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Simon Montagu
c328b16f31 Unescape URLs in mail subjects before passing them to ShellExecute. Bug 227268, r=bsmedberg, sr=biesi 2012-02-25 23:12:55 -08:00
Masatoshi Kimura
28f2776f50 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
passfree
5d01df5227 Bug 636841 - Stop using unneeded private API on OS X (_LSCopyDefaultSchemeHandlerURL). r=smichaud 2012-02-13 14:55:28 -06:00
Ed Morley
ad5a8e1d06 Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
88ba00973a Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Steven Michaud
13b4e4fff2 Bug 720168 - Crash in nsHttpChannel::CallOnStartRequest @ objc_msgSend | nsOSHelperAppService::GetMIMEInfoFromOS. r=bgirard 2012-01-23 16:37:40 -06:00
Steven Michaud
f316045bd7 Bug 675356 - Dmg files sometimes not handled correctly. r=josh 2012-01-19 11:12:58 -06:00
Matt Brubeck
e924be656a Back out 2c762ec80235 (bug 675356) because of crashes in GetMIMEInfoFromOS in Mac tests 2012-01-17 16:04:32 -08:00
Steven Michaud
38a826cf58 Bug 675356 - Dmg files sometimes not handled correctly. r=josh 2012-01-17 16:58:39 -06:00
Makoto Kato
999d30513b Bug 703882 - crash nsExternalAppHandler::nsExternalAppHandler. r=bz 2012-01-16 12:55:13 +09:00
Felipe Gomes
7e9dd1cb1e Bug 701607. Download annotations are not stored for files without a custom name. r=sdwilsh 2011-11-28 15:03:21 -08:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b 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
Neil Rashbrook
956f798ed0 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Nick Hurley
7400a85df3 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Rafael Ávila de Espíndola
0e312750b4 Bug 663899 - Use the win temp file handling code in all platforms. r=smichaud. 2011-08-29 15:45:03 -04:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Paolo Amadini
5bcf37a7bd Bug 591289 - Save chosen download file name and other metadata in Places history [r=sdwilsh, ui-r=limi] 2011-08-15 18:08:48 -07:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Doug Turner
769d560e77 Bug 673674 - Fennec freezes when viewing a non .txt file from disk. Mime handler was returning a valid type when it clearly didn't know. r=blassey 2011-07-26 23:50:47 -07:00
arno renevier
0e326605e1 Bug 635630 - typo in nsWebHandlerApp.js: OPEN_DEFAULT_WINDOW instead of OPEN_DEFAULTWINDOW. r=gavin 2011-07-16 20:47:30 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Masayuki Nakano
0f3527ba9b Bug 666903 uriloader should use mozilla::Preferences r=bz 2011-07-01 17:35:28 +09:00
Masayuki Nakano
088288c705 back out previous checkin 2011-07-01 16:37:06 +09:00
Masayuki Nakano
8693de84dd Bug 666903 uriloader should use mozilla::Preferences r=bz 2011-07-01 15:26:10 +09:00
Ed Morley
ab5397a7e3 Bug 665595 - Fix unused variable warning in ExternalHelperAppParent.cpp; r=dwitte 2011-06-21 17:37:46 +02:00
Siddharth Agarwal
221ce1b267 Bug 598794 - Intermittent failure in uriloader\exthandler\tests\unit\test_punycodeURIs.js | test failed (with xpcshell return code: 0), see following log: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileInputStream.init]; r=sdwilsh
--HG--
extra : rebase_source : 0152a5ff0932102e55949e25a821f72461733bf9
2011-06-20 13:58:44 -04:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Oleg Romashin
7e9e46aeee Bug 658725. NS_EXTERNALSHARINGAPPSERVICE_CID has bogus extra digits. r=dougt 2011-05-23 16:47:03 -04:00
Josh Aas
998050c725 Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Hiroyuki Ikezoe
3c83113425 Bug 655633 - Code cleanup in nsGNOMERegistry.cpp. r=karlt 2011-05-11 15:10:00 +02:00
Chris Coulson
d04b2e0503 b=639467 Use GIO in HandlerExists and GetAppDescForScheme r=karlt
--HG--
extra : transplant_source : N%94%FAE%F5%F6%C0%13%17%28%E5%7D%F4%09L%D1%01%8D%9D%EF
2011-05-04 16:10:43 +12:00
Ed Morley
6d4a0d93cd Bug 655176 - Remove WinCE code from docshell (incl broken uriloader/exthandler/Makefile.in WINNT |ifeq|s); r=bz 2011-05-06 11:41:29 -07:00
Brad Lassey
81dd6cbe78 bug 644943 - nsHandlerService should not be used in the content or plugin processes because it requires access to the profile directory r=bz 2011-05-02 16:59:24 -04:00
timeless@mozdev.org
14ce42e5bd Bug 633240 nsIMIMEService.getTypeFromFile(null) crashes [@ nsExternalHelperAppService::GetTypeFromFile(nsIFile*, nsACString_internal&) ]
r=biesi

--HG--
extra : rebase_source : 7b0903e9907d993251a4dae1615f35399e99ca96
2011-04-27 10:35:11 +02:00
timeless@mozdev.org
3c8eb789a5 Bug 633232 nsIMIMEService.getTypeFromURI(null) crashes [@ nsExternalHelperAppService::GetTypeFromURI(nsIURI*, nsACString_internal&) ]
r=biesi

--HG--
extra : rebase_source : a84063964425ac512a1daafcaaa4619b0200eaa6
2011-04-27 10:13:27 +02:00
Mike Hommey
0659550873 Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted 2011-04-14 11:23:13 +02:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
326315dab1 Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
4e1b7d656b Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
timeless@mozdev.org
39adc9f775 Bug 584983 mark deprecated exthandler interfaces and methods with [deprecated]
r=biesi
2010-08-06 03:45:00 -04:00
Boris Zbarsky
66232aadb3 Bug 644637. Make sure mRequest lives long enough that we don't hand dead objects around. r=sdwilsh 2011-03-24 14:14:00 -04:00
Chris Pearce
813aeccb5b Bug 641102 - Ignore default app handler for inbuilt supported video types. r=roc 2011-03-24 11:28:57 +13:00
Grigory Mozhaev
79bfebf67e Bug 595785. Make sure the right channel is always passed to download progress listeners' onStateChange methods. r=sdwilsh,bzbarsky 2011-03-23 10:45:21 -04:00
Kyle Huey
1b4c77163a Merge m-c to bs. 2011-03-15 19:23:20 -04:00
Wes Johnston
cafa451aef Bug 641079 - GetMimeInfoForFileExt should return a boolean. r=blassey, a=approval-2.0 2011-03-13 08:59:30 -07:00
Mitchell Field
a7b458884e Merge mozilla-central to build-system. 2011-03-11 11:05:04 +11:00
Brad Lassey
33ec72ba9d bug 638523 - Save Image saves htm, not the image r=dougt a=blocking-fennec 2011-03-08 00:45:43 -05:00
Wolfgang Rosenauer
e5a6f45ea4 Bug 634942 - HelperApp launch is broken with GIO. r=karlt, a=beltzner 2011-03-01 08:19:23 +01:00
Brian Crowder
c5197f8eeb Bug 634555 - Do not fib in the child process about whether we have gotten mime info or not, r=blassey, sr=bz, a=blocking-fennec:2.0,blassey 2011-02-23 13:52:47 -08:00
Doug Turner
70b7acb61a Bug 630364 - followup to preserve mime info. external application handlers do not honor warning preferences. android-only r=blassey. a=blocking-fennec 2011-02-09 13:51:23 -08:00
Doug Turner
a6cd949925 Bug 630364 - external application handlers do not honor warning preferences. r=blassey. a=blocking-fennec 2011-02-09 11:40:24 -08:00
Mitchell Field
b6976ca587 Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
24afbfd415 Bug 627277 - Bustage fix 2. 2011-02-20 11:20:56 +11:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Jeremias Bosch
43d8ca0e70 Bug 626595 - Make it possible to build maemo 6 platform version without meegotouch r=romaxa,ted.mielczarek a=approval2.0
--HG--
extra : rebase_source : 435438ae2c39833353a958ba2770f0e44439d7bc
2011-02-03 08:31:36 +02:00
Matthias Versen
c15a442645 Bug 622528 - Open RTF document in Thunderbird with OpenOffice is not correct Ascii mode; r=bzbarsky a=bsmedberg 2011-01-21 15:15:12 -05:00
Boris Zbarsky
d35c271619 Bug 624995. Make sure to fix the file permissions on Mac when downloading, now that mac's nsILocalFile::Create actually pays attention to permissions. r=josh, a=blocker 2011-01-18 21:20:35 -05:00
Brad Lassey
83ceb4df00 bug 622684 - updates should not be downloaded to "<sdcard>/downloads" r=mbrubeck a=blocking-fennec 2011-01-03 17:32:57 -05:00
Alex Pakhotin
ffda4058b0 Bug 613080 - External URL handler service. r=bz a=blocking-fennec
--HG--
extra : rebase_source : 305c50e07138ffad437c3faf51453a4056c4ae3e
2010-11-23 15:40:46 -08:00
Nick Thomas
a83fb65391 Bug 599475/561350, disable test_punycodeURIs.js again, a=blocking-beta8 CLOSED TREE 2010-12-14 23:08:59 +13:00