Brad Lassey
33de7c15c9
Bug 565096 - Prevent crash on shutdown in FT2 backend, r=vlad
2010-05-19 13:11:26 -07:00
Brad Lassey
fea6ae45f8
Bug 565094 - mFaceName unnecessary in gfxFT2Fonts.h, r=vlad
2010-05-19 13:09:36 -07:00
Oleg Romashin
edfc506b1a
Bug 566133 - gfxSharedImageSurface.cpp is not compiling for other platforms. r=jones.chris.g
2010-05-18 07:04:21 -04:00
Vladimir Vukicevic
27ea4b61fc
Sprinkle some THEBES_API to fix non-libxul builds
2010-05-17 22:43:05 -07:00
Vladimir Vukicevic
b99bb96c47
b=561168; convert canvas to use layers for rendering; r=roc,bas
2010-05-17 21:04:22 -07:00
Jonathan Kew
9835bb0285
merged backout of c475fc8bac21
2010-05-16 11:54:47 +01:00
Jonathan Kew
7c95994203
Backed out changeset c475fc8bac21 (bug 554820) due to Hebrew regression on OS X 10.5, see bug 565766.
2010-05-16 11:53:43 +01:00
Jonathan Kew
d59bed2651
bug 554820 - prefer Windows cmap subtable to avoid problems with synthesized tables on OS X 10.6. r=jdaggett
2010-04-30 21:10:51 +01:00
Jeff Muizelaar
347084e968
Bug 562334. cairo: Fix cairo_quartz_get_cg_context_with_clip. r=vlad
...
A problem happens when clip->all_clipped is set and we go to get a clipped
context. Normally backends don't see operations with clip->all_clipped and so
_cairo_surface_clipper_set_clip is designed with the assumption that
clip->all_clipped is never true. I added a work-around by manually setting the
CGContextClip with an empty rectangle, however this caused cairo to be confused
about what the actual clip was.
This patch fixes the problem by adding a new function
cairo_quartz_finish_cg_context_with_clip that is called after we're done with
the native context. It moves the CGContextSave/RestoreGState calls out of
gfxNativeDrawing into cairo and uses them to ensure that the clip remains
consistent with cairo's model of them.
2010-04-29 23:19:08 -04:00
Oleg Romashin
b2716147b6
Bug 562285 - Rewrite gfxSharedImageSurface class to be compatible with IPC Shmem.r=jones.chris.g, sr=vladimir
...
--HG--
extra : rebase_source : 245e4c8ee52856bcf8900a049132b9f5b4a53bbb
2010-05-13 11:52:59 -04:00
Oleg Romashin
ef8be4ebf8
Bug 561891 - QPainter is is busted after last cairo merge. r=jmuizelaar.
2010-04-29 06:25:02 -04:00
Masatoshi Kimura
ea58edf150
b=546013 Ignore default ignorable chars instead of drawing hexbox r=jfkthame
...
--HG--
extra : rebase_source : 987fa83e4465cd1e4d2a7a3653b45950b31636a7
2010-04-29 09:51:16 +12:00
Bas Schouten
181e985775
Bug 560147: Follow-up fixing non-libxul builds. This will include layers into thebes.dll, and ensure thebes.dll exposes the correct symbols. r=ted
2010-04-28 22:43:52 +02:00
Benoit Jacob
680ac240d5
Bug 565287: Properly initialize mOGLLibrary on GLContectProviderCGL. r=bas
2010-05-12 18:56:40 +02:00
Jonathan Kew
a338d94cff
bug 552308 - add arithmetic overflow checks in woff encoding routines (NPOTB). r=dveditz
2010-05-12 13:17:58 +01:00
Jonathan Kew
9581487a1d
bug 564309 - cache non-antialiased font to fix MathML perf regression on Windows. r=roc
2010-05-12 13:17:55 +01:00
Oleg Romashin
078005c4d2
Bug 561772 - Simplify Qt rendering modes and remove dependency from gfxSharedImageSurface. r=joe.
...
--HG--
extra : rebase_source : d42def8318eb068571f0a5db515593d7f99a56c0
2010-05-11 13:31:56 -04:00
Vladimir Vukicevic
706e10c197
bug 556420 - Add support for android to thebes r=joedrew
2010-05-11 13:27:36 -04:00
Brian Lu
6f6b4e47f9
Bug 563607 Failed to build libthebes.so on OpenSolaris r=roc
2010-05-06 13:44:56 +08:00
Jonathan Kew
81f19261c4
bug 502906 - part 3.1 - followup to fix memory footprint regression from part 3. r=jdaggett
2010-05-05 11:10:36 +01:00
Matt Woodrow
38db2f043b
Bug 561957. Support GL backend on Mac OS X. r=vlad
2010-04-28 10:29:29 +12:00
Mats Palmgren
d0b4571d12
Assert that we only increment reasonable side/corner values. Note that incrementing the max value is allowed so that for-loops can be used without complicating the break-condition. r=timeless b=334571
2010-04-27 18:15:02 +02:00
timeless
83499da47b
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
timeless
97c43a3297
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Mark Banner
261fd5e0bf
Follow up bustage fix to bug 560147, put THEBES_API in the right place.
2010-04-27 10:35:34 +01:00
Mark Banner
94351d1062
Fix non-libxul build bustage from bug 560147 - thebes public functions should define THEBES_API. rs=roc
2010-04-27 09:49:01 +01:00
Bas Schouten
8224eab52e
Bug 560147: Bustage fix for changeset c453741bcbdb. r=joe
2010-04-27 04:21:46 +02:00
Bas Schouten
bc05313947
Bug 560147: Add a Unified OpenGL wrapper in Thebes that can be used from throughout the tree. r=vlad
2010-04-27 04:09:44 +02:00
Jeff Muizelaar
1ff50fe646
Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
...
Reland after fixing quartz related clipping bug and a bunch of other ones
2010-04-05 22:28:54 -04:00
Mike Hommey
02347798c9
Bug 560897 - Properly close #pragma pack in gfxFontUtils.cpp, and enclose EOTFixedHeader in #pragma pack [r=roc] a=me
2010-04-24 10:25:45 +02:00
Michael Wu
0dc7ee1deb
Bug 540788 - disable text hinting on mobile r=vlad
2010-04-22 15:03:02 -07:00
Taras Glek
95c2c4903e
Back out bug 560897.
2010-04-22 11:51:11 -07:00
Taras Glek
e9934754b4
Bug 560897: close #pragma pack r=roc
...
--HG--
extra : rebase_source : 22e464f28ac79681b13c46fa213a81faa7e87d91
2010-04-21 17:07:44 -07:00
Oleg Romashin
8563022a30
Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
...
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Michael Ventnor
3602bd64b6
Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
...
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Jonathan Kew
48228dd99f
bug 558027 - gfxFontUtils::MakeEOTHeader is too fussy, an empty version string is acceptable. r=jdaggett
2010-04-16 09:08:36 +01:00
Doug Turner
0e8798aedd
Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel
2010-04-15 22:33:50 -07:00
Jonathan Kew
1119f0a9cc
bug 557736 - ignore empty elements in the font family list. r=jdaggett
2010-04-15 09:31:15 +01:00
Jonathan Kew
52f9f9e606
bug 555435 - compact the cmap block arrays after loading to reduce memory footprint. r=jdaggett
2010-04-15 09:31:12 +01:00
Oleg Romashin
8fd4c3b80d
Bug 555863 - Qt widget code assumes 32bpp target surface. r=jmuizelaar.
...
--HG--
extra : rebase_source : ed824c4eebee561fa2992788649df5a4d0b19680
2010-04-13 19:11:23 -04:00
Jesse Ruderman
8255751882
Add crashtests
2010-04-11 16:59:47 -07:00
Jonathan Kew
d48aedf105
bug 554544 - try to make font code more robust, to avoid risk of getting null metrics. r=roc
2010-04-11 20:36:17 +01:00
Jeff Muizelaar
d751aaf9e3
Backed out changeset 9480726de986
...
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Jeff Muizelaar
aff371e5cb
Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
...
Reland after fixing quartz related clipping bug.
2010-04-05 22:28:54 -04:00
Jonathan Kew
0ad94c3879
bug 554188 - handle trailing whitespace on bidi-overridden text runs consistently on OS X 10.6. r=roc
2010-04-07 10:18:57 +01:00
Oleg Romashin
428506918b
Bug 557175 - No bug commit rev 146fdb589df5 broke Qt port compilation. r=vladimir
2010-04-07 03:54:05 -04:00
Jonathan Kew
f4bd122713
bug 549190 - round dwrite font vertical metrics to improve rendering/spacing consistency. r=bas
2010-04-06 21:19:41 +01:00
Jonathan Kew
b81c24c7fb
bug 502906 - part 4 - refactor DWrite font code to match Mac and GDI structure. r=bas
2010-04-06 21:19:39 +01:00
John Daggett
238a0854d1
Bug 555091. Fix unitialized vars in GDIFontEntry. r=jkew
2010-04-06 16:57:12 +09:00
Jeff Muizelaar
a7d2620943
Bug 542605. Backed out changeset 2b9a4c865737
...
Reftest failures that showed up at the last minute.
2010-04-06 00:14:30 -04:00
Jeff Muizelaar
6db34ced75
Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
2010-04-05 22:28:54 -04:00
Doug Turner
de5f5f3208
Fix Qt Gfx build bustage when using shared image surfaces. No bug
2010-04-02 11:11:31 -07:00
Doug Turner
cd95c5e54c
Fix for Qt build bustage. Need to #include class before using it in a nsRefPtr. Nobug
2010-04-02 08:47:05 -07:00
Daniel Holbert
f055328561
Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc
2010-04-01 11:05:40 -07:00
Daniel Holbert
5192e33d44
Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg
2010-04-01 11:05:40 -07:00
Daniel Holbert
56db19649c
Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange
2010-04-01 09:40:30 -07:00
Daniel Holbert
ef92ece024
Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg
2010-04-01 08:07:23 -07:00
Jesse Ruderman
7e6ad6b78a
Add tests to manifest. (Homeless tests identified by script in bug 551617.)
2010-03-31 20:17:35 -07:00
Jonathan Kew
8894eaff65
bug 555930 - directwrite font code failed to initialize superscriptOffset. r=bas
2010-03-31 13:46:18 +01:00
Bas Schouten
da83d8df41
Bug 552284: Check if we're valid before computing metrics. r=jfkthame
2010-03-20 18:25:37 +01:00
Jonathan Kew
e8c447ac8a
bug 552619 - fix build breakage from bug 502906 with older Windows SDKs without dwrite support. r=bas
2010-03-17 11:40:29 +00:00
Robert O'Callahan
686b3c0470
Bug 538323. Part 1: create ImageLayers and associated API for displaying pixel-buffers in various formats. r=jrmuizel,sr=dbaron
2010-03-02 12:09:35 +13:00
Robert O'Callahan
53211fb449
Bug 538266. Part 1: create gfx3DMatrix. r=jrmuizel
2010-03-02 12:08:26 +13:00
Mats Palmgren
af277b2204
Fix gcc warning: 'rv' may be used uninitialized in this function. b=552186 r=jfkthame
2010-03-15 19:29:55 +01:00
Jonathan Kew
8a871fa050
bug 502906 - part 3 - factor out Uniscribe and GDI shapers from Windows GDI font code. r=jdaggett
...
--HG--
rename : gfx/thebes/src/gfxWindowsFonts.cpp => gfx/thebes/src/gfxUniscribeShaper.cpp
rename : gfx/thebes/public/gfxWindowsFonts.h => gfx/thebes/src/gfxUniscribeShaper.h
2010-03-15 09:34:25 +00:00
Jonathan Kew
e3164a12bc
bug 552216 bustage fix, missed deleting a line
2010-03-14 12:56:59 +00:00
Jonathan Kew
00bb297fff
fix Windows bustage from bug 552216.
2010-03-14 12:13:21 +00:00
Jonathan Kew
13639154d6
bug 552216 - use 64-bit arithmetic to guard against possible overflow leading to buffer overrun in woff decoder. r=roc
2010-03-14 12:03:37 +00:00
Makoto Kato
33579349f7
Bug 524449 - Remove nsIPref from tree. r+sr=benjamin
2010-03-13 22:25:13 +09:00
Bas Schouten
69e742e37f
Bug 551945: Fix a mistake in double pass from changeset 53a85c489708. r=jfkthame
2010-03-12 14:09:53 +01:00
Jonathan Kew
f6504dfe55
bug 549169 - account for font-size-adjust in DWrite font code. r=bas
2010-03-12 11:57:49 +00:00
Bas Schouten
acd5890e37
Bug 549056: We always do double pass drawing when we're not a Win32 surface. r=jmathies,jrmuizel
2010-03-12 11:12:00 +01:00
Bas Schouten
5154c4b939
Bug 550680: RoundOut to snap correctly, and do so early enough to get a big enough surface. r=vlad
2010-03-12 11:08:28 +01:00
John Daggett
b6c4b585db
Bug 549816. Adjust meaning of needsBold flag. r=bas
2010-03-12 13:26:43 +09:00
Bas Schouten
0347e107b7
Bug 549816. Fix synthetic bolding with dwrite. r=jkew,jdaggett
2010-03-12 13:25:35 +09:00
James Cook
5b22675bba
Bug 524919 - Qt build of Firefox or Fennec does not respect my screen's DPI. r=mark.finkle, sr=pavlov
2010-03-10 16:36:47 +02:00
Brad Lassey
32de3d883c
follow up from bug 534136, fix build bustage for WinMo debug r=jonas
2010-03-10 15:47:45 -05:00
Jonathan Kew
84ecdc13b7
bug 502906 - part 2 - split out gfxCoreTextShaper and gfxMacFont. r=jdaggett
...
--HG--
rename : gfx/thebes/src/gfxCoreTextFonts.cpp => gfx/thebes/src/gfxCoreTextShaper.cpp
rename : gfx/thebes/public/gfxCoreTextFonts.h => gfx/thebes/src/gfxCoreTextShaper.h
2010-03-10 12:46:41 +00:00
Jonathan Kew
862b9f6d18
bug 548863 - eliminate warning about CreateFontInstance on mobile. r=jdaggett
2010-03-10 12:46:36 +00:00
Steven Michaud
52b5f2cff3
Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame
2010-03-09 10:37:56 -06:00
Oleg Romashin
1074689b38
Bug 550877 - Crash happen on attempt to delete bad created gfxShareImageSurface. r=dougt.
2010-03-08 19:28:54 +02:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf
Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg
2010-03-08 07:44:59 -08:00
Masayuki Nakano
3d3a707f5a
Bug 550772 - fallback pref font handling for CJK fonts is broken r=jdaggett
2010-03-08 18:14:56 +09:00
Walter Meinl
76dd42f941
Bug 548978: [OS/2] Fix build bustage in gfx/src/thebes/gfxOS2Platform.cpp r=jfkthame
2010-03-06 12:56:30 -05:00
Oleg Romashin
c4c4f0664c
Bug 550468 - Fix support for Pango font engine on Qt platform. r=karlt.
2010-03-06 15:29:55 +02:00
Mike Kristoffersen
abdb2aa82c
Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
...
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Bas Schouten
0c2bbe961d
Bug 549666: Native rects should be pixel aligned. r=vlad
2010-03-04 20:30:16 +01:00
Brad Lassey
7941559ff8
bug 547521 - enable building for windows mobile with --disable-libxul r=ted
2010-03-04 13:47:35 -05:00
Simon Montagu
c98bc79fd2
Add Tibetan to font selection UI. Bug 441110, r=emk
2010-03-04 10:55:53 +02:00
Jonathan Kew
85144c835a
Bug 549668 - check that mozilla.widget.render-mode pref value is within valid range. r=vlad
2010-03-03 09:27:08 +00:00
Bas Schouten
6d6ccbd638
Bug 549268: Ensure we pass a unique fontFileReferenceKey to DWrite for downloadable fonts. r=jdaggett
2010-03-03 07:57:47 +01:00
Bas Schouten
82d9fd2412
Bug 549270: Read the font substitutions from the registry and use them when looking up font names. r=jdaggett
2010-03-03 07:57:43 +01:00
Ginn Chen
ceab423709
Bug 547657 gfxSharedImageSurface.cpp failed to compile on Solaris r=jrmuizel
2010-03-02 13:57:21 +08:00
Bas Schouten
07ee37b338
Bug 549171: Check if there's support for sufficient D3D hardware for the D2D backend to work. r=jrmuizel
2010-03-02 02:04:27 +01:00
John Daggett
9c6d706e15
Bug 548983. Override GetStandardFamilyName for the DWrite font list. r=bas
2010-02-28 16:27:22 +09:00
Neil Rashbrook
6a2aa516ea
Bug 549019 Don't try to build Direct2D with older SDKs (based on patch by bas) r=jrmuizel
2010-02-27 16:05:54 +00:00
Jonathan Kew
a77a681fe4
Bug 548177 - remove ATSUI text rendering code. r=jdaggett
2010-02-26 06:20:38 -08:00
Bas Schouten
dcdb088a10
Bug 527707: Add Direct2D and DirectWrite backend integration to thebes and widget. Preffed off by default r=jrmuizel r=jmathies r=jfkthame
2010-02-25 22:36:07 -08:00
Jonathan Kew
9a27cf7646
Bug 548608 - update SupportsLangGroup in Windows font list code for nsIAtom-based language codes. r=roc
2010-02-25 15:02:54 -08:00