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

279 Коммитов

Автор SHA1 Сообщение Дата
Raphael Catolino 9ac55077bf Bug 769385 - Add type attribute date for <input> behind "dom.experimental_forms" pref. r=mounir 2012-12-27 16:06:53 +00:00
Andrew Quartey 5d03f6af91 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Nick Hurley 3b308213ec Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Peter Van der Beken f52e02e082 Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Boris Zbarsky 35a0e7fdc1 Bug 749964. Don't try to save if what we have is not a real document object. r=khuey 2012-10-05 22:39:46 -04:00
Josh Matthews a9c2289382 Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -04:00
Ryan VanderMeulen 44a8d6faa6 Backout e5269e137290, (bug 794606), e94dbc151121 (bug 794602), and 0ea0cfc7f6f4 (bug 792821) due to mochitest-other orange on a CLOSED TREE. 2012-10-04 19:34:19 -04:00
Josh Matthews 13630d0f8f Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -04:00
Andrew Quartey 1eac480bd4 Bug 788741 - Truncate file extension if too long r=bz 2012-09-18 16:45:51 -04:00
Makoto Kato 1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor 719dcb2097 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor ff57e540e2 Bug 782252 - Convert declared types to nsresult; r=ehsan 2012-08-06 15:02:31 +03:00
Aryeh Gregor 4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mounir Lamouri 870e9d2721 Bug 635498 - Make <input type='number'> behaves like <input type='text'>. r=sicking
--HG--
extra : rebase_source : 0754f845fd6223cd48ca8908ebf642636f0fd9ed
2012-06-10 22:23:17 +02: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
Jason Duell 4604f022bb Bug 752675: Fix docs for nsIWebBrowserPersist::PERSIST_FLAGS_FROM_CACHE. r=bz 2012-05-08 18:02:32 -07:00
Henri Sivonen 60b9bb42d0 Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug. 2012-02-27 13:57:48 +02:00
Matthew Schranz e6f5aa8906 Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug 2012-02-23 14:23:30 +01:00
Ehsan Akhgari 92064e6d3f 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 b5e57820bf 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 d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf 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 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
Ms2ger 3fea5b3901 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Jonas Sicking 48f55a5733 Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Ed Morley f13392fb42 Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Ms2ger e5cf1395fc Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Christian Biesinger 132b0e1ea8 Bug 576006 - Implement timing interface for channels
r=jduell sr=bz
2011-05-21 03:03:36 -07:00
Ed Morley 91238e76b1 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ms2ger 2ba2beb025 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Ed Morley 97cc9c4eea Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Daniel Holbert 4aba8d4f28 Bug 654372: Fix nsWebBrowserPersist constructor init list order to fix build warning. r=ehsan 2011-05-04 09:27:19 +02:00
Ehsan Akhgari 2cc302e02c 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
Ehsan Akhgari cccdef8b2f 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 bd51cb9b94 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
Dan Witte cf69667c0d Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte 9d758b2bce Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Mounir Lamouri aa143c8b6a Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking 2010-08-18 20:33:37 +02:00
Mounir Lamouri 957d62aa07 Bug 555559 - Implement <input type="email">. r=smaug,sicking sr=jst a2.0=blocking 2010-08-18 20:31:54 +02:00
Chris Double 93b4ccf3da Bug 449141. Save media resources when doing 'Save As' on the page. r=roc,a=dbaron 2010-08-19 21:35:09 +12:00
Mitchell Field d0f35f6883 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Mounir Lamouri 25ff9e8518 Bug 456229 - Implement <input type="search">. r=smaug sr=sicking 2010-05-17 12:20:22 +02:00
Mounir Lamouri 34bd1fda86 Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking 2010-05-12 09:17:07 +02:00
Neil Rashbrook 780cce2798 Bug 239372 FTP upload consumes a lot of RAM r=biesi 2010-03-13 23:11:12 +00:00
Boris Zbarsky 28da0a4f5b [mq]: Fix build bustage from bug 530410. 2010-02-22 15:28:11 -05:00
Jae-Seong Lee-Russo 4af2394d11 Bug 530410. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in embedding code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Benjamin Smedberg ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Navin Lal 630f98121a Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
timeless@mozdev.org b54a748262 Bug 494695 IsSpecialXHTMLTag warning: comparison between signed and unsigned
r+sr=bz
2009-06-27 18:42:51 -07:00
Mark Smith 83c646ef2f Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Josh Aas cffeb5a089 Remove setFileTypeAndCreatorFromMIMEType and setFileTypeAndCreatorFromExtension from nsILocalFileMac. b=491099 sr=roc 2009-05-02 11:01:25 -07:00
Arpad Borsos 8415a2fae1 Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Arpad Borsos cd04d4b8dd Bug 474369 - get rid of nsVoidArray; embedding part; r+sr=benjamin 2009-02-25 16:25:08 +01:00
Boris Zbarsky f952d65c4e Bug 84106. Actually pass a cache key to web browser persist so that POST result pages have a chance of being read from cache. Also change nsWebBrowserPersist to accept a session history entry, not just an nsIWebPageDescriptor or necko cache key, as its cache key argument. r=gavin, r+sr=jst 2009-02-19 14:18:02 -05:00
arno renevier 2d63aab13e Bug 475621. Make saving an iframe which points to an image work when doing "save page, complete". r+sr=bzbarsky 2009-02-03 22:28:02 +01:00
Daniel Holbert 3a0a3d0ca8 Bug 475078: Fix hang during "save-as-complete" by using nsTArray::Contains instead of nsTArray::IndexOf to check for array-membership. r+sr=roc a=beltzner 2009-01-27 14:43:26 -08: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
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Ben Karel [eschew] 81953ae791 Bug 293834. Save As, Complete should save form input state. r=bzbarsky, sr=sicking 2008-07-28 22:59:25 -07:00
Mats Palmgren dc6c9b992a Don't save applet "code" locally if there is an "archive". b=430283 r+sr=jst 2008-07-09 17:52:23 +02:00
Benjamin Smedberg 884ca0dcae Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
timeless@mozdev.org a1b20d7090 Bug 422445 WebBrowserPersist treats StartUpload failure as a readError r=biesi a=dsicore 2008-03-16 15:06:02 -07:00
edward.lee@engineering.uiuc.edu 9296408872 Bug 418961 - "Save Page As" "Text Files" saves file but Downloads window doesn't show completion. r=biesi, sr=biesi, b-ff3=beltzner 2008-03-08 17:04:28 -08:00
edward.lee@engineering.uiuc.edu 52662b1412 Bug 412360 - Download Manager remains empty, downloads don't start, with this 3.0b2 downloads.sqlite. r=sdwilsh, r=biesi, sr=biesi, b-ff3=beltzner 2008-03-08 17:02:06 -08:00
reed@reedloden.com 2806032534 Bug 409796 - "No pictures shown in saved file (file name and folder name, containing that file, is in cyrillic)" [p=lolkaantimat@gmail.com (Evgeniy Ivanov [powerfox]) r+sr=biesi a1.9=beltzner] 2008-02-23 23:44:07 -08:00
sdwilsh@shawnwilsher.com 8e7fe59222 Bug 410804 - nsWebBrowserPersist::MakeOutputStreamFromFile doesn't follow XPCOM rules. r=biesi, sr=biesi, a=schrep 2008-01-06 16:23:54 -08:00
sdwilsh@shawnwilsher.com 1f1340510a Bug 410131 - DM isn't buffering writes when saving a file. r=biesi, sr=bz 2008-01-04 09:55:02 -08:00
mozilla@weilbacher.org 90741e52c0 Bug 321517: A text file in a frame is not properly saved (backend patch v3.3), p=sciguyryan, r/sr=cbiesinger, a=bzbarsky 2007-08-23 17:31:37 -07:00
asqueella@gmail.com 2af06bedb1 Bug 383716 - nsWebBrowserPersist::OnStopRequest doesn't check |status| for failure
p=Edward Lee (Mardak) <edilee@mozilla.com>
r=biesi, sr=bz
2007-07-23 16:34:20 -07:00
flamingice@sourmilk.net 02f7e98d65 Bug 129921, nsIWebBrowserPersist should support resume, Patch by Tom Germeau, r=biesi, sr=jst 2007-07-13 10:31:10 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
kherron@fmailbox.com de40e9c8b1 Bug 325381 - nsWebBrowserPersist::OnWalkDOMNode missing early return. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=cbiesinger. 2007-06-16 13:57:44 -07:00
gijskruitbosch@gmail.com 3e830ee3c0 Bug 229168 - Save Page (with mms:// embedded media) invokes Windows Media Playerp=sciguyryan@gmail.com (Ryan Jones)r=silver@warwickcompsoc.co.uk (James Ross)r+sr=cbiesinger@gmx.at (Christian Biesinger) 2007-04-15 05:31:18 -07:00
hg@mozilla.com 05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
asqueella%gmail.com d7595e46f7 Bug 372170 - Followup to 371497: fix array usage (footprint improvements)
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r+sr=bzbarsky
2007-03-07 20:03:19 +00:00
mats.palmgren%bredband.net c3220ba43f Move ~800 bytes of const data to text segment and fix GCC compile warnings. b=371497 r=sciguyryan sr=bzbarsky 2007-02-27 22:36:04 +00:00
asqueella%gmail.com 986c85a51c Bug 155109 - Save As Complete misplaces data: src
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=bzbarsky
2007-02-17 18:49:28 +00:00
gavin%gavinsharp.com 309c7dbf84 Bug 356225: Duplicate null check in nsWebBrowserPersist.cpp, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=bzbarsky 2006-10-13 14:55:54 +00:00
mozilla%weilbacher.org db68ff7b6c [OS/2] Bug 301367: Tag Files with Source URL, p=Rich Walsh, r=me, sr=darin 2006-06-26 20:40:08 +00:00
bzbarsky%mit.edu b1ee2830dd Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
darin%meer.net 0a4d9e0455 fixes bug 312537 "###!!! ASSERTION: no content length: 'channelContentLength != -1', file /opt/source/mozilla/trunk-ff/mozilla/embedding/components/webbrowserpersist/src/nsWebBrowserPersist.cpp, line 891" patch by Ben Fowler (bfowler@ewitness.co.uk), r=darin 2006-04-04 22:51:02 +00:00
bzbarsky%mit.edu 6e8df6adb8 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2006-03-14 17:12:41 +00:00
jruderman%hmc.edu 68624e5a7d Fix compiler warning. Bug 330308, patch by Giacomo Magnini, r=biesi. 2006-03-13 09:46:28 +00:00
cbiesinger%web.de e5e30a5864 bug 249508 disable loads when persisting the src of an <input type="image">
r+sr=bz
2006-02-19 17:39:13 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
darin%meer.net 387edde4eb fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky 2006-01-11 01:50:15 +00:00
jwatt%jwatt.org 00713d88f1 Fixing build bustage on Sun due to earlier checkin for bug 317628 2006-01-02 16:38:44 +00:00
jwatt%jwatt.org 3d543ab984 Fixing bug 317628. Add "Web page, complete" to the Save File As... dialogue for SVG files. r=cbiesinger@gmx.at, sr=darin@meer.net 2006-01-02 02:43:53 +00:00
cbiesinger%web.de aa3c64bb15 bug 312370 forward nsIProgressEventListener calls to the webbrowserpersist
consumer
patch by Christian Persch <chpe@gnome.org> r=biesi sr=darin
2005-10-15 17:27:52 +00:00
cbiesinger%web.de 15edb5c281 Bug 312367 forward GI to the the webbrowserpersist's listener
patch by Christian Persch <chpe@gnome.org> r=biesi sr=darin
2005-10-14 19:05:42 +00:00
cbiesinger%web.de b4d01e71f2 289843 release references to the listener when the download is complete
r=bz sr=darin a=asa
2005-04-26 14:07:21 +00:00
cbiesinger%web.de 783baa5a45 Bug 289650 nsIWebBrowserPersist should inherit from nsICancelable
r=darin sr=bz a=asa
2005-04-10 12:37:36 +00:00
cbiesinger%web.de f0b358248f 228968 r=bz sr=darin
- add a new nsIWebProgressListener2 interface, inheriting from
  nsIWebProgressListener, providing a 64-bit onProgressChange method
- make nsITransfer inherit from that interface, and remove an unused
  progressListener attribute
- make webbrowserpersist support listeners that implement
  nsIWebProgressListener2, and give them 64-bit progress values
- make nsIHelperAppLauncher's listener setWebProgressListener function take an
  nsIWebProgressListener2 interface

And fix up all implementations according to that.
2005-04-05 23:24:23 +00:00
cbiesinger%web.de 5dd7f9a4e8 281343 show an error message when filenames are too long; and convert that error
to an nsresult
patch by Son Le <son.le0@gmail.com> r=biesi sr=darin
2005-03-02 18:16:37 +00:00
bzbarsky%mit.edu fc19e7fce6 Persist the "code" and "archive" attributes of applets. Bug 276453, r=biesi, sr=jst 2005-02-24 04:16:06 +00:00