Commit Graph

593 Commits

Author SHA1 Message Date
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Chris Jones
ef159da4a5 Bug 620658: Add nsRegion::Contains(nsRegion). sr=roc 2011-01-26 00:26:37 -06:00
Olli Pettay
a5bf7f043d Bug 625311, nsThebesDeviceContext can own widget, r=roc, a=roc
--HG--
extra : rebase_source : 60797b802588b31e79dea17de0ec0b0667e822ba
2011-01-18 13:08:03 +02:00
Robert O'Callahan
ce2d40adbe Bug 613696. Always use the presshell's reference rendering context to create textruns when we draw text via nsIThebesFontMetrics::DrawString, to be consistent with the textruns we measure during reflow. r=dbaron,a=blocking 2011-01-17 09:23:33 +13:00
Markus Stange
e20afb330c Bug 621762 - Change the way native windows are notified about toolbars. r=roc, a=betaN 2011-01-11 14:03:16 +01:00
Jonathan Kew
13736eae4a bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc 2011-01-11 11:17:00 +00:00
Robert O'Callahan
c148353f1a Bug 585258. Part 2: Make SimplifyOutward smarter by trying to avoid combinging rectangles that are vertically discontiguous. r=bzbarsky,a=blocking 2011-01-04 21:45:46 +13:00
Robert O'Callahan
e7c81607af Bug 613449. Extend GetLargestRectangle to support considering only rectangles that contain a given rectangle. r=robarnold 2011-01-04 16:56:57 +13:00
Robert O'Callahan
e946441ff1 Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
b890fea2f3 Bug 593604. Part 9: Support component alpha in ThebesLayerD3D9. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Benoit Jacob
81ac2ab66c Bug 613079 - fix non-libxul build and style fixes - r=dholbert, a=fix-build-nonlibxul 2010-12-06 09:10:42 -05:00
Benoit Jacob
f3d3a4229e Bug 613079 - WebGL crash [@mozilla::gl::GLContextProviderGLX::CreateOffscreen] - r=mattwoodrow, a=blocking-betaN 2010-12-06 06:34:34 -05:00
Ms2ger
3ec44ade0c Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
Brad Lassey
77ba0ab35f bug 595919 - Implement PDF printing for "Save As PDF" on Android r=vlad a=blocking-fennec 2010-11-16 18:33:56 -05:00
Robert O'Callahan
951d95a03a Bug 582146. 8388608.0 is invalid in cairo, so clamp to 8388607.0 instead. r=jrmuizel 2010-10-11 13:58:19 +13:00
Timothy Nikkel
3fe8b5b2f9 Bug 600148. Always round up in nsPoint::ToNearestPixels to match nsRect::ToNearestPixels. r=dbaron a=blocking-betaN+ 2010-10-09 14:09:22 -05:00
Tom Brinkman
fa1c5b8b9c Bug 565013: Implement printing to PDF for qt builds. r=romaxa r=dholbert a=blocking-fennec
--HG--
rename : widget/src/gtk2/nsDeviceContextSpecG.cpp => widget/src/qt/nsDeviceContextSpecQt.cpp
rename : widget/src/gtk2/nsDeviceContextSpecG.h => widget/src/qt/nsDeviceContextSpecQt.h
rename : widget/src/gtk2/nsPrintDialogGTK.cpp => widget/src/qt/nsPrintDialogQt.cpp
rename : widget/src/gtk2/nsPrintDialogGTK.h => widget/src/qt/nsPrintDialogQt.h
rename : widget/src/gtk2/nsPrintOptionsGTK.cpp => widget/src/qt/nsPrintOptionsQt.cpp
rename : widget/src/gtk2/nsPrintOptionsGTK.h => widget/src/qt/nsPrintOptionsQt.h
rename : widget/src/gtk2/nsPrintSettingsGTK.cpp => widget/src/qt/nsPrintSettingsQt.cpp
rename : widget/src/gtk2/nsPrintSettingsGTK.h => widget/src/qt/nsPrintSettingsQt.h
2010-10-07 12:19:33 -07:00
Mats Palmgren
48db0466a9 Bug 449734 part 3 - Update nsThebesDeviceContext::mWidget. r=roc a=blocking2.0:betaN 2010-09-18 13:28:50 +02:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Daniel Holbert
ecd6d13497 Bug 594650: Replace static variable in header file with static variable + accessor method, to fix codesighs & Composer.dll bustage. r=roc r=taras a=bustage 2010-09-09 09:41:58 -07:00
Chris Jones
29a74cf7e8 Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc 2010-09-03 15:10:46 -05:00
Chris Jones
5e7a13a689 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-20 14:29:01 -05:00
Chris Jones
76fbbd8539 Backed out changeset c5945b6a97ed 2010-08-19 19:03:09 -05:00
Chris Jones
39ff0004c3 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-19 13:49:35 -05:00
Robert O'Callahan
8d6e97edd5 Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron 2010-08-13 21:59:16 +12:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
b7df1787ef Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Robert O'Callahan
2ee9178a2e Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Robert O'Callahan
87bbf8a495 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Robert O'Callahan
8eec063c4f Bug 537890. Part 1: Add nsIWidget::GetDPI and nsIWidget::GetDefaultScale and use them to set up device contexts. r=vlad,sr=dbaron 2010-08-13 21:57:48 +12:00
Rob Arnold
beb6ddf7e8 Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0 2010-08-17 23:07:10 -04:00
Jim Mathies
a4b41e665b Bug 574454 - Add caption buttonbox css styles. r=dbaron. 2010-08-09 20:49:34 -05:00
Jim Mathies
fc610f459e Bug 574454 - Add window frame css styles. r=dbaron. 2010-08-09 20:49:34 -05:00
Ian Spence ext:(%2C%20Michael%20Monreal%20%3Cmichael.monreal%2Bmoz%40gmail.com%3E)
fefa76bb2b Bug 412773 - Implement -moz-appearance: button-arrow-up/down/next/previous and use them in the find bar and for expander buttons. r=roc, r=dao, ui-r=faaborg 2010-07-27 16:57:47 +02:00
Timothy Nikkel
ca833c302e Back out changeset ba9be0418b15 (bug 579963) because it didn't work. 2010-07-25 18:10:08 -05:00
Timothy Nikkel
e4e255253c Bug 579963. Don't inline nsPoint::ConvertAppUnits because it causes PGO builds on windows to be slower in some cases. r=bzbarsky 2010-07-25 13:08:16 -05:00
Robert O'Callahan
5eaac34d84 Bug 579250. Revamp unified-titlebar interface so that we can tell nsNativeThemeCocoa about toolbars even if they're not actually painted. r=mstange 2010-07-24 21:35:29 +12:00
Chris Jones
b35ebb5f66 Bug 573829, part 1: Refactor ThebesLayerBuffer in preparation for its use in the OGL layers backend. r=roc
--HG--
rename : gfx/layers/basic/ThebesLayerBuffer.cpp => gfx/layers/ThebesLayerBuffer.cpp
rename : gfx/layers/basic/ThebesLayerBuffer.h => gfx/layers/ThebesLayerBuffer.h
2010-07-21 13:06:33 -05:00
Timothy Nikkel
460def762d Bug 563878. Part 7. Change frame, point, rect, region APIs. r=mats sr=roc 2010-07-18 21:23:47 -05:00
Robert O'Callahan
b7f93d47f0 Bug 573953. Ensure that zoom factors are chosen in reftests so appunits-per-dev-pixel is an integer. r=dbaron 2010-07-16 09:04:16 +12:00
Zack Weinberg
29e6f9c217 Bug 571989 part 5: move gfx/src/thebes/utils/* to gfx/thebes. r=joedrew
--HG--
rename : gfx/src/thebes/utils/gfxBlur.cpp => gfx/thebes/gfxBlur.cpp
rename : gfx/src/thebes/utils/gfxBlur.h => gfx/thebes/gfxBlur.h
rename : gfx/src/thebes/utils/gfxThebesUtils.cpp => gfx/thebes/gfxThebesUtils.cpp
rename : gfx/src/thebes/utils/gfxThebesUtils.h => gfx/thebes/gfxThebesUtils.h
rename : gfx/src/thebes/utils/nsCoreAnimationSupport.h => gfx/thebes/nsCoreAnimationSupport.h
rename : gfx/src/thebes/utils/nsCoreAnimationSupport.mm => gfx/thebes/nsCoreAnimationSupport.mm
2010-07-13 14:54:21 -07:00
Zack Weinberg
00dd731d9b Bug 571989 part 4: Reorganize all the tests directories below gfx/. r=joedrew
--HG--
rename : gfx/thebes/crashtests/122875-1.html => gfx/tests/crashtests/122875-1.html
rename : gfx/thebes/crashtests/156882-1.html => gfx/tests/crashtests/156882-1.html
rename : gfx/thebes/crashtests/157320-1.html => gfx/tests/crashtests/157320-1.html
rename : gfx/thebes/crashtests/199379-1.html => gfx/tests/crashtests/199379-1.html
rename : gfx/thebes/crashtests/206561-1.html => gfx/tests/crashtests/206561-1.html
rename : gfx/thebes/crashtests/248518-1.html => gfx/tests/crashtests/248518-1.html
rename : gfx/thebes/crashtests/306649-1.xml => gfx/tests/crashtests/306649-1.xml
rename : gfx/src/thebes/crashtests/306902-1.xml => gfx/tests/crashtests/306902-1.xml
rename : gfx/thebes/crashtests/333861-1.html => gfx/tests/crashtests/333861-1.html
rename : gfx/thebes/crashtests/334735-1.html => gfx/tests/crashtests/334735-1.html
rename : gfx/thebes/crashtests/345576-1.html => gfx/tests/crashtests/345576-1.html
rename : gfx/thebes/crashtests/345629-1.html => gfx/tests/crashtests/345629-1.html
rename : gfx/thebes/crashtests/348462-1.html => gfx/tests/crashtests/348462-1.html
rename : gfx/thebes/crashtests/348462-2.html => gfx/tests/crashtests/348462-2.html
rename : gfx/thebes/crashtests/369688-1.html => gfx/tests/crashtests/369688-1.html
rename : gfx/thebes/crashtests/369947-1.html => gfx/tests/crashtests/369947-1.html
rename : gfx/thebes/crashtests/372094-1.xhtml => gfx/tests/crashtests/372094-1.xhtml
rename : gfx/thebes/crashtests/376627-1.html => gfx/tests/crashtests/376627-1.html
rename : gfx/thebes/crashtests/377231-1.html => gfx/tests/crashtests/377231-1.html
rename : gfx/thebes/crashtests/377232-1.xhtml => gfx/tests/crashtests/377232-1.xhtml
rename : gfx/thebes/crashtests/377461-1.xhtml => gfx/tests/crashtests/377461-1.xhtml
rename : gfx/thebes/crashtests/383473-1.html => gfx/tests/crashtests/383473-1.html
rename : gfx/src/thebes/crashtests/383872-1.svg => gfx/tests/crashtests/383872-1.svg
rename : gfx/thebes/crashtests/385228-1.svg => gfx/tests/crashtests/385228-1.svg
rename : gfx/thebes/crashtests/385228-2.svg => gfx/tests/crashtests/385228-2.svg
rename : gfx/thebes/crashtests/385289-1.xhtml => gfx/tests/crashtests/385289-1.xhtml
rename : gfx/thebes/crashtests/385417-1.html => gfx/tests/crashtests/385417-1.html
rename : gfx/thebes/crashtests/385417-2.html => gfx/tests/crashtests/385417-2.html
rename : gfx/thebes/crashtests/385423-1.html => gfx/tests/crashtests/385423-1.html
rename : gfx/thebes/crashtests/385423-2.html => gfx/tests/crashtests/385423-2.html
rename : gfx/thebes/crashtests/385719-1.html => gfx/tests/crashtests/385719-1.html
rename : gfx/thebes/crashtests/389326-1-inner.xhtml => gfx/tests/crashtests/389326-1-inner.xhtml
rename : gfx/thebes/crashtests/389326-1.html => gfx/tests/crashtests/389326-1.html
rename : gfx/thebes/crashtests/393746-1.xhtml => gfx/tests/crashtests/393746-1.xhtml
rename : gfx/thebes/crashtests/393749-1.html => gfx/tests/crashtests/393749-1.html
rename : gfx/thebes/crashtests/393822-1.html => gfx/tests/crashtests/393822-1.html
rename : gfx/thebes/crashtests/394246-1.html => gfx/tests/crashtests/394246-1.html
rename : gfx/thebes/crashtests/394246-2.html => gfx/tests/crashtests/394246-2.html
rename : gfx/thebes/crashtests/394384-1.html => gfx/tests/crashtests/394384-1.html
rename : gfx/thebes/crashtests/395335-1.xhtml => gfx/tests/crashtests/395335-1.xhtml
rename : gfx/thebes/crashtests/395458-1.html => gfx/tests/crashtests/395458-1.html
rename : gfx/thebes/crashtests/396321-1.svg => gfx/tests/crashtests/396321-1.svg
rename : gfx/thebes/crashtests/398042-1.xhtml => gfx/tests/crashtests/398042-1.xhtml
rename : gfx/thebes/crashtests/398042-2.xhtml => gfx/tests/crashtests/398042-2.xhtml
rename : gfx/thebes/crashtests/402307-1.html => gfx/tests/crashtests/402307-1.html
rename : gfx/thebes/crashtests/403464-1.html => gfx/tests/crashtests/403464-1.html
rename : gfx/thebes/crashtests/404112-1.html => gfx/tests/crashtests/404112-1.html
rename : gfx/thebes/crashtests/404112-2.html => gfx/tests/crashtests/404112-2.html
rename : gfx/thebes/crashtests/405268-1.xhtml => gfx/tests/crashtests/405268-1.xhtml
rename : gfx/thebes/crashtests/407761-1.html => gfx/tests/crashtests/407761-1.html
rename : gfx/thebes/crashtests/407842.html => gfx/tests/crashtests/407842.html
rename : gfx/thebes/crashtests/408754-1.html => gfx/tests/crashtests/408754-1.html
rename : gfx/thebes/crashtests/410728-1.xml => gfx/tests/crashtests/410728-1.xml
rename : gfx/thebes/crashtests/416637-1.html => gfx/tests/crashtests/416637-1.html
rename : gfx/thebes/crashtests/419095-1.html => gfx/tests/crashtests/419095-1.html
rename : gfx/thebes/crashtests/419255-1.html => gfx/tests/crashtests/419255-1.html
rename : gfx/thebes/crashtests/420945-1.html => gfx/tests/crashtests/420945-1.html
rename : gfx/thebes/crashtests/420962-1.html => gfx/tests/crashtests/420962-1.html
rename : gfx/thebes/crashtests/421393-1.html => gfx/tests/crashtests/421393-1.html
rename : gfx/thebes/crashtests/421813-1.html => gfx/tests/crashtests/421813-1.html
rename : gfx/src/thebes/crashtests/423110-1.xhtml => gfx/tests/crashtests/423110-1.xhtml
rename : gfx/thebes/crashtests/423270-1.html => gfx/tests/crashtests/423270-1.html
rename : gfx/thebes/crashtests/429899-1.html => gfx/tests/crashtests/429899-1.html
rename : gfx/thebes/crashtests/441360.html => gfx/tests/crashtests/441360.html
rename : gfx/thebes/crashtests/441360_data.gif => gfx/tests/crashtests/441360_data.gif
rename : gfx/src/thebes/crashtests/445711.html => gfx/tests/crashtests/445711.html
rename : gfx/thebes/crashtests/463307-1.html => gfx/tests/crashtests/463307-1.html
rename : gfx/thebes/crashtests/467703-1.xhtml => gfx/tests/crashtests/467703-1.xhtml
rename : gfx/thebes/crashtests/467873-1.html => gfx/tests/crashtests/467873-1.html
rename : gfx/thebes/crashtests/470418-1.html => gfx/tests/crashtests/470418-1.html
rename : gfx/thebes/crashtests/474410-1.html => gfx/tests/crashtests/474410-1.html
rename : gfx/thebes/crashtests/483120-1.xhtml => gfx/tests/crashtests/483120-1.xhtml
rename : gfx/thebes/crashtests/483120-2.xhtml => gfx/tests/crashtests/483120-2.xhtml
rename : gfx/thebes/crashtests/487549-1.html => gfx/tests/crashtests/487549-1.html
rename : gfx/thebes/crashtests/487549-bad_kern_table.ttf => gfx/tests/crashtests/487549-bad_kern_table.ttf
rename : gfx/thebes/crashtests/487724-1.html => gfx/tests/crashtests/487724-1.html
rename : gfx/thebes/crashtests/490777-1.html => gfx/tests/crashtests/490777-1.html
rename : gfx/thebes/crashtests/532726-1.html => gfx/tests/crashtests/532726-1.html
rename : gfx/thebes/crashtests/538065-1.html => gfx/tests/crashtests/538065-1.html
rename : gfx/thebes/crashtests/546870-1.html => gfx/tests/crashtests/546870-1.html
rename : gfx/thebes/crashtests/balinese-letter-spacing.html => gfx/tests/crashtests/balinese-letter-spacing.html
rename : gfx/thebes/crashtests/crashtests.list => gfx/tests/crashtests/crashtests.list
rename : gfx/thebes/test/gfxColorManagementTest.cmtest => gfx/tests/gfxColorManagementTest.cmtest
rename : gfx/thebes/test/gfxColorManagementTest.cpp => gfx/tests/gfxColorManagementTest.cpp
rename : gfx/thebes/test/gfxFontSelectionTest.cpp => gfx/tests/gfxFontSelectionTest.cpp
rename : gfx/thebes/test/gfxFontSelectionTests.h => gfx/tests/gfxFontSelectionTests.h
rename : gfx/thebes/test/gfxSurfaceRefCountTest.cpp => gfx/tests/gfxSurfaceRefCountTest.cpp
rename : gfx/thebes/test/gfxTestCocoaHelper.h => gfx/tests/gfxTestCocoaHelper.h
rename : gfx/thebes/test/gfxTestCocoaHelper.mm => gfx/tests/gfxTestCocoaHelper.mm
rename : gfx/thebes/test/gfxTextRunPerfTest.cpp => gfx/tests/gfxTextRunPerfTest.cpp
rename : gfx/thebes/test/gfxWordCacheTest.cpp => gfx/tests/gfxWordCacheTest.cpp
rename : gfx/thebes/mochitest/test_bug509244.html => gfx/tests/mochitest/test_bug509244.html
rename : gfx/thebes/mochitest/test_bug513439.html => gfx/tests/mochitest/test_bug513439.html
rename : gfx/thebes/test/per-word-runs.h => gfx/tests/per-word-runs.h
rename : gfx/thebes/test/process-textruns.pl => gfx/tests/process-textruns.pl
rename : gfx/thebes/test/testprofiles/DELL2407WFP-2B283C91.icc => gfx/tests/testprofiles/DELL2407WFP-2B283C91.icc
rename : gfx/thebes/test/testprofiles/G22LWk-2489A79.icc => gfx/tests/testprofiles/G22LWk-2489A79.icc
rename : gfx/thebes/test/testprofiles/MBP20080419-1.icc => gfx/tests/testprofiles/MBP20080419-1.icc
rename : gfx/thebes/test/testprofiles/PhLCD17a.icm => gfx/tests/testprofiles/PhLCD17a.icm
rename : gfx/thebes/test/testprofiles/identity.icc => gfx/tests/testprofiles/identity.icc
rename : gfx/thebes/test/testprofiles/murphy.icc => gfx/tests/testprofiles/murphy.icc
rename : gfx/thebes/test/testprofiles/sRGB_IEC61966-2-1_noBPC.icc => gfx/tests/testprofiles/sRGB_IEC61966-2-1_noBPC.icc
rename : gfx/thebes/test/testprofiles/sRGB_IEC61966-2-1_withBPC.icc => gfx/tests/testprofiles/sRGB_IEC61966-2-1_withBPC.icc
rename : gfx/thebes/test/testprofiles/sRGB_v4_ICC_preference.icc => gfx/tests/testprofiles/sRGB_v4_ICC_preference.icc
2010-07-13 14:54:18 -07:00
Jonathan Kew
1341e3f276 bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
Benoit Girard
01102375c0 Back out 06cc16f7954e (bug 577224) because it can cause plugins to not draw. 2010-07-09 13:14:22 -07:00
timeless@mozdev.org
5a34e2465c Bug 577224 nsCARenderer::DrawSurfaceToCGContext comparison between signed and unsigned integer expressions
r=BenWa
2010-07-07 12:08:22 +03:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Zack Weinberg
a55cf984ba Bug 571989 follow-up: remove mentions of removed directories from toolkit-makefiles.sh and elsewhere. r=dholbert
--HG--
extra : rebase_source : c6e387430e6b2292b0925fdb681819ba109568e7
2010-06-30 08:54:39 -07:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
L. David Baron
c01ffe570a Make unconstrained width assertions into warnings because we can hit them when we clamp really large widths. (Bug 525100) r=roc 2010-06-28 13:47:39 -07:00
Zack Weinberg
1412be997a Bug 571989 part 2: Fold gfx/public and gfx/idl into gfx/src.
--HG--
rename : gfx/public/X11Util.h => gfx/src/X11Util.h
rename : gfx/public/gfxCore.h => gfx/src/gfxCore.h
rename : gfx/idl/gfxIFormats.idl => gfx/src/gfxIFormats.idl
rename : gfx/idl/gfxidltypes.idl => gfx/src/gfxidltypes.idl
rename : gfx/public/nsColor.h => gfx/src/nsColor.h
rename : gfx/public/nsColorNameList.h => gfx/src/nsColorNameList.h
rename : gfx/public/nsColorNames.h => gfx/src/nsColorNames.h
rename : gfx/public/nsCoord.h => gfx/src/nsCoord.h
rename : gfx/public/nsFont.h => gfx/src/nsFont.h
rename : gfx/public/nsGfxCIID.h => gfx/src/nsGfxCIID.h
rename : gfx/public/nsIDeviceContext.h => gfx/src/nsIDeviceContext.h
rename : gfx/idl/nsIFontEnumerator.idl => gfx/src/nsIFontEnumerator.idl
rename : gfx/public/nsIFontMetrics.h => gfx/src/nsIFontMetrics.h
rename : gfx/public/nsIRegion.h => gfx/src/nsIRegion.h
rename : gfx/public/nsIRenderingContext.h => gfx/src/nsIRenderingContext.h
rename : gfx/idl/nsIScriptableRegion.idl => gfx/src/nsIScriptableRegion.idl
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
rename : gfx/public/nsMargin.h => gfx/src/nsMargin.h
rename : gfx/public/nsPoint.h => gfx/src/nsPoint.h
rename : gfx/public/nsRect.h => gfx/src/nsRect.h
rename : gfx/public/nsRegion.h => gfx/src/nsRegion.h
rename : gfx/public/nsSize.h => gfx/src/nsSize.h
rename : gfx/public/nsThemeConstants.h => gfx/src/nsThemeConstants.h
rename : gfx/public/nsTransform2D.h => gfx/src/nsTransform2D.h
2010-06-28 10:36:20 -07:00
Zack Weinberg
cdb43c9602 Bug 571989 part 1: Move the contents of gfx/src/psshared into widget/src/gtk2, which is the sole user.
--HG--
rename : gfx/src/psshared/nsCUPSShim.cpp => widget/src/gtk2/nsCUPSShim.cpp
rename : gfx/src/psshared/nsCUPSShim.h => widget/src/gtk2/nsCUPSShim.h
rename : gfx/src/psshared/nsPSPrinters.cpp => widget/src/gtk2/nsPSPrinters.cpp
rename : gfx/src/psshared/nsPSPrinters.h => widget/src/gtk2/nsPSPrinters.h
rename : gfx/src/psshared/nsPaperPS.cpp => widget/src/gtk2/nsPaperPS.cpp
rename : gfx/src/psshared/nsPaperPS.h => widget/src/gtk2/nsPaperPS.h
2010-06-28 10:36:17 -07:00
Jesse Ruderman
f04ef428cb Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Benoit Girard
4518164713 Limit drawing operations to the width/height of the IOSurface. b=570347 r=josh 2010-06-09 00:12:06 -04:00
Timothy Nikkel
3cf7abcc45 Bug 563878. Part 1b. Make nsIPresShell::RenderNode and nsIRenderingContext::SetClipRegion take an nsIntRegion. r=mats
(transplanted from d5ca465f42381d777adcc468c8fdf96942f1fcfe)

--HG--
extra : transplant_source : %D5%CAF_B8%1Dwz%DC%C4h%C8%FD%F9iB%F1%FC%FE
2010-06-05 15:29:49 -05:00
Timothy Nikkel
c98f610ec6 Bug 563878. Part 1a. Make nsThebesRegion hold a nsIntRegion like it should. r=mats
(transplanted from f2991bf41c20d8d20115d85506828cb0c727078d)

--HG--
extra : transplant_source : %F2%99%1B%F4%1C%20%D8%D2%01%15%D8U%06%82%8C%B0%C7%27%07%8D
2010-06-05 15:29:49 -05:00
L. David Baron
66279ee336 Implement the HTML5 algorithm for parsing a legacy color value: implement the arbitrary-string-to-RGB part of the algorithm. (Bug 121738) r=sicking 2010-06-03 13:11:34 -07:00
L. David Baron
1eb13c3162 Implement the HTML5 algorithm for parsing a legacy color value: reject 'transparent'. (Bug 227072) r=sicking 2010-06-03 13:11:34 -07:00
Steffen Imhof
c388a096f0 Bug 568438 - Fontsize handling in nsSystemFontsQt.cpp breaks for fonts with pixel size set. r=dougt 2010-05-27 08:07:56 -07:00
Rob Arnold
bfc51c8452 Added ll suffix to 64 bit constant and initialized some variables to shut up gcc. 2010-05-24 00:08:04 -04:00
Rob Arnold
b381fdfc4a Attempt to fix bustage from b375e530a90b by adding parens to hopefully appease gcc. 2010-05-23 23:47:34 -04:00
Rob Arnold
46451c053e Bug 555182 - Calculate the largest opaque rectangle in the opaque region to determine glass margins r=jimm,roc 2010-05-23 23:29:04 -04:00
Benoit Girard
5c08a53c48 Export CoreAnimation symbols for Thunderbird bustage fix. b=559259 r=Bas
--HG--
extra : rebase_source : 1d2a962cabe4541cd57b925cf4889fea00b61834
2010-05-20 17:48:15 -04:00
Benoit Girard
5742a80a1b Use IOSurface for in-process CoreAnimation on OS X 10.6+ b=559259 r=josh. 2010-05-20 15:22:37 -04:00
Dave Yeo
135c78e153 [OS/2] Bug 561596 - Add define to allow declspec to work, r=ventnor 2010-05-15 15:54:15 +03:00
Vladimir Vukicevic
706e10c197 bug 556420 - Add support for android to thebes r=joedrew 2010-05-11 13:27:36 -04:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Brian Lu
6f6b4e47f9 Bug 563607 Failed to build libthebes.so on OpenSolaris r=roc 2010-05-06 13:44:56 +08:00
timeless@mozdev.org
17a071fb05 Bug 562582 - suggest parentheses around assignment used as truth value in nsRegion::ToOutsidePixels, r=roc 2010-04-28 23:20:00 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Bas Schouten
3f6b77012d Bug 560147: Bustage follow-up, build src/thebes after thebes has been built. r=ted
--HG--
extra : rebase_source : e388bfc02b987b98be864a3e70626d34a4b7cf75
2010-04-29 16:21:55 +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
Boying Lu
df390badb6 Bug 560179 - Failed to build files under gfx/src/thebes/utils r=roc 2010-04-22 14:56:30 +02:00
Benoit Girard
9897b0a83e Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 8cc45083e0b513902c467c8c89248474c21b7923
2010-04-20 10:52:19 -04: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
Rob Arnold
5c251e360c Bug 450767 - Don't necessarily apply Aero Glass to the entire window r=jimm sr=roc 2010-03-17 18:56:00 -04:00
Daniel Holbert
1b3d9cf2fc Bug 551775: Add unsigned-int cast in NS_ColorNameToRGB to fix build warning. r=roc 2010-03-11 22:03:49 -08:00
Rich Walsh
124c35352b Bug 543855: [OS/2] Invalid conversion from const char to const unsigned char in gfx/src/thebes/nsSystemFontsOS2 r=wuno 2010-03-06 12:53:35 -05: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
Brad Lassey
7941559ff8 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Jonathan Kew
c1c65f039e Bug 548545 - don't try to get an atom for a NULL string. r=roc 2010-02-25 15:02:31 -08:00
Karl Tomlinson
6ed1f5d145 b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
Jonathan Kew
3d28b28018 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Alfred Kayser
9636e467d5 bug 386937: get rid of ConvertPixels (r=vladimir) 2010-02-12 10:17:51 +01:00
Phil Ringnalda
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Mats Palmgren
0bac01734a mRectListHead.x needs a sentinel value (not y). Clarify the use of nscoord sentinel values and handle float nscoord too. b=541869 r=roc r=jonitis 2010-01-27 09:35:37 +01:00
Robert O'Callahan
ef60e5fbb0 Bug 526394. Part 23: Make nsRect::IntersectRect preserve height and width if possible even when the intersection of two rectangles is empty. r=mats 2010-01-12 10:45:16 +13:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Daniel Holbert
0cca8e9b77 Fix for Bug 534918's bustage (build error: "initialization of 'OSVal' is skipped by 'default' label") 2009-12-15 15:37:55 -08: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
Jonathan Kew
8819678012 Bug 480906: fix incorrect enum value mentioned in comment. r=roc 2009-12-14 10:35:46 +00: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
2fab901966 Bug 530931: Maemo shouldn't use the true DPI [r=roc] 2009-11-25 17:27:05 -05:00
Nirbheek Chauhan
48dd8bd161 Bug 528941 - Remove pangox.h includes. r=karlt 2009-11-18 14:20:15 +01: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
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
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
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
Mark Finkle
50bf449113 Bug 449283: DPI on n810 is incorrect, r=roc 2009-09-22 08:45:56 -04: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
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07: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
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
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
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Vladimir Vukicevic
beed7780bf b=509244; gfx crash on memory pressure notification; r=karlt 2009-08-14 16:51:30 -04:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
fantasai
1a4e383ad9 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
Rob Arnold
d2be65d245 Bug 501475 - Remove nsPaletteInfo and friends. r=joe 2009-07-09 12:27:44 -07:00
Vladimir Vukicevic
809be8d5c7 b=494438; add optional OpenGL acceleration to ddraw surface for CE: better integration with rest of system; r=vlad 2009-07-08 16:34:02 -07:00
Vladimir Vukicevic
ef7dde313c b=494438; add optional OpenGL acceleration to ddraw surface for CE: enable composite accel; r=vlad 2009-07-08 16:34:02 -07:00
Brad Lassey
3e5827ad6c bug 503096 - always used FILTER_FAST for mobile r=jmuizelaar 2009-07-08 12:50:07 -04:00
Timothy Nikkel
8e2fddb350 Bug 494664. Minor color-related cleanup. r=jmuizel,sr=vlad
--HG--
extra : rebase_source : a81d48bb0fa9faac3806b7a609d35a9eb5bdffd9
2009-06-24 21:18:17 +12:00
Timothy Nikkel
9252a1889a Bug 494664. NS_ComposeColors needs to handle non-opaque background colors correctly. r=jrmuizel,sr=vlad.
--HG--
extra : rebase_source : 58e5cf406f1bc96b808700011a46838372a0bc95
2009-06-24 21:17:24 +12:00
Jonathan Kew
f5f9929b78 Bug 498252 - Correct the font-size used in context menus, r=josh 2009-06-15 22:04:22 +02:00
Jonathan Kew
aac140925f use Cocoa instead of (deprecated, non-64bit) Appearance Manager APIs in nsSystemFontsMac (for bug 489354) r=joshmoz
--HG--
rename : gfx/src/thebes/nsSystemFontsMac.cpp => gfx/src/thebes/nsSystemFontsMac.mm
2009-06-12 14:52:35 -04:00
Markus Stange
f9eb685a64 Bug 495920 - nsThebesDeviceContext shouldn't have a reference to a native widget. r=masayuki, sr=roc 2009-06-11 11:24:41 +02:00
Zack Weinberg
d1ad418dbf Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Robert O'Callahan
8d23e695a3 Bug 493202. Add a layout.css.devPixelsPerPx hidden pref to control that ratio if desired. r=vlad 2009-05-18 10:09:53 +12:00
Robert O'Callahan
6bd55e5bac Bug 489389. Limit size of temporary surface for tiling based on current clip extents. r=vlad 2009-05-08 15:19:41 +12:00
Robert O'Callahan
2239c5a063 Backing out fix for bug 479852 due to regressions
--HG--
extra : rebase_source : 9545085000e8e2336198daad3aaa767747398542
2009-05-08 14:35:47 +12:00
Robert O'Callahan
fae5e9a373 Backed out changeset 836d5856f1e5 2009-05-08 14:34:49 +12:00
Jeff Muizelaar
6cd1ca156d Bug 488901 - Don't use a push group on Quartz surfaces in nsThebesImage::Draw(), since Quartz doesn't seem to have any practical limits on translation. r=vlad,joe 2009-05-07 14:33:29 -04:00
Vladimir Vukicevic
f622413d4a b=479852; fix slow page scrolling with zoom when 1px tall or wide images are tiled; r=roc 2009-04-11 18:29:11 -07:00
Masayuki Nakano
d9f91d6288 Bug 482928 All menus, context menus, panels, etc, appear on primary display/screen/monitor when Firefox is on secondary r=smichaud+roc+jmathies, sr=vlad 2009-04-10 19:43:19 +09:00
Stuart Parmenter
c58c9dbadb Bug 482689. Optimize display lists for backgrounds. r/sr=roc 2009-04-08 08:19:51 -07:00
Jeremy D. Lea
3783553d06 Bug 419125 - Remove assert to fix bustage; 2009-04-08 12:48:34 -07:00
Jeremy D. Lea
c44e58f04a Bug 419125 - Part 3 - Merge nsRenderingContextImpl into nsThebesRenderingContext; r+sr=vlad 2009-04-08 11:40:32 -07:00
Jeremy D. Lea
c7914df439 Bug 419125 - Part 2 - Merge DeviceContextImpl into nsThebesDeviceContext; r+sr=vlad 2009-04-08 11:40:24 -07:00
Jeremy D. Lea
3a44262f63 Bug 419125 - Part 1 - Minour cleanups of nsThebesDeviceContext; r+sr=vlad 2009-04-08 11:40:12 -07:00
Jeff Muizelaar
9980cb2188 Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Robert Longson
7506754d85 Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc 2009-04-05 10:52:14 +01:00
Anders Kaseorg
059eca3d1b Bug 190778 - [gtk2] Assumes font sizes are integers, they are not; r=blizzard sr=roc 2009-04-30 12:07:20 +02:00
Makoto Kato
ac4e7cb6a8 Bug 184657 - GFX should use the newer nsIPrefService APIs instead of nsIPref. r=roc. sr=vladimir 2009-04-04 18:43:42 +09:00
Joe Drew
fc5c15825a Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar
eaef2088cb Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Robert Longson
7235fc714e Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc 2009-03-21 15:36:38 +00:00
Taras Glek
baedec4628 Bug 483425 - memory leak fix + testcase r=vlad 2009-03-19 11:45:07 -07:00
Taras Glek
56e7a314a4 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 11:42:07 -07:00
Taras Glek
ca9b9b26ab Backed out changeset 9d34172f942f 2009-03-18 10:20:50 -07:00
Taras Glek
53e7be3128 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 09:53:34 -07:00
Taras Glek
c59c7d5701 Bug 477708 - backout previous numRects, getRect attempt r=vlad 2009-03-18 09:53:14 -07:00
Mats Palmgren
9cc610fb58 Initialize mColor to fix UMR. b=480032 r+sr=vladimir 2009-02-25 02:42:52 +01:00
Jonathan Kew
94391277aa Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
Arpad Borsos
8d7dec737d Bug 474369 - get rid of nsVoidArray; gfx part; r+sr=vladimir 2009-02-23 02:05:26 +01:00
Taras Glek
ed53b751bc Bug 477708 - expose nsIRegion::getrects() to scripts r=stuart 2009-02-10 15:10:07 -08:00
Arpad Borsos
e642432ec3 Bug 476805. Stop leak by avoiding double refs. r+sr=roc 2009-02-04 14:21:02 +01:00
Zack Weinberg
6333d75a8d Bug 455364. Add Thebes API to extract a subimage of an image into a new image. r=vlad 2009-02-05 21:14:07 +13:00
Arpad Borsos
51bf75177c Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
L. David Baron
f8774a93ef Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Brad Lassey
2f6351583f bug 462908 - Implement Freetype font backend for windows ce r=karlt, jdagget sr=stuart, vlad 2009-01-23 01:24:29 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Vladimir Vukicevic
627ce5ccc2 b=488685; cruft in GIF image; r=joe,roc 2009-04-21 21:33:37 -07:00
L. David Baron
8e85e47bd1 Make the Windows widget code report 24-bit color depth when the display driver reports 32, since it's the same number of bits per pixel. (Bug 466669) r=vlad 2008-12-23 09:06:56 -05:00
Martin Stránský
bbe42c7104 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
L. David Baron
c95d61afc0 Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Doug Turner
3bd692715b Bug 461860 - windows mobile fixes in gfx r+sr=vlad 2008-12-03 08:42:03 -05:00
Michael Ventnor
ae307da934 Bug 463938. Don't use nearest-neighbour sampling for downscaling; the X bug workaround is only needed for upscaling (we hope). r=vlad 2008-12-03 14:25:58 +13:00
Robert O'Callahan
b72f6882fb Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad 2008-12-03 09:46:44 +13:00
L. David Baron
9ff74e7abb Check that the user font set matches before returning an entry from the font cache. (Bug 457821) r=jdaggett sr=roc a=blocking1.9.1+ 2008-11-25 15:22:39 -08:00
L. David Baron
a245c3537e Back out 8d2453e98c3fc55ef6b02becf7a8e4d86a066e34 due to mac startup failures. 2008-11-25 15:08:29 -08:00
L. David Baron
e1fd81e8d3 Check that the user font set matches before returning an entry from the font cache. (Bug 457821) r=jdaggett sr=roc a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Robert O'Callahan
b781aa0ad5 Bug 456330. Fix translation to account for top/left padding. r=vlad 2008-11-07 13:56:57 +13:00
Robert O'Callahan
0d380f02a0 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Alfred Kayser
09825d7f45 Bug 422637 - "Merge nsColorNames into nsColor to have less public functions and less code" [r=vlad sr=roc] 2008-10-24 01:28:29 -05:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Vladimir Vukicevic
3b27944210 b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart 2008-10-09 14:49:15 -07:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Arpad Borsos
3da6ac3d8d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Karl Tomlinson
e8a84aa36e b=454718 Change return type of gfxPlatformGtk::DPI() from PRUint32 to double. r=roc 2008-09-16 10:29:36 +12:00
Arpad Borsos
067d8fcf17 Bug 454483 - Clean up unused variables in gfx/; r=vladimir; (with nits by sgautherie) 2008-09-15 15:46:07 +02:00
Doug Turner
a49e520740 Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Doug Turner
f199113b2e Bug 453480 - Detect OOM before creating a thebes img. r=vlad, sr=stuart 2008-09-03 16:07:36 -07:00
Brian Crowder
e5f30b8f9d Bug 422774 - reduce narrow Windows API calls in gfx, original patch by Brad Lassey <blassey@mozilla.com>, r=pavlov 2008-08-27 14:44:55 -07:00
Joe Drew
7f741a1112 Bug 446675 - "Remove BeOS port of gfx" [r=vlad] 2008-08-19 22:45:02 -05:00
Joe Drew
273aff6bab Bug 447693 - "Remove photon gfx port" (remove the photon GFX port) [r=vlad] 2008-08-19 03:17:03 -05:00
Serge Gautherie
ccf56a9222 Bug 450132 - "nsRenderingContextImpl.cpp(93) : warning C4101: 'buffer' : unreferenced local variable", r/sr=roc 2008-08-18 19:33:28 +02:00
Oleg Romashin
f60c5c61e0 Removed old embedding API
Removed old GLITZ stuff
2008-08-15 09:31:55 +03:00
Oleg Romashin
38e95b5eeb merge with mozilla-central 2008-08-16 03:39:26 -04:00
Simon Montagu
bb23c68e71 Prevent crash with long string of Indic characters. Bug 445711, r=pavlov 2008-08-14 11:20:46 +03:00
Simon Montagu
b0ca17eddd Bug 449577. Remove GetHints(), r+sr=roc 2008-08-11 18:19:01 +03:00
Oleg Romashin
12059d0133 mozilla-central merge 2008-08-08 13:05:00 +03:00
Vladimir Vukicevic
cec2aa1047 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
5666178bff (really) backing out d883ab4b8f41 2008-08-06 16:32:33 -07:00
Vladimir Vukicevic
67fa7ce818 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Oleg Romashin
dbbb2a81ec Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin
bc6cd35488 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Simon Montagu
5ab37eaa02 Remove unused ccmap files. Bug 445877, r+sr=dbaron 2008-07-20 11:37:00 +03:00
L. David Baron
b86e94a100 Fix generation of precompiled cmaps on 64-bit platforms to match what the code expects. (Bug 445626) r=smontagu 2008-07-17 16:37:12 -07:00
gavin@gavinsharp.com
96617b5a7b Followup comment fix for bug 434157 2008-05-27 11:22:38 -07:00
gavin@gavinsharp.com
005df97b32 Bug 434157: Font scaling of Vista doesn't work as good with RC1 than it did with Betas, patch by roc@ocallahan.org, r=vlad, a=beltzner 2008-05-27 10:57:04 -07:00
Vladimir Vukicevic
861b6a8679 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
vladimir@pobox.com
916af28b69 b=429915, color mismatch with 1x1 images (SetColor API broken) ; r=stuart, a=damon 2008-04-28 14:27:05 -07:00
caillon@redhat.com
15b26ea0b6 Bug 384090 - [GTK+] incorrect logical resolution for converting font sizes in pt, etc. Get the actual resolution used by GTK+/X instead of a best-guess based on screen dimensions r=Behdad Esfahbod, Owen Taylor sr=Robert O'Callahan a=Damon Sicore 2008-04-28 13:47:54 -07:00
Olli.Pettay@helsinki.fi
2e5ae015ff backout Bug 430465 2008-04-25 04:31:13 -07:00
roc+@cs.cmu.edu
914869aff7 Bug 430465. Don't round source coordinates in the tiled-image-drawing path. r=vlad,a=beltzner 2008-04-25 02:40:04 -07:00
romaxa@romaxa.research.nokia.com
56541781f4 Fixed wrong gfxPlatformQt include name 2008-04-19 20:16:59 +03:00
pekka.vanhoja
8455454401 Optimized font retrieval 2008-04-19 18:40:42 +03:00
romashin
2b78716c7a Updated to trunk 2008-04-19 18:40:12 +03:00
romashin
688967a8a9 Add question about QFontInfo usage 2008-04-19 18:40:07 +03:00
romashin
ba583e4595 Added QSystemFont implementation 2008-04-19 18:39:42 +03:00
romaxa@romaxa.research.nokia.com
7f26b5f88d Add initial fonts stuff for Qt port 2008-04-19 16:46:17 +03:00
romaxa@romaxa.research.nokia.com
bbb00db9ff Enabled building of gfxQtFonts and gfxQtPlatform for cairo-qt configuration 2008-04-19 16:19:04 +03:00
leon.sha@sun.com
767c62ace7 Bug 428903 There are debug information printed in release build. (nsThebesDeviceContext.cpp). vladimir: review+ vladimir: superreview+ beltzner: approval1.9+ 2008-04-15 20:27:03 -07:00
karlt+@karlt.net
f1354bea5a Use ceil instead of round in GetAveCharWidth and GetSpaceWidth for consistency with GetMaxAdvance. b=428458 r=pavlov sr=roc a1.9=damons 2008-04-15 16:34:06 -07:00
pavlov@pavlov.net
7c477e8860 bug 424386. return the correct depth rather than a hardcoded 24. r/a=vlad 2008-04-15 07:16:29 -07:00
dholbert@cs.stanford.edu
d4e585ef8e Bug 389949, first patch: Use POINTS_PER_INCH_FLOAT in place of magic number '72.0f'. Basically cosmetic -- shouldn't change our behavior at all. r+sr=vlad, a=blocking1.9+ 2008-04-07 17:27:10 -07:00
reed@reedloden.com
28beb983ed Bug 394103 - "All elements are HUGE (when doing dpi autodetect?)" (scale for 192+ dpi) [p=asac@jwsdot.com (Alexander Sack) r+sr=roc a1.9=schrep] 2008-04-01 01:41:21 -07:00
roc+@cs.cmu.edu
14c8d05caf Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad 2008-03-31 02:40:53 -07:00
mozilla@weilbacher.org
3ba4441f13 Bug 418104: Remove non-cairo Windows gfx code from the tree, removal of all obsolete files, r=alfredkayser, sr=pavlov, a=beltzner 2008-03-30 03:12:50 -07:00
masayuki@d-toybox.com
3ea5191188 Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner 2008-03-29 14:25:15 -07:00
reed@reedloden.com
601e529c06 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure. 2008-03-28 02:32:03 -07:00
reed@reedloden.com
7ffca204c7 Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+] 2008-03-28 01:40:02 -07:00
vladimir@pobox.com
c3bf671567 b=409953; deref of null pointer on cancel of print-to-file (ignoring errors during printing is bad, mmmkay?); r=stuart 2008-03-26 18:21:46 -07:00
pavlov@pavlov.net
13cfb3e1b1 backing out changes that weren't supposed to be part of my previous backout... 2008-03-26 14:13:32 -07:00
pavlov@pavlov.net
ec43cada45 backing out previous patch. 2008-03-26 13:24:37 -07:00
mozilla@weilbacher.org
8b253bd1c4 Bug 418105: Remove non-cairo Mac gfx code from the tree, r=joshmoz, sr=vladimir, a1.9=beltzner 2008-03-14 12:59:41 -07:00
reed@reedloden.com
dbeca7882f Bug 415854 - "make single-pixel optimization release surface memory" (remove ThebesPattern) [p=joe@drew.ca (Joe Drew [JOEDREW!]) r=vlad a=blocking1.9+] 2008-03-14 09:37:05 -07:00
reed@reedloden.com
af7413b17e Bug 422620 - "Remove NS_BrightenColor and NS_DarkenColor" [p=alfredkayser@gmail.com (Alfred Kayser) r=vlad a1.9=damons] 2008-03-14 09:27:14 -07:00
masayuki@d-toybox.com
75cfe2466f Bug 390901 CJK - font-name is not recognised correctly in preferences p=me+jdagett(mac part)+kerlt(fontconfig part) r=jdagett+me+stuart+mconnor b1.9=stuart 2008-03-13 03:32:50 -07:00
reed@reedloden.com
30f5471b69 Bug 385516 - "Console is spewed with WARNING: empty langgroup" (Add default constructor to gfxFontStyle and use it) [p=wasti.redl@gmx.net (Sebastian Redl) r=stuart a1.9=damons] 2008-03-12 03:52:58 -07:00
roc+@cs.cmu.edu
10c363c287 Bug 418428. Don't force devpixels to be an integer multiple of CSS pixels when printing on Windows. r=stuart 2008-03-11 17:35:00 -07:00
blassey@mozilla.com
3c99833e3e backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00