Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Christoph Kerschbaumer
9ab1648f67
Bug 1195172 - Use channel->ascynOpen2 layout/style/FontFaceSet.cpp (r=bz,cam)
2016-03-01 13:06:13 -08:00
Tooru Fujisawa
4fac62d240
Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel
2015-09-10 19:24:34 +09:00
John Daggett
ade0c810ea
Bug 1157064 - implementation of font-display. r=heycam,khuey
2016-01-07 14:03:05 +09:00
John Daggett
14ad4bf8f6
Bug 1224975 - add telemetry for font loading. r=m_kato
...
--HG--
extra : rebase_source : ef31e321366f6edcc465ad9a4474c1e8287a6054
2015-11-25 14:48:16 +09:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrea Marchesini
085da9302a
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
John Daggett
af0ef7b9f2
Bug 935862 p3 - implement selective reflow for downloadable fonts. r=heycam
2015-03-06 17:44:23 +09:00
John Daggett
97f2b28880
Bug 1127209 - cleanup downloadable font logging. r=m_kato
2015-01-29 16:44:59 +09:00
John Daggett
556a622173
Bug 1083599 - fixup small problem with userfont logging. r=m_kato
2014-10-17 09:15:29 +09:00
Cameron McCormack
f5f01b6fc2
Bug 1028497 - Part 4: Move the nsUserFontSet object into FontFaceSet. r=jdaggett
...
This (a) moves ownership of the gfxUserFontSet into FontFaceSet, (b) moves
nearly all of the functionality of nsUserFontSet into FontFaceSet, and (c)
adds a class that inherits from gfxUserFontSet so that we can override some
of its virtual functions and delegate them to the FontFaceSet.
2014-10-02 12:32:05 +10:00
John Daggett
123c797bde
Bug 1062058 part 3 - make userfont entry a container of the platform font entry. r=heycam
2014-09-08 16:23:20 +09:00
John Daggett
53967d717d
Bug 1062058 part 2 - rename userfont classes and adjust flags. r=heycam
2014-09-08 16:23:20 +09:00
Ehsan Akhgari
60360fc645
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Cameron McCormack
f7f51e7111
Bug 1031206 - Part 2: Split out creation of font faces in nsUserFontSet. r=jdaggett
2014-07-23 15:05:50 +10:00
Benoit Jacob
e1b7dbca34
Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron
2014-06-23 18:40:01 -04:00
John Daggett
c14d659b10
Bug 964613 - check userfont sets for enabled/disabled local fonts when platform fontlist changes occur. r=jfkthame
2014-04-17 23:17:22 +09:00
Daniel Holbert
b6bb05e33b
Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob
2014-04-04 09:27:02 -07:00
Arnaud Sourioux
a127266e74
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Birunthan Mohanathas
2f82a6a077
Bug 906852 - Make layout/style/nsFontFaceLoader.* pointer notation follow layout code style. r=mats
2013-09-25 09:48:20 -04:00
Ehsan Akhgari
6ada2899b2
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
Jonathan Kew
f2868384ce
bug 874349 - cached webfonts that were loaded in private browsing mode should not leak out to normal windows. r=ehsan,roc
2013-05-22 14:42:30 +08:00
Jonathan Kew
224eec2ee6
bug 862222 pt 1 - bypass the webfont cache when force-reloading the page. r=roc
2013-05-22 12:39:39 +08:00
David Zbarsky
3250bd906e
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Jonathan Kew
a03d1dc724
bug 821442 - eliminate the unreliable mFamily back-pointer in gfxFontEntry, and instead pass/track font family explicitly where needed. r=roc
2012-12-19 09:42:25 +00:00
Jonathan Kew
a294160dcc
bug 816483 - cache instantiated user fonts and share them across pages that use the same resources. r=roc
2012-12-10 09:31:07 +00: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
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
John Daggett
f6d4d913cf
Bug 512566. Changes based on review comments. r=bz,jfkthame
2012-03-16 12:31:01 +09:00
John Daggett
498718a3eb
Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz
2012-03-16 12:31:01 +09: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
Jonathan Kew
65ca3acc2e
bug 665360 - hold reference to font family from loader. r=jdaggett
2011-08-09 08:51:46 +01:00
Jonathan Kew
8d6d499d91
bug 494130 - log downloadable font errors to console. r=jdaggett
2011-07-12 12:24:36 +01:00
Jonathan Kew
02b64efe12
bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
2011-06-16 07:31:36 +01:00
Ehsan Akhgari
f92823ac1a
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04:00
Jonathan Kew
ec17b9ce84
bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
...
--HG--
extra : rebase_source : 97bab01d80e49e179e8f675ca1ec1e067d7b56ec
2011-06-15 20:17:51 +01:00
Jonathan Kew
66f00dfb18
bug 650639 - cancel current font-downloaders when updating the user font set. r=dbaron
2011-04-28 06:04:45 +01:00
Jonathan Kew
212f73b280
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
Ms2ger
c36fc1ab40
Backed out changeset 3f82f25d7334
2011-04-12 14:28:53 +02:00
Jonathan Kew
9765228219
bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron
2011-04-12 11:53:20 +01:00
Jonathan Kew
448ebf5098
bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner
2011-01-05 21:48:48 +00:00
Craig Topper
25d5518e18
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
John Daggett
4fa1e0a97e
Bug 474704 - drop channel on cross-site load failure to avoid leak. r=bz,jonas, sr=jonas
2009-01-31 17:58:42 +09:00
Robert O'Callahan
224321d82d
Bug 462593. Cancel all outstanding font loads when the presshell is torn down. r=jdaggett
2009-01-19 22:21:29 +13:00
John Daggett
1a7886ee8c
Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc
2008-12-12 16:31:51 +09:00
John Daggett
470f5c3f5b
Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron
2008-11-27 12:50:16 +09:00
John Daggett
47f3889372
Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas
2008-11-06 09:32:12 +09:00
John Daggett
40f64ca9de
Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc
2008-10-29 11:09:50 -07:00