Commit Graph

638 Commits

Author SHA1 Message Date
Honza Bambas
a5c1861217 Bug 765203 - Support mode 'unknown' when parsing cache manifest, r=jduell 2012-07-14 11:52:35 +02:00
Honza Bambas
d08a526246 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Ryan VanderMeulen
881389a4b2 Backout 3bf8ff8836d1 too 2012-07-10 19:39:01 -04:00
Ryan VanderMeulen
89aff4650d Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Honza Bambas
a344f9ba91 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, remove unused member from nsOfflineCacheUpdate, r=sinker DONTBUILD 2012-07-11 00:06:26 +02:00
Honza Bambas
24c40e8525 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
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
8800291a29 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 (more uriloader parts); r=bzbarsky 2012-06-14 21:45:35 -04: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
Honza Bambas
5087829839 Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny 2012-06-04 16:12:24 +02:00
Honza Bambas
680e33b76d Bug 744719 - Change offline cache update to load files in parallel, r=michal.novotny 2012-06-04 16:12:23 +02: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
Phil Ringnalda
b72834f891 Back out e4823da049f8 (bug 744719) for test failures and crashes 2012-05-29 21:08:18 -07:00
Honza Bambas
58cea29070 Bug 744719 - Don't download appcache files one file at a time, r=michal 2012-05-29 16:51:20 +02:00
Honza Bambas
acf15bad5e Bug 744710 - Enable getting updates on how many bytes of an appcache update have been downloaded, r=michal 2012-05-22 22:12:40 +02: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
Matt Brubeck
eebd9c8f2a Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198) 2012-05-11 20:15:47 -07:00
Benjamin Smedberg
ff2537e707 Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04: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
Oonishi Atsushi
13f066d77c Bug 478927 - Add a new flag LOCATION_CHANGE_ERROR_PAGE for onLocationChangeBug. r=smaug, sr=bzbarsky 2012-05-03 06:22:32 -04: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
Ryan VanderMeulen
0c2f2d9626 Backout bug 674728 part 3 due to missing reviews. 2012-03-31 18:18:08 -04:00
Ryan VanderMeulen
3416d4009d Bustage fix for bug 674728. 2012-03-30 21:15:12 -04:00
Sinker Li
954be9a5df Bug 674728 - Part 3: Evict cache asynchronized. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li
f140262449 Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab 2012-03-30 20:52:06 -04:00
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
Phil Ringnalda
39b5ea6269 Back out ea2f8a85e0ed (bug 715809) for orange 2012-02-09 19:33:22 -08:00
Ben Turner
d9305f7e18 Bug 715809 - 'AppCache should accept manifests served with non-standard mime types'. r=sicking. 2012-02-09 17:20:07 -08: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
Simon Montagu
07bbd70b32 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02: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
Oonishi Atsushi
ebc58fb880 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01: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
Boris Zbarsky
60166ac20d Bug 489259. Grab the parent chain for our OnStateChange calls before we fire onload and possibly change the docshell tree. r=jst 2011-09-08 23:19:45 -04:00
Boris Zbarsky
6774101d67 Bug 642551. Save status info we may want to use in a list so we don't have to walk the entire pending request hashtable looking for one of the rare ones with status info. r=neil
* * *
Bug 642551 followup to address review comment
2011-09-06 22:57:46 -04:00
Phil Ringnalda
74787fa14f Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE 2011-09-06 21:42:54 -07:00
Boris Zbarsky
b3293e9bab Bug 642551 followup to address review comment 2011-09-06 23:04:45 -04:00
Boris Zbarsky
87cc665adb Bug 642551. Save status info we may want to use in a list so we don't have to walk the entire pending request hashtable looking for one of the rare ones with status info. r=neil 2011-09-06 22:57:46 -04: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
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07: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
Dão Gottwald
9875ff106c Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2. 2011-06-14 00:02:28 +02: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
Oonishi Atsushi
a32cac7d4c Bug 311007 - Add onLocationChange2 which distinguishes between same-document and different-document location changes to web progress listeners. r=smaug, sr=bzbarsky 2011-06-04 05:31:07 +09:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ed Morley
5a6749df7a Bug 659956 - Remove unused variable from nsOfflineCacheUpdate.cpp; r=bz 2011-05-26 11:15:56 -07:00
Jason Duell
f4c178d25f Bug Remove unused code from nsPrefetchNode::AsyncOnChannelRedirect, r=bzbarsky
Looks like this was overlooked in bug 442803
2011-05-25 16:26:51 -04:00
Oleg Romashin
7e9e46aeee Bug 658725. NS_EXTERNALSHARINGAPPSERVICE_CID has bogus extra digits. r=dougt 2011-05-23 16:47:03 -04:00
Daniel Holbert
ff123ba64d Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz 2011-05-21 18:12:46 -07:00
Josh Aas
998050c725 Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00