Граф коммитов

5163 Коммитов

Автор SHA1 Сообщение Дата
Kyle Huey 225c13b333 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field 646d79f2db Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field a6788f0842 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 83ae68494b Bug 620658: Add nsRegion::Contains(nsRegion). sr=roc 2011-01-26 00:26:37 -06:00
Olli Pettay bdb9553764 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 fc3314bc13 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 80c932200b 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 8129240876 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 be89ff2fde 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 665bd1fded 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 a352316479 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 87a38bca9b Bug 593604. Part 9: Support component alpha in ThebesLayerD3D9. r=bas,a=blocking 2011-01-03 14:48:09 +13:00
Benoit Jacob 2bc21d2789 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 f97135d66d Bug 613079 - WebGL crash [@mozilla::gl::GLContextProviderGLX::CreateOffscreen] - r=mattwoodrow, a=blocking-betaN 2010-12-06 06:34:34 -05:00
Ms2ger 78236f0f98 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 dfacbe1834 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 73fec40f97 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 326b51b986 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 6b981e0e94 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 34b76f12ed Bug 449734 part 3 - Update nsThebesDeviceContext::mWidget. r=roc a=blocking2.0:betaN 2010-09-18 13:28:50 +02:00
Oleg Romashin 8c88c718ff Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Daniel Holbert 5059980e47 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 a2c93af9b1 Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc 2010-09-03 15:10:46 -05:00
Chris Jones 6159af5262 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 491cf2d2ae Backed out changeset c5945b6a97ed 2010-08-19 19:03:09 -05:00
Chris Jones 7cba57c6bf 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 2a2db81c1a 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 3133bff6c6 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 c0a3a641e0 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 6f3648b4f2 Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Robert O'Callahan a4e6996a16 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Robert O'Callahan fe59073292 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 bcd5f25ef2 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 bd1872ca14 Bug 574454 - Add caption buttonbox css styles. r=dbaron. 2010-08-09 20:49:34 -05:00
Jim Mathies 85ca93692a 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) 16a0fba570 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 94e794fd91 Back out changeset ba9be0418b15 (bug 579963) because it didn't work. 2010-07-25 18:10:08 -05:00
Timothy Nikkel abc4f41212 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 bc67da304a 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 40a231016e 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 70d241a01e 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 0587a61cc8 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 eb465237e2 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 a995bc95dd 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 d34dd05fe1 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 2eec701d44 Back out 06cc16f7954e (bug 577224) because it can cause plugins to not draw. 2010-07-09 13:14:22 -07:00
timeless@mozdev.org faa330ac93 Bug 577224 nsCARenderer::DrawSurfaceToCGContext comparison between signed and unsigned integer expressions
r=BenWa
2010-07-07 12:08:22 +03:00
Saint Wesonga 4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga 8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benjamin Smedberg e17740e1ab 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 c7973f9c79 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 0df0345c66 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 a7e67d32ad 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 0978149cf3 Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga c81affe35c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
L. David Baron b6b9d51e5c 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 3fe2e6a8b0 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 aacc755259 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 9478c01a40 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 a3c64abed6 Limit drawing operations to the width/height of the IOSurface. b=570347 r=josh 2010-06-09 00:12:06 -04:00
Timothy Nikkel 91df098dd6 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 28e8c9d2d3 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 c52c114b11 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 9a32714af6 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 65f0ed93be 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 2fa027f646 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 9ed8166574 Attempt to fix bustage from b375e530a90b by adding parens to hopefully appease gcc. 2010-05-23 23:47:34 -04:00
Rob Arnold 41ac074713 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 e52ac354be 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 a59bbd8d1c 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 5fdce7cfb3 [OS/2] Bug 561596 - Add define to allow declspec to work, r=ventnor 2010-05-15 15:54:15 +03:00
Vladimir Vukicevic ccf47e65b5 bug 556420 - Add support for android to thebes r=joedrew 2010-05-11 13:27:36 -04:00
L. David Baron c4eb38acd9 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 51199c744b Bug 563607 Failed to build libthebes.so on OpenSolaris r=roc 2010-05-06 13:44:56 +08:00
timeless@mozdev.org 9e59b19399 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 f544d71a9d 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 806d5e0b7f 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 f3cdc36c53 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 aa22afa674 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Boying Lu ac2de1c8db Bug 560179 - Failed to build files under gfx/src/thebes/utils r=roc 2010-04-22 14:56:30 +02:00
Benoit Girard 65771400e0 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 3e049f0588 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 868b41f2d3 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 637993b364 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 8c37e47b39 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 cd34b8821b 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 b5f014533e bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Jonathan Kew b45694ede3 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 30883fb3f1 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 7a3339c3b1 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 365fbafa0d 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 05d8b622e5 bug 386937: get rid of ConvertPixels (r=vladimir) 2010-02-12 10:17:51 +01:00
Phil Ringnalda aad9286db4 Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Mats Palmgren 81dc5c2928 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 58e7e447d5 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 80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Daniel Holbert cc8f060f2b 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 b90db2ed10 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 1f63142174 Bug 480906: fix incorrect enum value mentioned in comment. r=roc 2009-12-14 10:35:46 +00:00
Mark Finkle a192286ef4 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 14e15631fb Bug 530931: Maemo shouldn't use the true DPI [r=roc] 2009-11-25 17:27:05 -05:00
Nirbheek Chauhan 649de0b0f2 Bug 528941 - Remove pangox.h includes. r=karlt 2009-11-18 14:20:15 +01:00
Honza Bambas c2225ded68 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 ab066e5278 Backout bug 426788 2009-09-29 17:32:54 +02:00
Honza Bambas 827ff8ba49 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 424fde4c5b Bug 518378: buttons and list boxes in content document are unreasonably large, r=dbaron 2009-09-26 20:21:32 -04:00
Mitchell Field 41c8798093 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02:00
Sylvain Pasche ab455408c7 Bug 517218 - Backout bug 515455 which didn't address the real issue. r=roc 2009-09-25 18:40:48 +02:00
Mark Finkle 290393eadd Bug 449283: DPI on n810 is incorrect, r=roc 2009-09-22 08:45:56 -04:00
Sylvain Pasche 20e86c2b27 Bug 515455 - "Backward compatibility when layout.css.devPixelsPerPx is an integer" [r=roc] 2009-09-10 14:43:41 -04:00
Chris Jones 9d0f93c04d bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad 2009-09-09 20:22:03 -05:00
Benjamin Smedberg 667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Sylvain Pasche 28b8e15f98 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 cdfd0a55e6 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 5cee56363b Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Jesse Ruderman e1c6eeae90 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg 36bc86429d 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 ba372f3a4c 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 0833142a5e b=509244; gfx crash on memory pressure notification; r=karlt 2009-08-14 16:51:30 -04:00
Hashem Masoud b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Joe Drew 2aa59235f2 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 1816bcdd46 Bug 499377 - Store float region on frame r+sr=roc 2009-07-14 22:19:31 -07:00
Rob Arnold df5d07b68d Bug 501475 - Remove nsPaletteInfo and friends. r=joe 2009-07-09 12:27:44 -07:00
Vladimir Vukicevic 662ffbc455 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 ccc387da9b 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 409b836fcf bug 503096 - always used FILTER_FAST for mobile r=jmuizelaar 2009-07-08 12:50:07 -04:00
Timothy Nikkel e5bf038da5 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 62901930d7 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 e8b1c6c506 Bug 498252 - Correct the font-size used in context menus, r=josh 2009-06-15 22:04:22 +02:00
Jonathan Kew 650956f4e7 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 f64a903399 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 c8a52af86a 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 6df221580d 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 c8a063a105 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 b3a5e760d6 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 b392bd31d0 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 5c2187ce10 Backed out changeset 836d5856f1e5 2009-05-08 14:34:49 +12:00
Jeff Muizelaar 381808375b 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 d9073e45b1 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 4184a11813 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 8d808221a7 Bug 482689. Optimize display lists for backgrounds. r/sr=roc 2009-04-08 08:19:51 -07:00
Jeremy D. Lea 9730c943dc Bug 419125 - Remove assert to fix bustage; 2009-04-08 12:48:34 -07:00
Jeremy D. Lea d481ca446b Bug 419125 - Part 3 - Merge nsRenderingContextImpl into nsThebesRenderingContext; r+sr=vlad 2009-04-08 11:40:32 -07:00
Jeremy D. Lea c0ab49bb1b Bug 419125 - Part 2 - Merge DeviceContextImpl into nsThebesDeviceContext; r+sr=vlad 2009-04-08 11:40:24 -07:00
Jeremy D. Lea b6186beddc Bug 419125 - Part 1 - Minour cleanups of nsThebesDeviceContext; r+sr=vlad 2009-04-08 11:40:12 -07:00
Jeff Muizelaar 52c97edf1e 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 84203c61ee 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 12c9d1e442 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 b4c172a882 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 db7246feb6 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 e823d73623 Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Jeremy D. Lea 0e51628bd3 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Robert Longson fb4afd4ad6 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 a5e1d36a0e Bug 483425 - memory leak fix + testcase r=vlad 2009-03-19 11:45:07 -07:00
Taras Glek 03957df515 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 11:42:07 -07:00
Taras Glek e5518c5104 Backed out changeset 9d34172f942f 2009-03-18 10:20:50 -07:00
Taras Glek 4228bce5c8 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 09:53:34 -07:00
Taras Glek adb0472423 Bug 477708 - backout previous numRects, getRect attempt r=vlad 2009-03-18 09:53:14 -07:00
Mats Palmgren cccd4ed473 Initialize mColor to fix UMR. b=480032 r+sr=vladimir 2009-02-25 02:42:52 +01:00
Jonathan Kew 526a0ca6e9 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 477b01155c Bug 474369 - get rid of nsVoidArray; gfx part; r+sr=vladimir 2009-02-23 02:05:26 +01:00
Taras Glek c24af569ee Bug 477708 - expose nsIRegion::getrects() to scripts r=stuart 2009-02-10 15:10:07 -08:00
Arpad Borsos 5a0cc7264d Bug 476805. Stop leak by avoiding double refs. r+sr=roc 2009-02-04 14:21:02 +01:00
Zack Weinberg a66146acfe 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 a7c1dec752 Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
L. David Baron 38d578f649 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 598810b6ec 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 4301671b45 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 424883d380 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 d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan 804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 065bde22f3 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 ce80f69254 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 7a7889cf19 b=488685; cruft in GIF image; r=joe,roc 2009-04-21 21:33:37 -07:00
L. David Baron bac01a39da 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ý 5f8aedcf13 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 dea545b65e backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský 7d9de4223a 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 2dccf4784c 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 958c994fd3 Bug 461860 - windows mobile fixes in gfx r+sr=vlad 2008-12-03 08:42:03 -05:00
Michael Ventnor 2c0bdc7607 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 2356d63883 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 9d19739d81 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 c914459998 Back out 8d2453e98c3fc55ef6b02becf7a8e4d86a066e34 due to mac startup failures. 2008-11-25 15:08:29 -08:00
L. David Baron 29208d6cc4 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 ee00d290e8 Bug 456330. Fix translation to account for top/left padding. r=vlad 2008-11-07 13:56:57 +13:00
Robert O'Callahan f27247750a Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Phil Ringnalda 538c9fb42a 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 180926bbd1 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 c72ef7d248 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 52af527d8c 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 37c61248d6 Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Arpad Borsos 02e588847d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Robert O'Callahan a39e457b50 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea 4527d5d1a8 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 5dbf5690ac Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea 7261376c29 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 b4a177d1bd b=454718 Change return type of gfxPlatformGtk::DPI() from PRUint32 to double. r=roc 2008-09-16 10:29:36 +12:00
Arpad Borsos ba7ea37460 Bug 454483 - Clean up unused variables in gfx/; r=vladimir; (with nits by sgautherie) 2008-09-15 15:46:07 +02:00
Doug Turner 45e735c1b7 Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Doug Turner 6eb295f797 Bug 453480 - Detect OOM before creating a thebes img. r=vlad, sr=stuart 2008-09-03 16:07:36 -07:00
Brian Crowder abfb506004 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 b17c9987f2 Bug 446675 - "Remove BeOS port of gfx" [r=vlad] 2008-08-19 22:45:02 -05:00
Joe Drew e990b5a05f Bug 447693 - "Remove photon gfx port" (remove the photon GFX port) [r=vlad] 2008-08-19 03:17:03 -05:00
Serge Gautherie fd593fb72f Bug 450132 - "nsRenderingContextImpl.cpp(93) : warning C4101: 'buffer' : unreferenced local variable", r/sr=roc 2008-08-18 19:33:28 +02:00
Oleg Romashin d38312ab76 Removed old embedding API
Removed old GLITZ stuff
2008-08-15 09:31:55 +03:00
Oleg Romashin 4490c66152 merge with mozilla-central 2008-08-16 03:39:26 -04:00
Simon Montagu 41c5cf4f91 Prevent crash with long string of Indic characters. Bug 445711, r=pavlov 2008-08-14 11:20:46 +03:00
Simon Montagu 0d19165bc2 Bug 449577. Remove GetHints(), r+sr=roc 2008-08-11 18:19:01 +03:00
Oleg Romashin 75fc2387ae mozilla-central merge 2008-08-08 13:05:00 +03:00
Vladimir Vukicevic 298b275851 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Vladimir Vukicevic 25088ea826 (really) backing out d883ab4b8f41 2008-08-06 16:32:33 -07:00
Vladimir Vukicevic 0845cd7905 [dfb,422221] Gtk/DirectFB port core; patches from dfb tree, r=vlad 2008-08-06 13:48:55 -07:00
Oleg Romashin e8436023c1 Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin 427aa3fb16 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Simon Montagu 487f974d7a Remove unused ccmap files. Bug 445877, r+sr=dbaron 2008-07-20 11:37:00 +03:00
L. David Baron 1a4e7239ca 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 3e96d13d8f Followup comment fix for bug 434157 2008-05-27 11:22:38 -07:00
gavin@gavinsharp.com 537d867b5d 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 71d470b9e7 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
vladimir@pobox.com fb8045c358 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 d8a2681e82 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 b0e60a1166 backout Bug 430465 2008-04-25 04:31:13 -07:00
roc+@cs.cmu.edu 149a451e70 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 5226049974 Fixed wrong gfxPlatformQt include name 2008-04-19 20:16:59 +03:00
pekka.vanhoja f135d0fa8d Optimized font retrieval 2008-04-19 18:40:42 +03:00
romashin 865e144884 Updated to trunk 2008-04-19 18:40:12 +03:00
romashin 72130018be Add question about QFontInfo usage 2008-04-19 18:40:07 +03:00
romashin 964882af23 Added QSystemFont implementation 2008-04-19 18:39:42 +03:00
romaxa@romaxa.research.nokia.com 863ea5db54 Add initial fonts stuff for Qt port 2008-04-19 16:46:17 +03:00
romaxa@romaxa.research.nokia.com 4443878b3b Enabled building of gfxQtFonts and gfxQtPlatform for cairo-qt configuration 2008-04-19 16:19:04 +03:00
leon.sha@sun.com 2f610dc9f0 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 2165298cda 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 f7514f2108 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 177ed1bc66 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 27b9731fc1 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 421ea5a76e 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 23e070d286 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 3b28b33c93 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 9daab6c56d 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 dbbcc3c1e1 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 79d1a9ec4b 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 b0fa4a1a3e 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 135b89a2f5 backing out previous patch. 2008-03-26 13:24:37 -07:00
mozilla@weilbacher.org 5a55d3fa52 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 f19262cadb 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 5ec1e7bf1b 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 2d15463f40 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 be5cf144bf 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 f693027226 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 6cc9d5a4ed backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com ff89c4a3fb switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
mozilla@weilbacher.org 83b35de7f5 [OS/2] Bug 369791: adapt plugin code to compile with cairo-os2, this in principle allows plugin content to be printed and windowless plugins to display, r=mkaply, a1.9+=damons 2008-03-10 17:10:55 -07:00
roc+@cs.cmu.edu b85eb999a0 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
roc+@cs.cmu.edu 17ebdab033 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu 2c9f274033 Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 00:34:12 -08:00
vladimir@pobox.com c325e922a7 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
blassey@mozilla.com 81d841c1fc backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com dfd26f92ec switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
roc+@cs.cmu.edu d5b5fd63c2 Backing out 403181 again 2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu ffb68f7a15 Bug 403181. Track which subimage of an image we want to draw and copy it to a temporary surface if necessary to prevent sampling of pixels outside the subimage when zooming. Also, enable EXTEND_PAD or SetFilter(0) if the context has a transformation that's not a simple translation, since that might induce cairo to sample pixels outside the source (sub)image. r=vlad,sr=dbaron 2008-03-04 00:21:34 -08:00
mozilla@weilbacher.org cdeb9ccbe5 [OS/2] Bug 420438: Enable better image scaling on OS/2, r=wuno@lsvw, a1.9b4=beltzner 2008-03-03 01:26:08 -08:00
roc+@cs.cmu.edu 67c8b1e808 Bug 403181 backout 2008-03-02 18:38:19 -08:00
roc+@cs.cmu.edu 8e907ad002 Bug 403181. Use a temporary surface to prevent sampling of pixels outside the intended source rectangle when zooming the image in some cases. r=vlad,sr=dbaron,a=beltzner 2008-03-02 17:01:14 -08:00
reed@reedloden.com 6348713693 Bug 419927 - "Re-enable smooth downscaling under Linux" [p=bill@wg9s.com (Bill Gianopoulos) r=vlad a1.9b4=beltzner] 2008-02-28 02:26:40 -08:00
roc+@cs.cmu.edu 015af08fd4 Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron 2008-02-27 01:46:22 -08:00
reed@reedloden.com 37e0037e5e Bug 410114 - "Simplify nsTransform2D" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons] 2008-02-26 01:42:36 -08:00
vladimir@pobox.com 5997381ace b=418494; use SOURCE instead of OVER when source has no transparency; r=stuart 2008-02-23 16:59:49 -08:00
vladimir@pobox.com 345dc2a2b7 b=381661, reenable bilinear image filtering [mq]: 381661-enable-bilinear.patch ; r=stuart 2008-02-23 14:30:57 -08:00
mozilla@weilbacher.org 7ed1ca89ae Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner 2008-02-21 00:37:27 -08:00
mozilla@weilbacher.org 4c60ecfb31 Bug 415686: remove FONT_LEADING_APIS_V2 ifdefs which are no longer useful for cairo builds. Also remove related functions and tests. r/sr=dbaron, r=pavlov, a=beltzner 2008-02-19 11:41:56 -08:00
jag@tty.nl 05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu 70f89157e7 Bug 374141. When printing on Windows, use an effective DPI of 144 instead of whatever the printer is. This makes native theme pixels be a reasonable size. r=stuart 2008-02-17 13:23:37 -08:00
vladimir@pobox.com 59d366fe0d b=416181, animated image used as repeated background broken ; r=stuart 2008-02-13 22:51:58 -08:00
jruderman@hmc.edu e2ea4015d1 Move test out of a directory that is doomed for removal 2008-02-08 01:00:21 -08:00
vladimir@pobox.com 7179b89d8f b=371867, severe performance regression on FAA flight status page, r=stuart (relanding) 2008-02-07 11:44:09 -08:00
mozilla.mano@sent.com c900ba7e20 Backing out bug 371867 again 2008-02-06 17:43:37 -08:00
mozilla.mano@sent.com 623f3f1f0b Relanding bug 406686 2008-02-06 16:55:55 -08:00
mozilla.mano@sent.com 4187681eee Backing out bug 414802 2008-02-06 16:19:13 -08:00
vladimir@pobox.com 38c21586b8 b=371867, optimize same-color images, r=stuart 2008-02-06 13:22:54 -08:00
vladimir@pobox.com 5533ef53f6 b=414685, optimize mac image decoding and rendering ; r=stuart 2008-02-05 22:48:47 -08:00
mozilla@weilbacher.org 38278a2255 [OS/2] Bug 394412: fix scaling issues and add support for pagination, so that printing now works in principle. (OS/2 only, NPOTB) 2008-02-04 01:31:05 -08:00
mozilla@weilbacher.org 1069bee8f5 [OS/2] Bug 394412: on the way to be able to print through cairo 2008-01-29 16:16:19 -08:00
vladimir@pobox.com 61b709983c re-landing; b=412396, speed up mac image rendering while images are being loaded, r=stuart 2008-01-28 11:05:44 -08:00
vladimir@pobox.com ab954de041 backing out 412396 in an attempt to fix linux orange 2008-01-27 19:04:40 -08:00
vladimir@pobox.com dc58eb9308 b=412396, jpeg decoding/painting slower on trunk vs. branch while loading; r=stuart 2008-01-27 15:53:24 -08:00
mozilla@weilbacher.org a47fdbbc92 Bug 376790: remove support for non-cairo GFX ports from configure.in, r=ted.mielczarek, a=mtschrep 2008-01-23 00:27:47 -08:00
roc+@cs.cmu.edu a6eef42610 Bug 400813. Prevent nsRect::Deflate from creating negative-sized rectangles. r+sr=mats 2008-01-20 17:36:12 -08:00
vladimir@pobox.com 7373b4fb62 b=408538, crash in ThebesDrawTile with null surface, r=stuart 2008-01-10 14:13:13 -08:00
reed@reedloden.com f9ee4eb39f Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
reed@reedloden.com ea9e5ead9e Bug 383166 - "stack-allocate gfxContext where possible" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+a1.9=stuart] 2007-12-31 20:42:49 -08:00
reed@reedloden.com 286159a6e0 Back out Alfred Kayser's patch from bug 383166 due to Ts regression. 2007-12-31 15:41:12 -08:00
reed@reedloden.com b36e276526 Bug 383166 - "stack-allocate gfxContext where possible" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+a1.9=stuart] 2007-12-31 12:46:27 -08:00
reed@reedloden.com c865d914b1 Bug 408812 - "AIX Compilation error for trunk build source nsThebesRegion.cpp : ./dist/include/gfx/nsRegion.h", line 85.18: 1540-0723 (S) The inline function "void operator delete(void *, size_t)" is referenced, but it is not defined" [p=shailen.n.jain@gmail.com (Shailen) r=vlad a1.9=beltzner] 2007-12-24 20:37:44 -08:00
mark@moxienet.com 8f76920517 409066 sNativeRegionPool visibility is wrong in libgkgfx. Decorate with visibility at declaration. Old gfx, not part of current trunk builds. r=ted.mielczarek a/1.9=beltzner 2007-12-20 14:52:45 -08:00
vladimir@pobox.com 2e94f56ef2 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
jruderman@hmc.edu 678a5fc619 Add a few crashtests. 2007-12-12 22:44:00 -08:00
jruderman@hmc.edu d498c2f553 Add crashtest for bug 306902 (the first crashtest!) 2007-12-11 18:26:35 -08:00
mozilla@weilbacher.org 39bcc6dd04 [OS/2] Bug 407524: Enable PDF surface on OS/2, r=ted.mielczarek 2007-12-11 13:49:27 -08:00
reed@reedloden.com bb7ee7e456 Bug 364221 - "[cairo] bad page scrolling performance with large background images" [p=alfredkayser@nl.ibm.com (Alfred Kayser) / vladimir@pobox.com (Vladimir Vukicevic [vlad]) r=stuart sr=tor a=blocking1.9+] 2007-11-27 01:35:18 -08:00
vladimir@pobox.com a60aa05c8c b=379430, print preview hangs X, r+sr=roc,a=schrep 2007-11-26 16:20:52 -08:00
karlt+@karlt.net e683f4ac9b Bug 324857 - MathML all screwed up in Cairo builds: implement nsIRenderingContext::GetBoundingMetrics() p=steve.swanson@mackichan.com and karlt, r=pavlov a=blocking1.9+ 2007-11-11 20:39:17 -08:00
reed@reedloden.com 6adc9d9130 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-08 22:27:23 -08:00
reed@reedloden.com c680daf50e Backout roc's patch for bug 385417, as it most likely caused bug 402990 and the numerous test failures. 2007-11-07 23:41:06 -08:00
reed@reedloden.com bcefd60351 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-07 20:31:33 -08:00
pavlov@pavlov.net feda92f784 bug 143046. Keep GIFs at original 8bit. patch from Alfred Kayser <alfredkayser@nl.ibm.com>. r=me sr=tor 2007-11-07 13:33:57 -08:00
vladimir@pobox.com 1169f76b95 b=384681, cairo only has 16 bit coordinate space followup patch, r=stuart, aM9=drivers 2007-10-29 12:37:59 -07:00
jdaggett@mozilla.com a2f4cc4bdc Bug 328258. Prevent images larger than 32K pixels in height from loading to workaround Quartz bug. r=pavlov,vlad, a=beltzner 2007-10-23 23:01:16 -07:00
reed@reedloden.com b832c7532f Bug 391295 - "APNG blending mode APNG_BLEND_OP_SOURCE not implemented" [p=asmith15@littlesvr.ca (Andrew Smith) r=stuart a1.9=damons] 2007-10-23 12:33:20 -07:00
benjamin@smedbergs.us 190309e089 Bug 398566 - Set MOZ_FIX_LINK_PATHS unconditionally, r=luser a=sayrer 2007-10-13 14:13:50 -07:00
reed@reedloden.com cb2d941707 Bug 394279 - "nsRect::Contains() should always succeed if the parameter rect is empty" [p=bugspam.Callek@gmail.com (Justin Wood [Callek]) r+sr=roc a1.9=mconnor] 2007-10-12 16:12:16 -07:00
reed@reedloden.com 42fcd7ecd6 Bug 386065 - "legend {font-size:0;} still shows the text (yahoo.com mainpage)" [p=chris@pearce.org.nz (Chris Pearce) r+sr=roc a=blocking1.9+] 2007-10-11 21:22:25 -07:00
dbaron@dbaron.org c53e7acdd2 Remove nsFontList/nsIFontList. b=397813 r+sr+a1.9=pavlov 2007-10-07 22:01:49 -07:00
vladimir@pobox.com c136f6a88b b=366548, increased GDI usage leading to repainting problems, r/a=stuart 2007-10-03 14:27:42 -07:00
reed@reedloden.com 9df677a0a0 s/ifeq/ifneq/ to make the check for only Cocoa instead of non-Cocoa (fallout from bug 397834). 2007-10-02 01:26:15 -07:00
reed@reedloden.com 264c4a2f45 Possible bustage fix for bug 397834. 2007-10-02 00:58:05 -07:00
reed@reedloden.com 735dd8c906 Bug 397834 - "Clean up gfx and gfx/src makefiles" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=roc] 2007-10-02 00:39:20 -07:00
reed@reedloden.com 24958ce76a Bug 367281 - "Remove SetImageData/SetAlphaData from gfxImageFrame" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r=stuart sr=tor a1.9=stuart] 2007-09-30 20:32:40 -07:00
dbaron@dbaron.org b9d0f43074 Remove freetype2 code, which was used only by the old gfx code. b=389697 r+a1.9=vlad 2007-09-27 13:44:51 -07:00
vladimir@pobox.com 847a977dc2 b=377336, win32 printing page results in excessive data spooled to printer, for real this time, r=stuart 2007-09-24 15:50:44 -07:00
roc+@cs.cmu.edu 9972360428 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
mats.palmgren@bredband.net 702ba6d4be [OS/2] Remove non-cairo OS2 gfx code from the tree. b=389729 r=mozilla@Weilbacher.org 2007-09-08 09:22:56 -07:00
mozilla@weilbacher.org 4adf4789a6 [OS/2] Bug 381330: use font resolution instead of screen resolution for system fonts 2007-08-31 11:24:49 -07:00
philringnalda@gmail.com f5b9eb6a9f Bug 298717 - Crash on multipart/x-mixed-replace: gif,jpeg,jpeg sequence [@ nsJPEGDecoder::OutputScanlines][@ gdk_rgb_convert_0888][@ gdk_rgb_init], patch by andrew smith <asmith15@learn.senecac.on.ca>, r+sr=pavlov, a1.9=itsablocker 2007-08-25 21:38:17 -07:00
asqueella@gmail.com b5dc24de40 Bug 216682 - Eliminate DrawToImage p=Alfred Kayser <alfredkayser@nl.ibm.com> r=tor, sr=pavlov, a=pavlov 2007-08-25 12:18:44 -07:00
dolske@mozilla.com 1f2861b054 Bug 384041: "we can't do this with the old image code" in console. p=rich@rd.gen.nz, r=vlad, a=vlad 2007-08-23 17:53:58 -07:00
masayuki@d-toybox.com 90e1680486 b=392252 fix bustage 2007-08-22 04:30:32 -07:00
masayuki@d-toybox.com a20d56bd8d Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
vladimir@pobox.com 87c819d510 b=391583, DoesARGBImageDataHaveAlpha is slow, r=stuart,a=me 2007-08-17 12:54:58 -07:00
joshmoz@gmail.com 4c55c63e1a Fix font size for submit and file input buttons. b=262191 sr=vlad 2007-08-10 20:22:58 -07:00
vladimir@pobox.com fd5e5e7f40 b=390668, crash in gfxASurface::GetType (_moz_cairo_scaled_font_status and others), often using drawWindow 2007-08-09 11:54:17 -07:00
sharparrow1@yahoo.com 6ceabe612e Bug 389938 - Full page zoom does not affect text with CSS font set to message-box. r+sr=roc, a=pavlov 2007-08-03 16:39:37 -07:00
sharparrow1@yahoo.com 3872d6defc Bug 390039: antialiasing incosistent when using full page zoom. r=vlad, a=pavlov 2007-08-03 16:37:17 -07:00
sharparrow1@yahoo.com bae72986cf Bug 389459: lines appear when scrolling page while image loading at >144 dpi. r=vlad, a19=dbaron 2007-08-02 14:03:30 -07:00
sharparrow1@yahoo.com 0881e734d3 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
sharparrow1@yahoo.com 10b3e425ee Bug 376124: Some rounding fixes related to a scrolling paint bug. r=vlad 2007-07-25 10:19:40 -07:00
dbaron@dbaron.org 165c686649 Move the code needed to get language group-specific font enumeration working and remove the rest of nsFontConfigUtils. b=379888 r=vlad 2007-07-17 14:58:45 -07:00
benjamin@smedbergs.us cc074e3032 Bug 386445 - mac build stops with "multiple definitions of symbol nsINIParser::GetSrings", also changes to building mac dylibs with -single_module, r=luser,jag 2007-07-11 10:26:11 -07:00
sharparrow1@yahoo.com 0b4640e466 Bug 382595: Lines across embedded svg when scrolling. Followup rounding fix. r+sr=roc 2007-07-08 22:04:01 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
mats.palmgren@bredband.net 8472e864db Remove non-cairo PostScript support. b=385577 r=kherron sr=pavlov 2007-07-05 04:29:51 -07:00
roc+@cs.cmu.edu 2fbe7e618c Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu 2007-07-03 20:39:01 -07:00
longsonr@gmail.com 7ed2d8873d Bug 383872 - invalid image height assertion with svg foreignObject element, background image, height: 0.5px. r=vladimir,sr=roc 2007-07-03 01:53:03 -07:00
benjamin@smedbergs.us f1593a410c Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi 2007-07-02 11:20:24 -07:00
sharparrow1@yahoo.com 5a332b3718 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
sharparrow1@yahoo.com 2b58733f14 Bug 385937: Remove nsIBlender. (forgot to remove this) 2007-06-27 13:13:37 -07:00
sharparrow1@yahoo.com 4dd8605134 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
sharparrow1@yahoo.com 75240bc266 Bug 385923: Remove unused code from nsRenderingContextImpl. rs=pavlov. 2007-06-26 17:24:56 -07:00
benjamin@smedbergs.us b21f7b3a04 Reverting bug 383167 again for linux test bustage :-( 2007-06-26 12:22:51 -07:00
benjamin@smedbergs.us c93d1d5be6 Bug 383167 trying again, reviews by luser and biesi, sr=jst 2007-06-26 09:35:01 -07:00
benjamin@smedbergs.us d782232066 Revert all of bug 383167 changes because they're not enough... going to try again later. 2007-06-25 11:40:57 -07:00
benjamin@smedbergs.us 7b42bb19aa Bug 383167 - Need buildid in an external file, r=luser sr=jst 2007-06-25 08:25:59 -07:00
kherron@fmailbox.com 23f45a514a Bug 383853 - Leak in nsThebesDeviceContext when printing. r+sr=roc. 2007-06-16 12:33:50 -07:00
mats.palmgren@bredband.net df0f128cb1 Bye bye non-cairo GTK gfx. b=383889 r+sr=vladimir 2007-06-15 19:13:52 -07:00
mats.palmgren@bredband.net 266f784855 Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
joshmoz@gmail.com e706c28243 use a smaller button font size by default on Mac OS X. b=262191 r/sr=roc 2007-06-12 14:51:10 -07:00
leon.sha@sun.com d6e26e13b4 Bug 342946. The font of the menu will not change with ths gnome application font.Patch by leon.sha@sun.com.roc: review+roc: superreview+ 2007-06-11 22:29:20 -07:00
roc+@cs.cmu.edu 634328ee72 Bug 383547. Convert font height, ascent, descent and max-advance to integers conservatively. r=pavlov 2007-06-10 16:04:27 -07:00
mozilla@weilbacher.org 58a7060568 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc 2007-06-10 15:13:08 -07:00
mats.palmgren@bredband.net 7986618f16 Fix GCC build error. b=363592 r=mkaply sr=benjamin 2007-06-08 05:05:29 -07:00
joshmoz@gmail.com b63a0df8e1 use a smaller system font for eSystemFont_List on Mac OS X. b=262191 r=smorgan sr=roc 2007-06-02 15:17:23 -07:00
vladimir@pobox.com 4668da5aa9 b=364968, cairo big-image downscaling limit dest coord psace (corrupt favicon tab images), r+sr=roc 2007-05-30 01:22:05 -07:00
vladimir@pobox.com a2c11c6811 b=364968, cairo big-image downscaling limit dest coord psace (corrupt favicon tab images), r+sr=roc 2007-05-30 01:20:40 -07:00
mozilla@weilbacher.org 000ff10710 [OS/2] Bug 381330: improve system font handling.- use the font name as read from OS2.INI to determine font properties- better comment nsSystemFontsOS2::GetSystemFont()- fix debugging typo (+1) left by mistake in earlier checkin 2007-05-28 16:49:06 -07:00
mozilla@weilbacher.org 7b8e61ec4b [OS/2] Bug 381330: improve system font handling.Convert system units (pt) to Gecko units (px).Remove unnecessary function GetSystemFontInfo(), everything can be done inside GetSystemFont() directly. 2007-05-28 09:28:11 -07:00
vladimir@pobox.com 2b94255243 b=375047, fragile pango initialization, r=roc 2007-05-22 20:57:34 -07:00
vladimir@pobox.com 4d4b46fc4b b=324698, disable bilinear filtering for upscaled images (upscaling causes misrendering), r=roc 2007-05-22 20:54:38 -07:00
sharparrow1@yahoo.com 53b5d6bd32 Relanding bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc. 2007-05-22 20:45:59 -07:00
sharparrow1@yahoo.com 200370c700 Backing out due to red tree. 2007-05-22 18:57:41 -07:00
sharparrow1@yahoo.com 36e7d7017d Bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc 2007-05-22 18:42:36 -07:00
jminta@gmail.com 5f133ddc08 Bug 377717 Remove 'decorations' and 'variant' from gfxFontStyle, r=pavlov 2007-05-20 19:18:04 -07:00
mozilla@weilbacher.org 48727bd7f1 [OS/2] Bug 371504: Makefile additions for Thebes on OS/2, r=vlad 2007-05-20 06:28:09 -07:00
dbaron@dbaron.org 6da5095394 Account for non-pixel-aligned current transforms when snapping to pixel coordinates. b=369882 r=vlad 2007-05-14 22:15:45 -07:00
mats.palmgren@bredband.net b3b5d084fc Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
vladimir@pobox.com 17fdb786db X11 needs to be taken out behind the barn and shot, r=me 2007-05-10 13:50:16 -07:00
vladimir@pobox.com 1f64321330 371135, oom crashers with big images, r=stuart 2007-05-10 12:58:09 -07:00
roc+@cs.cmu.edu b5e9afb0bb Bug 375760. Implement new textrun cache: gfxTextRunCache (base cache which leaves textrun lifetime management to the client) and gfxGlobalTextRunCache (cache which manages textrun lifetimes using nsExpirationTracker). r=vlad 2007-05-09 13:33:16 -07:00
roc+@cs.cmu.edu d99fda4f3e Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-08 15:46:14 -07:00
kjh-5727@comcast.net bc93bea324 Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi. 2007-05-06 04:29:41 -07:00
sayrer@gmail.com 27f78a22b3 backout patch for bug 375760 due to bustage. 2007-05-04 21:47:05 -07:00
roc+@cs.cmu.edu 2898af075d Bug 375760. Make a number of small changes to the gfxTextRun/gfxFont/gfxFontGroup APIs. r=vlad 2007-05-04 19:16:16 -07:00
mats.palmgren@bredband.net 781088d843 Bye bye gtk1 and xlib (part 2 of 2). b=326152 r+sr=roc 2007-05-02 17:10:01 -07:00
mats.palmgren@bredband.net c712869d45 Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 16:52:44 -07:00
stuart.morgan@alumni.case.edu 1610a12b60 Bug 306902. r=josh sr=smfr a=dveditz 2007-04-21 20:10:51 -07:00
dbaron@dbaron.org 9b013dc30a Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
vladimir@pobox.com 27d4adde0b b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 18:09:15 -07:00
vladimir@pobox.com 59d304bf29 b=374272, browser crashes when viewing page with many animated gifs, r=stuart 2007-04-02 12:57:58 -07:00
tor@cs.brown.edu 110d3b36d6 Bug 375446 - Create gfxFontGroup factory method. r=vlad 2007-04-02 12:06:16 -07:00
roc+@cs.cmu.edu 15a6f2e807 Bug 375824. Centralize Thebes startup/shutdown sequence. r=vlad 2007-03-29 14:48:46 -07:00
joshmoz@gmail.com 8461ddf036 fix crash when printing on Mac OS X. Re-ordered the calls in nsThebesDeviceContext::BeginPage so that the PrintManager calls get done in the right order (BeginPage, GetCGContext, EndPage). Patch by Colin Barrett. b=375495 r/sr=pav 2007-03-27 22:08:25 -07:00
dbaron@dbaron.org e7bb1b1c38 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
joshmoz@gmail.com 69336f5dcb followup for fix to bug 371392, forgot to get rid of the header declaration for a variable I killed. b=371392 r/sr=biesi 2007-03-27 01:53:08 -07:00
joshmoz@gmail.com 96c071174a get rid of old backbuffer API and related code. b=371392 r/sr=roc 2007-03-26 23:21:55 -07:00
hg@mozilla.com 05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
maxf%magma.ca 4573b68c1a (I'm moving changes made on the MOZILLA_1_8_BRANCH to HEAD)
This change is for the QNX (Photon) platform only. It will not affect the
runtime or build of other Mozilla platforms since QNX source is not part of
Tinderbox builds. You can contact me at: mfeil@qnx.com

This change fixes compile errors when building Firefox under QNX Neutrino.
None of the changes should affect non-QNX builds in any way. r=amardare%qnx.com
2007-03-21 19:22:44 +00:00
dbaron%dbaron.org 5d8e67e815 I got the nsRect and gfxRect APIs confused. b=374715 r=vlad 2007-03-21 19:04:38 +00:00
dbaron%dbaron.org 405d600298 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc 2007-03-20 00:58:20 +00:00
dbaron%dbaron.org 367d5607f1 Fix various shutdown leaks. Add static Shutdown method to gfxPlatform as the entry point for thebes cleanup and use the virtual destructor of the platform-specific gfxPlatform objects to do platform-specific cleanup. b=374286 r=vlad 2007-03-19 23:16:15 +00:00
mozilla%weilbacher.org 776516dd1d [OS/2] fix build break in gfx/src/thebes following bug 369930 by implementing nsThebesDeviceContext::SetDPI() for OS/2 2007-03-10 17:48:27 +00:00