Jeff Wang
409a908656
64-bit Mac OS X bustage fix for font code. b=532346 r=jkew r=joshmoz
2009-12-15 18:16:12 -05:00
Daniel Holbert
069ce47ef6
Bug 534918: Add 'default' case to switch statement in nsThebesDeviceContext::SetDPI(), to fix build warnings. r=mfinkle
2009-12-15 14:42:54 -08:00
Christopher A. Aillon
780af2e776
Bug 435313 - "Printing on linux should set SIMPLIFY_OPERATORS | DISABLE_SNAPPING" [r=vlad]
2009-12-15 17:04:22 -05:00
Jim Mathies
23118539a9
Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar.
2009-12-14 18:27:25 -06:00
Robert O'Callahan
5c4bf1f0ba
Bug 534426. Use our zlib.h, not system zlib.h. r=jfkthame
2009-12-16 09:09:00 +13:00
Benjamin Smedberg
999be86ac2
Merge mozilla-central into electrolysis.
2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2
Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell.
2009-12-12 13:38:25 -05:00
Chris Jones
96d13f9099
bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew
2009-12-04 12:45:15 -06:00
Benjamin Smedberg
767eb11cb4
Merge mozilla-central into electrolysis
2009-12-04 11:28:50 -05:00
Jim Mathies
7783b7b59a
Bug 522299 - fix linux bustage.
2009-12-01 16:26:45 -06:00
Jim Mathies
0ffd1b2e75
Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar.
2009-12-01 15:05:26 -06:00
Karl Tomlinson
3e31a49e93
b=527980 don't use tree-cairo preprocessor symbols to test for fontconfig r=bsmedberg
2009-11-27 13:21:31 +13:00
Mark Finkle
2fab901966
Bug 530931: Maemo shouldn't use the true DPI [r=roc]
2009-11-25 17:27:05 -05:00
Ted Mielczarek
90122f0ace
bug 530093 - allow building with VC10. gfx changes. r=jdaggett
2009-11-23 10:20:21 -05:00
Ginn Chen
8042e8805d
Bug 522440 QCMS: Make sse/sse2 code built with Sun Studio 12 on Solaris r=jmuizelaar, ted.mielczarek
2009-11-20 14:15:39 +08:00
L. David Baron
0d1e7cde54
Reset mUnderlineOffset on all platforms when user font set generation is bumped. (Bug 523717) r=jdaggett
2009-12-11 08:13:20 -08:00
Jonathan Kew
20be438b77
Bug 532349: Support new cmap table ID used in Chinese fonts on OS X 10.6. r=jdaggett
2009-12-10 12:18:23 -08:00
Jonathan Kew
67b2a6c40e
Bug 532346: Work around ATSUI rendering failure with Apple LiGothic font on 10.6. r=roc
2009-12-10 12:18:14 -08:00
Nirbheek Chauhan
48dd8bd161
Bug 528941 - Remove pangox.h includes. r=karlt
2009-11-18 14:20:15 +01:00
Mark Finkle
f59c129aa0
Bug 531289: Firefox doesn't obey system dpi settings anymore (better fix) [r=dbaron a=blocking]
2009-11-30 18:10:11 -05:00
Mark Finkle
5c199b11fd
Bug 531289: Firefox doesn't obey system dpi settings anymore [r=roc a=blocking]
2009-11-30 16:44:55 -05:00
Jonathan Kew
14c50c157d
Bug 519445: lazy enumeration of font faces on Mac OS X to improve startup. r=jdaggett
2009-10-13 00:43:43 +01:00
Jesse Ruderman
308e1a0311
Add crashtests for several bugs
2009-12-06 16:54:07 -08:00
Vladimir Vukicevic
2e0f9d6bd7
b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart
2009-12-06 16:07:58 -08:00
Jeff Muizelaar
26b24b8c8d
Backout 8a790e81279e (bug 528322) because wince doesn't have powf.
...
The link error was obscured by other errors when I ran this on try...
2009-11-13 11:53:12 -05:00
Jeff Muizelaar
9c3353941f
Bug 528322. qcms: Avoid unneeded precision during table creation. r=joe
...
Switch from pow() to powf() because it's faster and we don't need the
additional precision. Also avoid unnecessary conversion to and from doubles by
using float constants instead of doubles.
2009-11-13 10:14:13 -05:00
Jonathan Kew
8819678012
Bug 480906: fix incorrect enum value mentioned in comment. r=roc
2009-12-14 10:35:46 +00:00
Karl Tomlinson
a527c04bef
b=518506 make public pixman symbols available in --disable-libxul and --enable-system-cairo builds r=bsmedberg
2009-12-14 10:00:31 +13:00
Daniel Holbert
98db394861
Bug 534150: Make sure to initialize local variable "matchFE" in FindFontForStyle, and remove unneeded null-check. r=jdaggett
2009-12-12 22:27:30 -08:00
Jonathan Kew
f11b5087cc
bug 527555: ensure gfxCoreTextFont destructor doesn't try to delete uninitialized Cairo pointers or null CF references. r=roc
2009-11-10 10:00:50 +00:00
Robert O'Callahan
c7b98a5043
Bug 526882. Create nsIntRegion. r=jmuizelaar
2009-11-10 14:00:36 +13:00
Takuro Ashie
3c42e71f49
Bug 525845 - Some characters in WOFF failed to work on Linux and Solaris. r=karlt
2009-11-05 23:12:36 -08:00
Robert O'Callahan
0da6995ce3
Bug 513395: Make sure the Cairo/Quartz backend returns the first stop for negative positions on the gradient line of a nonrepeating linear gradient. r=jrmuizel
...
--HG--
extra : rebase_source : 2b4fbf1602dbaac5f3bba2ac0c8465236546bfe7
2009-11-02 09:20:40 -08:00
Karl Tomlinson
7efb83c660
Test for bug 509244
2009-11-02 16:35:20 +13:00
Karl Tomlinson
5b37c7cce2
Test for bug 509244
2009-11-02 16:21:24 +13:00
Takuro Ashie
23139b43fb
Bug 505284 - bottom of fonts cut off in dialogs. r=karlt
2009-10-30 16:13:41 -07:00
Bas Schouten
039ec98ac1
Bug 524462. Fix startup crash in pref fonts with funky cmaps. r=jdaggett
2009-10-30 16:41:13 -06:00
Doug Turner
195c21873d
Expose device type in user agent. r=vlad
2009-10-24 23:09:46 -07:00
Jeff Muizelaar
abe4c1f753
Bug 500200. cairo-ddraw: Fallback if the source surface is larger than the maximum texture size. r=vlad
...
If the source surface is larger than the maximum texture size we fallback to software compositing
instead of drawing the wrong things.
2009-10-21 12:49:20 -04:00
Daniel Holbert
be9ef0b364
Disable one of Bug 385228's crashtests, since it's apparently not WORKSFORME after all. (reopened bug)
2009-10-19 17:26:04 -07:00
Jesse Ruderman
62dedaf641
Add more crashtests
2009-10-15 14:22:11 -07:00
Jesse Ruderman
8771686ba7
Fix likely typo in this crashtest file
2009-10-13 12:30:46 -07:00
Honza Bambas
2980177167
Bug 426788 - When DPI set to 144, User interface is scretched very much. and html document is rendered very large, r=roc
2009-10-08 11:14:40 +02:00
Mark Finkle
5431eed7c0
Bug 520341: Implement a way to detect a pre-Fremantle Nokia Maemo tablet, r=roc
2009-10-04 21:31:26 -04:00
Jeff Muizelaar
5eefe26460
Bug 514932. Fix color profile retrieval on OS X 10.6. r=joshmoz
...
CMGetDeviceProfile(cmDisplayDeviceClass,
cmDefaultDeviceID,
cmDefaultProfileID,
&device);
returns cmDeviceNotRegistered on 10.6 so we need to use a different method
to get the profile.
2009-10-03 14:33:55 -04:00
Jeff Muizelaar
4080919147
Bug 488800. qcms: accept ICCv4 profiles. r=bobbyholley
...
ICCv4 profiles are a superset of ICCv2 so it shouldn't hurt us to accept them and
just treat them the same way we do ICCv2 profiles.
2009-10-02 17:57:25 -04:00
Jonathan Kew
246e3ab129
Bug 519149. Get properly localized font family names on Mac OS X. r=jdaggett
2009-09-28 11:25:22 +01:00
Robert O'Callahan
0661a95762
Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
...
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Steve Snyder
6a4d539353
Bug 512865. qcms: Improve SSE2 performance, add SSE support. r=jrmuizel
...
This patch greatly improves the performance of QCMS transformations on x86 &
x86_64 systems. Some notes:
0. On 32-bit x86 systems it does runtime selection between non-SIMD, SSE, and
SSE2 code paths.
1. On x86_64 systems the SSE2 code path is always taken. The non-SIMD and SSE
code paths are left intact, but contemporary versions of the GCC and MSVC
compilers will see that they cannot be reached and optimize them away.
2. The execution of the SSE2 code path is reduced by 67%, relative to the
original Intel/Microsoft formatted ASM code. The relative performance is seen
on a Pentium4 (Northwood) 2.4GHz CPU with DDR1 RAM.
3. The SSE code path provides a 80% reduction in execution time, relative to
the non-SIMD code path. The relative performance is seen on a Pentium3
(Coppermine) 1.26GHz CPU with SDRAM.
4. The code has been split out into separate files so that it can be built
with different cflags (-msse, and -msse2) when using gcc.
5. Try to land again, this time with __attribute__((__force_align_arg_pointer__))
to avoid crashes on linux.
2009-10-01 14:19:41 -04:00
Honza Bambas
64a81f5716
Backout bug 426788
2009-09-29 17:32:54 +02:00
Honza Bambas
e0721031cd
Bug 426788 - When DPI set to 144, User interface is scretched very much. and html document is rendered very large, r=sylvain.pasche
2009-09-29 15:15:12 +02:00
John Daggett
7343dac5ab
Bug 517045. Remove code causing startup regression in Mac font initialization. r=jkew
2009-09-29 09:38:59 +09:00
Mark Finkle
5ca2ebf429
Bug 518378: buttons and list boxes in content document are unreasonably large, r=dbaron
2009-09-26 20:21:32 -04:00
Tobias Hunger
28c24755b6
Bug 518585 - Fix the cairo Qt backend to build. r=pavlov
2009-09-26 17:51:08 +02:00
Mitchell Field
eb31b31d25
Bug 514665 - fix stupid module name differences on windows. r=ted
2009-09-25 18:41:16 +02:00
Sylvain Pasche
dd513b17cc
Bug 517218 - Backout bug 515455 which didn't address the real issue. r=roc
2009-09-25 18:40:48 +02:00
Jeff Muizelaar
fe18ffef29
Backed out changeset cb4f078cc8cb (bug 512865)
...
Was causing crashes on the leak test box.
2009-09-24 23:35:53 -04:00
Steve Snyder
0ed3ad35a2
Bug 512865. qcms: Improve SSE2 performance, add SSE support. r=jrmuizel
...
This patch greatly improves the performance of QCMS transformations on x86 &
x86_64 systems. Some notes:
0. On 32-bit x86 systems it does runtime selection between non-SIMD, SSE, and
SSE2 code paths.
1. On x86_64 systems the SSE2 code path is always taken. The non-SIMD and SSE
code paths are left intact, but contemporary versions of the GCC and MSVC
compilers will see that they cannot be reached and optimize them away.
2. The execution of the SSE2 code path is reduced by 67%, relative to the
original Intel/Microsoft formatted ASM code. The relative performance is seen
on a Pentium4 (Northwood) 2.4GHz CPU with DDR1 RAM.
3. The SSE code path provides a 80% reduction in execution time, relative to
the non-SIMD code path. The relative performance is seen on a Pentium3
(Coppermine) 1.26GHz CPU with SDRAM.
4. The code has been split out into separate files so that it can be built
with different cflags (-msse, and -msse2) when using gcc.
2009-09-24 11:58:24 -04:00
Mark Finkle
3fab3ffab7
Bug 518281: DPI on n810 is incorrect (part 2), r=stuart
2009-09-23 02:31:38 -04:00
Mark Finkle
50bf449113
Bug 449283: DPI on n810 is incorrect, r=roc
2009-09-22 08:45:56 -04:00
Phil Ringnalda
e62c83fdc6
Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted
2009-09-18 19:59:53 -07:00
Peter Weilbacher
225cff8d8f
[OS/2] Bug 511361 - fix font name conversion before calling FC to match the font
2009-09-18 23:33:03 +02:00
Jonathan Kew
8f71962ebf
Bug 517283: fix gfxCoreTextFontGroup and bidi reftests to resolve failures with the Core Text backend, r=roc
2009-09-18 09:20:01 +01:00
John Daggett
3a6296ca39
Bug 505386. Compensate for unpadded font tables when renaming fonts. r=jkew.
2009-09-18 11:39:22 +09:00
John Daggett
b8d1f9f7eb
Bug 516709. Do better validation of cmap tables when loading fonts. r=jkew.
2009-09-18 09:45:29 +09:00
Jonathan Kew
5d195abe72
Bug 507970, part 3: add @font-face format hint for woff fonts, r=jdaggett
...
--HG--
extra : rebase_source : 44bbd8455cffbd21d77fafdec21e1a80792cd6d7
2009-09-17 12:03:12 +01:00
Jonathan Kew
7f99e7a86f
Bug 507970, part 2: implement support for downloadable WOFF fonts, r=jdaggett
...
--HG--
extra : rebase_source : e68c49d2dbea815e453f9ab52ba89bd9127d3f51
2009-08-30 14:55:24 +01:00
Mark Banner
7aeb0552dd
Part of Bug 515595 - Ensure layout is initialised (which will initialise gfx) in test_nsIScriptableRegion.js so that the test doesn't fail on non-libxul builds. Fallout from bug 504034. r=vladimir (test only change).
2009-09-17 08:06:04 +01:00
Reed Loden
5172688f96
Bug 516971 - "Remove lcms from the tree" [r=bholley r=gerv]
2009-09-17 01:17:19 -05:00
L. David Baron
2b3aa05445
Fix the one mochitest that's exported to _tests in a disable-tests build. (Bug 515993) r=ted
2009-09-16 12:01:18 -07:00
Jeff Muizelaar
7f0b0c4ec7
Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
...
This time without:
c0e01d9cd71bd958e1b31a03cea4c08a1bdf4926 (Improve GC caching efficacy)
2009-09-14 22:43:09 -04:00
Steffen Imhof
76bf54e530
Bug 498243. Make clipping reset explicit. r=vlad
...
--HG--
extra : rebase_source : b055dd091f5f4d8d3219d66863c71aec91e60ad3
2009-09-11 10:32:32 +12:00
Robert O'Callahan
f64d147ce2
Add cairo patches for Quartz gradient fixes
...
--HG--
extra : rebase_source : 7b50d07ec411410c7fda7b8fba423610018fd6cc
2009-08-26 10:05:44 -07:00
Takuro Ashie
56425247f2
b=513192; Crash [@nsAString_internal::BeginReading(nsReadingIterator<unsigned short>&)]; r=jfkthame
2009-09-10 13:57:27 -07:00
Vladimir Vukicevic
e2e8338594
b=514968; optimize FT2 textrun creation with glyph cache; r=jfkthame
2009-09-10 13:52:40 -07:00
Sylvain Pasche
5cbcd2ae99
Bug 515455 - "Backward compatibility when layout.css.devPixelsPerPx is an integer" [r=roc]
2009-09-10 14:43:41 -04:00
Chris Jones
f57cd2825a
bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad
2009-09-09 20:22:03 -05:00
Jeff Muizelaar
15aecb7830
Backed out changeset 3d7b55f16ec5
2009-09-09 14:30:44 -04:00
Jeff Muizelaar
9106c6fb06
Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
2009-09-09 12:11:46 -04:00
Takuro Ashie
33755981fd
Bug 490267 - implement pref font and system font fallback for gfxFT2Fonts. r=jtd,jfkthame sr=roc
2009-09-09 16:35:08 +01:00
Michael Moy
6736b50d62
Bug 421761 - "Use multiplication instead of division for gfxRGBA (gfxColor.h)" [r=joe r=jmuizelaar]
2009-09-08 15:14:39 -05:00
Vladimir Vukicevic
56304c7aa1
Bug 504766. qcms: Fix unaligned reads in qcms. r=jrmuizel
...
Offsets are not guaranteed to be aligned, so don't assume that they are.
memcpy instead of just casting and dereferencing.
2009-09-08 11:36:28 -04:00
Markus Stange
411161c562
Bug 514992 - Remove nsIWidget::Invalidate(PRBool aIsSynchronous). r=roc
...
--HG--
extra : rebase_source : dfdf06c8547b00744647d4a285809a57cdbfe1f4
2009-09-08 09:53:36 +12:00
Mook
782c1706ab
use PRUptrdiff, not unsigned long, for PtrBits in gfxFont [r=vlad]
2009-09-04 21:46:09 -05:00
Benjamin Smedberg
008e309c7f
Bug 513032 - remove empty conditionals in our makefiles, r=ted
2009-08-27 10:48:18 -07:00
Benjamin Smedberg
5d0d982cec
CLOSED TREE spelling fixes to kick new builds.
2009-09-03 11:14:54 -04:00
Sylvain Pasche
e2e27d0066
Bug 513439. Parse layout.css.devPixelsPerCSSPx as a string float. r=roc
...
--HG--
extra : rebase_source : 28d39726e3714d2614f5f010a8e6f914ddecaf75
2009-08-29 12:19:36 +02:00
Karl Tomlinson
4f45741fc0
Don't always addref in nsFontCache::Compact() b=503784 r=pavlov
...
--HG--
extra : rebase_source : e6b06957a00cdf49fc2868224afd9201e22c01a8
2009-08-31 08:44:39 +12:00
Peter Weilbacher
48caf1048e
[OS/2] Bug 490561 - update GetMetrics
2009-08-29 00:58:25 +03:00
Jeff Walden
75a36235ad
Bug 508325 - Fix a second instance of the core problem fixed in the first push; also change NSCoordSaturatingMultiply into two separate functions, one of which requires the scale to be non-negative and one which doesn't. r=roc
...
--HG--
extra : rebase_source : e4dc7f9f8e5647512524dcaa0e48dd5f68fe64a0
2009-08-06 00:36:54 -07:00
Taras Glek
8943704095
Bug 457949 - no need for Stopwatch r=bsmedberg
...
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman
e1a92dde70
Add more crashtests
2009-08-27 21:11:40 -07:00
Jesse Ruderman
15e3a448a6
Add crashtests
2009-08-27 19:48:20 -07:00
Benjamin Smedberg
0df64c6bc4
Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
...
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Robert O'Callahan
70eeaa8a7f
Bug 508730. Don't repeat a Quartz gradient more times than necessary, to avoid Quartz quality problems when there are lots of repeated color stops. r=jmuizelaar
...
--HG--
extra : rebase_source : fb288f0d08fecc39f69df6157fa89ada95decb4c
2009-08-06 23:43:09 +12:00
Robert O'Callahan
782f6cc454
Bug 508730. Clean up Quartz gradient code by moving some local variables to static const globals. r=jmuizelaar
...
--HG--
extra : rebase_source : c853b6ab035fd80d4565438311163771bbc6fa59
2009-08-06 23:37:06 +12:00
Robert O'Callahan
7b54d43bbb
Bug 508227. Don't fallback to Quartz for repeating radial gradients. r=jmuizelaar
...
--HG--
extra : rebase_source : 8ad7452fe67f9e67f0dd6eda02d0f0afcd4f5e00
2009-08-06 23:29:16 +12:00
Robert O'Callahan
ad0d3ca554
Backed out changeset 875c4ba4cbc8
2009-08-25 15:46:20 -07:00
Robert O'Callahan
0580caa913
Bug 508227. Don't fallback to Quartz for repeating radial gradients. r=jmuizelaar
...
--HG--
extra : rebase_source : fd5f578f728b0b2149ca4fcf84e1be6706cfc9d9
2009-08-06 23:29:16 +12:00
John Daggett
10e5cb9171
Bug 499621. Follow-up fixup to synthetic bolding on Windows. r=jkew.
2009-08-26 01:59:20 +09:00