Andrea Marchesini
12b7769a2e
Bug 1339713 - Use IPCStream everywhere - part 5 - PContent, r=smaug
2017-03-09 14:10:49 +01:00
Masatoshi Kimura
17bff43083
Bug 1332892 - Remove obsolete hackaround from nsDefaultURIFixup.cpp. r=bz
...
MozReview-Commit-ID: 47EeDQ3ZxPr
2017-01-22 14:32:37 +09:00
Gijs Kruitbosch
31e3d9fedf
Bug 1295002 - don't accept nested view-source: references in nsDefaultURIFixup, r=smaug
...
This seems like much the simplest way to prevent the recursion. Other alternatives
include some kind of member var to track state (which wouldn't be threadsafe, though
I don't know that that really matters for this component) or adding a field on
nsIDefaultURIFixupInfo, which seems ugly. This is a bit hacky, but it seems to work.
MozReview-Commit-ID: 7CCVvENSRVD
2016-10-02 22:54:20 +01:00
Nathan Froyd
bfbaf14d5b
Bug 1305422 - part 14 - don't call size_forward in nsDefaultURIFixup.cpp; r=bkelly
2016-09-29 22:33:57 -04:00
Jeremiah Orem
e6d405fb1e
Bug 1174254 - Disable FTP protocol guessing. r=mcmanus
2016-04-28 18:00:00 -04:00
Nathan Froyd
8f0da6270f
Bug 1261123 - don't needlessly construct nsAutoCString temporaries in nsDefaultURIFixup; r=smaug
...
We can make the non-virtual overload of IsDomainWhitelisted take an
nsACString instead of an nsAutoCString and avoid some unnecessary
copying.
2016-03-31 13:16:07 -04:00
Valentin Gosu
1bd28f18b2
Bug 652186 - Remove unneeded backslash replacement from nsDefaultURIFixup r=bz
...
MozReview-Commit-ID: 5IPxr8nWk7b
2016-03-03 15:27:43 +01:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Gijs Kruitbosch
be51431fdf
Bug 1199289 - r=valentin,dao
2015-09-22 16:26:15 +01:00
Arnaud Bienner
fe0b5732f1
Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj
2015-08-14 00:49:15 +02:00
Birunthan Mohanathas
a0f7c73250
Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Gijs Kruitbosch
78404e75a0
Bug 1180460 - don't allow alternate URI changes inside view-source URI fixup, r=bz
2015-07-07 11:26:15 +01:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Mark Hammond
7433cd7845
Bug 1107883 - support ipv6 URLs in the awesomebar with unified autocomplete enabled. r=mak, r=smaug
2015-05-28 17:21:58 +10:00
Birunthan Mohanathas
97a3d5cc75
Bug 1129795 - Convert rest of docshell/ to Gecko style. r=mccr8
2015-05-06 10:57:23 -07:00
Gijs Kruitbosch
4c67931b7c
Bug 1154245 - non-alpha paths on IP addresses with no protocol shouldn't trigger search, r=smaug
2015-04-18 12:20:42 +01:00
Andrew McCreight
a708ece98d
Bug 1155759 - Part 1 - Remove some manual refcounting from docshell. r=smaug
2015-04-17 15:19:00 +02:00
Birunthan Mohanathas
e9f6010617
Bug 1129795 - Make modelines consistent in docshell/base/. r=mccr8
2015-02-13 21:36:47 +02:00
Birunthan Mohanathas
6fb49fe27c
Bug 1129795 - Remove some unnecessary code in docshell/base/. r=mccr8
2015-02-13 21:36:42 +02:00
Birunthan Mohanathas
9a04e80e2c
Bug 1129795 - Convert docshell/base/ to Gecko style. r=mccr8,smaug
2015-02-13 21:36:37 +02:00
Gijs Kruitbosch
755730d85f
Bug 1083634 - entering a trailing slash after a domain should not do a search. r=smaug r=Unfocused
2014-12-22 00:03:26 +00:00
Gijs Kruitbosch
c02e4c18b7
Bug 1088050 - Add a pref to disable search for single-word hosts. r=smaug
2014-11-16 23:01:59 +00:00
Gijs Kruitbosch
822cd887f9
Bug 1057166 - move FHR reporting out of docshell and fix test to work in e10s, r=bz
2014-09-11 14:50:55 +01:00
Gijs Kruitbosch
4567b57c55
Backed out changeset 3cc898b3ef5d (bug 1057166) for build bustage
2014-10-01 11:46:28 +01:00
Gijs Kruitbosch
02648d47ee
Bug 1057166 - move FHR reporting out of docshell and fix test to work in e10s, r=bz
2014-09-11 14:50:55 +01:00
Alex Bardas
05a782e7f2
Bug 1067168 - Ipv4 with trailing slash input in locationbar should open the address, not perform a search. r=smaug
2014-09-16 13:20:00 -04:00
Alex Bardas
16766e6afb
Bug 494092 - Make default uri fixup more permissive, taking into account ipv4, ipv6, asciihost and improve test base. r=smaug
2014-09-10 12:42:00 -04:00
Blair McBride
519eac8625
Bug 1057186 - Add a way to specify that nsDefaultURIFixup should obey the domain whitelist when not using keyword searches. r=smaug
2014-08-29 15:25:02 +12:00
Nigel Babu
da0857ddd3
Backed out changeset 7f58c77bb165 (bug 1057186) for xpshell bustage
2014-09-07 21:00:33 +05:30
Blair McBride
b3eac23c1f
Bug 1057186 - Add a way to specify that nsDefaultURIFixup should obey the domain whitelist when not using keyword searches. r=smaug
2014-08-29 15:25:02 +12:00
Alex Bardas
49f0e89c67
Bug 1042521 - Use original input when calling KeywordToURI and do not trim the input before calling urifixup in tests. r=Gijs
2014-08-29 11:13:00 +02:00
Alex Bardas
1733d12a93
Bug 1042521: Drop some cases when backslashes from urlbar input were converted to slashes on windows, r=bz
2014-08-25 14:54:00 +01:00
Gijs Kruitbosch
90da134097
Bug 1047600 - duff protocol should never keyword search, r=smaug
2014-08-06 12:36:27 +01:00
Gijs Kruitbosch
1b0e601222
Bug 1047393 - fix crash in nsIURIFixup, r=gavin
2014-08-04 16:44:33 +01:00
Gijs Kruitbosch
4a801680c6
Bug 1042519 - test. should result in a keyword lookup instead of an error page, r=bz,mak
...
Also taking the opportunity to rework the nsIURIFixupInfo interface to use more sensible booleans, and the relevant test to specify outcomes directly, instead of trying to use the same logic as the implementation to infer them from the input.
2014-07-25 11:46:07 +01:00
Gijs Kruitbosch
5367622c27
Bug 693808 - part 1: entering numbers+Enter in the location bar should bring search results immediately if domain is not whitelisted, r=bz
2014-04-24 23:42:00 +01:00
Gijs Kruitbosch
5dcaddb118
Bug 982428 - allow fixing up URIs with schemes that we can't handle, r=bz
2014-06-19 19:22:45 +01:00
Birunthan Mohanathas
d4ab56898a
Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Andrea Marchesini
95913f6157
Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey
2014-03-25 18:37:13 +00:00
Ehsan Akhgari
860f2c1f29
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Henri Sivonen
32ac7f4d2e
Bug 393246 - Make URL fixup not query for Windows legacy encoding. r=bzbarsky.
2013-12-03 10:36:13 +02:00
Christian Legnitto
6794ac6321
Bug 935377 - Firefox should fix common scheme typos, r=bz
2013-11-17 12:16:45 -08:00
Michael Comella
18ca5c8c26
Bug 915355 - Part 1: Add comment clarifying a keyword-search event. r=gavin
2013-09-27 09:38:25 -07:00
Ehsan Akhgari
9ad38c5057
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Ehsan Akhgari
72f9dd261a
Bug 912129 - Minimize the #includes in docshell/base; r=bzbarsky
2013-09-03 16:17:26 -04:00