Masatoshi Kimura
8ed4a80a4e
Bug 1322874 - Get rid of nsIURI.originCharset. r=valentin.gosu
...
nsIURI.originCharset had two use cases:
1) Dealing with the spec-incompliant feature of escapes in the hash
(reference) part of the URL.
2) For UI display of non-UTF-8 URLs.
For hash part handling, we use the document charset instead. For pretty
display of query strings on legacy-encoded pages, we no longer care to them
(see bug 817374 comment 18).
Also, the URL Standard has no concept of "origin charset". This patch
removes nsIURI.originCharset for reducing complexity and spec compliance.
MozReview-Commit-ID: 3tHd0VCWSqF
--HG--
extra : rebase_source : b2caa01f75e5dd26078a7679fd7caa319a65af14
2017-08-02 20:43:30 +09:00
Masatoshi Kimura
f143125cc2
Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
...
MozReview-Commit-ID: DqJdTGopR9G
--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Andrew Osmond
9bc359ef2c
Bug 1385409 - Ignore ICO resource entries which contain little or no data. r=tnikkel
2017-08-01 07:21:14 -04:00
Andrew Osmond
cd5abe3e4e
Bug 1315554 - Part 9. Get the ICO size from the resource instead of the dir entry if unspecified. r=tnikkel
2017-07-22 07:50:32 -04:00
Andrew Osmond
d400495cf1
Bug 1315554 - Part 8. Allow DecoderFactory::CreateDecoderForICOResource to create metadata decoders. r=tnikkel
2017-07-22 07:50:32 -04:00
Andrew Osmond
99d43905e2
Bug 1315554 - Part 7. Remove unnecessary buffering of BMP header in ICO decoder. r=tnikkel
2017-07-22 07:50:32 -04:00
Andrew Osmond
a162fde8c7
Bug 1315554 - Part 6. Reuse the same SourceBuffer when decoding a resource within an ICO. r=tnikkel
2017-07-22 07:50:31 -04:00
Andrew Osmond
35f9b857b0
Bug 1315554 - Part 4. Combine nsICODecoder::ReadBMP and ::ReadPNG. r=tnikkel
2017-07-22 07:50:31 -04:00
Andrew Osmond
93efb56fbf
Bug 1315554 - Part 3. Expose Decoder::IsValidICOResource for all decoders. r=tnikkel
2017-07-22 07:50:31 -04:00
Andrew Osmond
e5537d8caf
Bug 1315554 - Part 2. The BMP decoder should be responsible for adjusting its size when embedded inside an ICO. r=tnikkel
2017-07-22 07:50:31 -04:00
Andrew Osmond
ac14e4f8f5
Bug 1315554 - Part 1. Enforce the parent decoder size (ICO) for child decoders (BMP, PNG). r=tnikkel
2017-07-22 07:50:31 -04:00
Sebastian Hengst
cc27374338
Backed out changeset fd310390a64a (bug 1315554) for failing GTest's ImageDecoders.LargeICOWithPNGSingleChunk on OS X opt. r=backout
2017-07-22 11:05:35 +02:00
Sebastian Hengst
b33e39c76b
Backed out changeset e1eec63b920f (bug 1315554)
2017-07-22 11:04:22 +02:00
Sebastian Hengst
7197a59a77
Backed out changeset 9780a01b3e94 (bug 1315554)
2017-07-22 11:04:17 +02:00
Sebastian Hengst
501b9eab08
Backed out changeset e67f6df41836 (bug 1315554)
2017-07-22 11:04:12 +02:00
Sebastian Hengst
b2ef50b2fe
Backed out changeset e39309b6fe7f (bug 1315554)
2017-07-22 11:04:02 +02:00
Sebastian Hengst
767a09b296
Backed out changeset dbae61d1cbee (bug 1315554)
2017-07-22 11:03:57 +02:00
Sebastian Hengst
5981e481e8
Backed out changeset d46b7e02802c (bug 1315554)
2017-07-22 11:03:52 +02:00
Sebastian Hengst
8604a9cc71
Backed out changeset 18614b05270d (bug 1315554)
2017-07-22 11:03:46 +02:00
Andrew Osmond
081dd8f0be
Bug 1315554 - Part 9. Get the ICO size from the resource instead of the dir entry if unspecified. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
ea108d0367
Bug 1315554 - Part 8. Allow DecoderFactory::CreateDecoderForICOResource to create metadata decoders. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
1c5f449591
Bug 1315554 - Part 7. Remove unnecessary buffering of BMP header in ICO decoder. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
88e2751836
Bug 1315554 - Part 6. Reuse the same SourceBuffer when decoding a resource within an ICO. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
10a558df00
Bug 1315554 - Part 4. Combine nsICODecoder::ReadBMP and ::ReadPNG. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
a5bb792dc9
Bug 1315554 - Part 3. Expose Decoder::IsValidICOResource for all decoders. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
27542e8875
Bug 1315554 - Part 2. The BMP decoder should be responsible for adjusting its size when embedded inside an ICO. r=tnikkel
2017-07-22 00:14:59 -04:00
Andrew Osmond
1e83b97079
Bug 1315554 - Part 1. Enforce the parent decoder size (ICO) for child decoders (BMP, PNG). r=tnikkel
2017-07-22 00:14:58 -04:00
Andrea Marchesini
50f9ea47a3
Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm
2017-07-14 08:49:22 +02:00
Valentin Gosu
f957fd9eef
Bug 945240 - Make nsIURI.host & variants return ASCII strings r=mcmanus
...
* nsStandardURL::GetHost/GetHostPort/GetSpec contain an punycode encoded hostname.
* Added nsIURI::GetDisplayHost/GetDisplayHostPort/GetDisplaySpec which have unicode hostnames, depending on the hostname, character blacklist and the network.IDN_show_punycode pref
* remove mHostEncoding since it's not needed anymore (the hostname is always ASCII encoded)
* Add mCheckedIfHostA to know when GetDisplayHost can return the regular host, or when we need to use the cached mDisplayHost
MozReview-Commit-ID: 4qV9Ynhr2Jl
* * *
Bug 945240 - Make sure nsIURI.specIgnoringRef/.getSensitiveInfoHiddenSpec/.prePath contain unicode hosts when network.standard-url.punycode-host is set to false r=mcmanus
MozReview-Commit-ID: F6bZuHOWEsj
--HG--
extra : rebase_source : d8ae8bf774eb22b549370ca96565bafc930faf51
2017-07-11 19:09:10 +02:00
Nicholas Nethercote
3e439bb4f8
Bug 1376638 - Minimize uses of prmem.h. r=glandium.
...
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)
This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
--HG--
extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
2017-06-30 19:05:41 -07:00
Bevis Tseng
d1637b9c5a
Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
...
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Wes Kocher
6c1a0ae549
Backed out 6 changesets (bug 1371699) for various failures including frequent img-blobURI-2.html failures and leaks a=backout
...
Backed out changeset 67a27cf0ab80 (bug 1371699)
Backed out changeset 7e494fa90087 (bug 1371699)
Backed out changeset 30405ec37e1e (bug 1371699)
Backed out changeset 2d67624a01dc (bug 1371699)
Backed out changeset 503c9d22e6bb (bug 1371699)
Backed out changeset eedcb67a9fb6 (bug 1371699)
MozReview-Commit-ID: 4HydLjK7Ond
2017-06-13 17:50:11 -07:00
Boris Zbarsky
3d884086c3
Bug 1371699 part 3. Make nsIStringInputStream not inherit from nsIInputStream anymore. r=bkelly
...
This will prevent ambiguous nsIInputStream inheritance once we also inherit from nsIAsyncInputStream.
2017-06-13 16:16:23 -04:00
Glenn Randers-Pehrson
cec136b369
Bug 1368407 - Check for too-large PNG width. r=tn
...
--HG--
extra : source : 76404bf85ef79bacff8fd82b364698af17275d6b
2017-06-03 14:37:00 -04:00
Ryan VanderMeulen
f6491af56c
Backed out changeset 76404bf85ef7 for landing with the wrong bug number in the commit message.
2017-06-07 22:43:58 -04:00
Glenn Randers-Pehrson
a20fe96562
Bug 1367496 - Check for too-large PNG width. r=tn
...
--HG--
extra : rebase_source : 0c4a6e639e803bceff110cab600aadb3779a79fe
2017-06-03 14:37:00 -04:00
Max Stepin
1175dd3922
Bug 1255497. Change the number of iterations we do for finite length animated gif to match what everyone else does. r=seth
2017-05-12 22:29:12 +02:00
Kershaw Chang
a879fe7ee3
Bug 1352176 - Part3: Pass an event target at places where nsIInputStream::init is called., r=mayhemer
2017-05-09 20:05:00 +02:00
Valentin Gosu
0a4d506e21
Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
...
MozReview-Commit-ID: K28Opd9JTr2
--HG--
extra : rebase_source : d1a786d9b4318be15f195fdc330489121ebd6ece
2017-04-20 10:15:06 +08:00
Mike Hommey
e91179eda5
Bug 1344038
- Remove --enable-gnomeui. r=karlt
...
--HG--
extra : rebase_source : 562519f2f6727750afe7d4a8503b41e722222d7d
2017-03-08 15:35:53 +09:00
Mike Hommey
94c16743bb
Bug 1344038
- Remove --disable-gio. r=karlt
...
--HG--
extra : rebase_source : 3b5b820536b0e9b1fb1da3a16c444ed7839770b9
2017-04-05 14:06:25 +09:00
Iris Hsiao
15a34cacd2
Backed out 3 changesets (bug 1344038
) for bustage
...
Backed out changeset 4befea89d81b (bug 1344038
)
Backed out changeset c859506b2e4e (bug 1344038
)
Backed out changeset 5d28a6382285 (bug 1344038
)
--HG--
rename : netwerk/protocol/gio/moz.build => extensions/gio/moz.build
rename : netwerk/protocol/gio/nsGIOProtocolHandler.cpp => extensions/gio/nsGIOProtocolHandler.cpp
2017-04-06 10:35:56 +08:00
Mike Hommey
a96508cc4d
Bug 1344038
- Remove --enable-gnomeui. r=karlt
...
--HG--
extra : rebase_source : cf3cd5795af68fd08ee1e1f0d7b89a67d453fa87
2017-03-08 15:35:53 +09:00
Mike Hommey
0543a25916
Bug 1344038
- Remove --disable-gio. r=karlt
...
--HG--
extra : rebase_source : b380d5ebfc3689a9d8d4e3825c83028f837838f2
2017-04-05 14:06:25 +09:00
Timothy Nikkel
0e7000fdce
Bug 1352282. Always fill in the number of loops when decoding an APNG file. r=aosmond
...
If we were doing a first frame only decode we wouldn't fill in this value. The spec says this chunk must come before any image data so it should always be available at the end of any full decode (whether it be truly full or first frame only).
2017-04-05 11:28:40 -05:00
Brendan Dahl
a1f2e12af8
Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
...
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
Makoto Kato
f3c1c49239
Bug 1348177 - Part 1. Remove GetProcAddress for shell32 to use Vista+ API (image part). r=jimm,tnikkel
...
Since we drop XP support, it is unnecessary to use SHGetStockIconInfo via LoadLibrary.
MozReview-Commit-ID: 4lvhVObHv5U
--HG--
extra : rebase_source : 04ac6f97e6a3eff7c52e11e3868da0939efd6ffe
2017-03-17 13:26:57 +09:00
Andrew Osmond
449b1552c1
Bug 1343499 - Expose native image sizes to imagelib users. r=tnikkel
2017-03-22 09:05:36 -04:00
Andrew Osmond
c21c5cb4c8
Backed out changeset 619b5b27ce87 (bug 1343499) for CLOSED TREE build bustage r=backout
2017-03-22 11:04:30 -04:00
Andrew Osmond
a60b290b56
Bug 1343499 - Expose native image sizes to imagelib users. r=tnikkel
2017-03-22 09:05:36 -04:00