5814 Commits

Author SHA1 Message Date
blassey%mozilla.com
8ccd9a7db0 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
git-svn-id: svn://10.0.0.236/trunk@247573 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 21:49:58 +00:00
karlt+%karlt.net
3eeb7c6d89 Bug 421955. combining mark at start of text run rendered as NUL hex box or
garbage. r=roc, a1.9=damons


git-svn-id: svn://10.0.0.236/trunk@247523 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 07:04:31 +00:00
mozilla%weilbacher.org
d72cdfbda2 [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
git-svn-id: svn://10.0.0.236/trunk@247512 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:10:56 +00:00
roc+%cs.cmu.edu
16d1fe338a 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
git-svn-id: svn://10.0.0.236/trunk@247448 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 21:55:08 +00:00
bmlk%gmx.de
aa6eb68cc2 There is no height greater than unconstrained height, bug 402872, r/sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247360 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 09:12:30 +00:00
roc+%cs.cmu.edu
29d568ceb9 Backing out Bug 403181. JPEG encoding test failure :-(
git-svn-id: svn://10.0.0.236/trunk@247295 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 09:28:36 +00:00
roc+%cs.cmu.edu
51477fde2d 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
git-svn-id: svn://10.0.0.236/trunk@247294 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 08:34:14 +00:00
vladimir%pobox.com
5c4545265b b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad
git-svn-id: svn://10.0.0.236/trunk@247179 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 06:51:15 +00:00
jdaggett%mozilla.com
a9d62aa4cb Bug 421135. Fix typo in setting of mLastPrefFirstFont. r+sr=vlad
git-svn-id: svn://10.0.0.236/trunk@247157 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 01:47:33 +00:00
blassey%mozilla.com
ca294d36ae backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox
git-svn-id: svn://10.0.0.236/trunk@247139 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 22:56:48 +00:00
blassey%mozilla.com
e7090aa85c switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247132 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 21:39:35 +00:00
vladimir%pobox.com
9cbf80703d b=421017; upgrade cairo to 1.5.12-14-gd89edde -- additional fixes ; r=me
git-svn-id: svn://10.0.0.236/trunk@247072 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 05:45:09 +00:00
vladimir%pobox.com
41cb894b98 b=421017; upgrade cairo to 1.5.12-11-g2f93504 ; r=me
git-svn-id: svn://10.0.0.236/trunk@247071 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 05:44:56 +00:00
jdaggett%mozilla.com
f31f25c80f Bug 420822. Missing 500 weight font should fallback to lighter weights. r+sr=stuart
git-svn-id: svn://10.0.0.236/trunk@246989 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 10:24:32 +00:00
roc+%cs.cmu.edu
3541027b94 Backing out 403181 again
git-svn-id: svn://10.0.0.236/trunk@246987 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 09:36:09 +00:00
roc+%cs.cmu.edu
1fcc1c8c17 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
git-svn-id: svn://10.0.0.236/trunk@246985 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 08:21:36 +00:00
roc+%cs.cmu.edu
dbe04c7211 Bug 419095 crashtest
git-svn-id: svn://10.0.0.236/trunk@246973 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 02:42:11 +00:00
roc+%cs.cmu.edu
10f136072c Crashtest for bug 416637
git-svn-id: svn://10.0.0.236/trunk@246972 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 02:37:35 +00:00
jdaggett%mozilla.com
16cd8505d9 Bug 419757. Cache codepoints for which no font matches on windows. r+sr=stuart
git-svn-id: svn://10.0.0.236/trunk@246971 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 02:34:06 +00:00
roc+%cs.cmu.edu
29eddabda9 Bug 416637. There might be some skipped characters before standalone combining marks at the start of a textrun. r=vlad
git-svn-id: svn://10.0.0.236/trunk@246970 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 02:30:20 +00:00
mozilla%weilbacher.org
9979447bed [OS/2] Bug 420438: Enable better image scaling on OS/2, r=wuno@lsvw, a1.9b4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246911 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 09:26:08 +00:00
roc+%cs.cmu.edu
7a0c37ad37 Bug 403181 backout
git-svn-id: svn://10.0.0.236/trunk@246891 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 02:38:21 +00:00
roc+%cs.cmu.edu
9e7fc92f64 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
git-svn-id: svn://10.0.0.236/trunk@246889 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 01:03:54 +00:00
joshmoz%gmail.com
9a0c8c50ec always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246813 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 23:24:55 +00:00
vladimir%pobox.com
f78851742b b=419383, extract native vista toolbar styles and expose to themes ; r+sr=roc; a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246779 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 05:10:39 +00:00
reed%reedloden.com
26bb0101eb Bug 419927 - "Re-enable smooth downscaling under Linux" [p=bill@wg9s.com (Bill Gianopoulos) r=vlad a1.9b4=beltzner]
git-svn-id: svn://10.0.0.236/trunk@246714 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 10:26:40 +00:00
roc+%cs.cmu.edu
bcd6b5373f 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
git-svn-id: svn://10.0.0.236/trunk@246659 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:46:23 +00:00
reed%reedloden.com
5d85092e88 Bug 410114 - "Simplify nsTransform2D" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@246514 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 09:42:36 +00:00
jdaggett%mozilla.com
eae23e8bd3 Bug 419370. Allow single face font families, specified in a pref setting. r+sr=stuart
git-svn-id: svn://10.0.0.236/trunk@246510 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 08:00:44 +00:00
roc+%cs.cmu.edu
60bd8ead95 Bug 376375. Use Translate so we fill the right area with theme drawing after alpha recovery. r=vlad
git-svn-id: svn://10.0.0.236/trunk@246425 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 01:24:41 +00:00
vladimir%pobox.com
6afcad537a b=418494; use SOURCE instead of OVER when source has no transparency; r=stuart
git-svn-id: svn://10.0.0.236/trunk@246391 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 00:59:49 +00:00
vladimir%pobox.com
ab543d1a28 b=381661, reenable bilinear image filtering [mq]: 381661-enable-bilinear.patch ; r=stuart
git-svn-id: svn://10.0.0.236/trunk@246387 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 22:30:58 +00:00
roc+%cs.cmu.edu
07ab4adeeb Bug 418754. Fix Mac clustering... we shouldn't set a glyph using SetSimpleGlyph if it's not the start of a cluster. Also fixes an indexing error in ligature detection. r=jdaggett,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246261 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 01:12:41 +00:00
mozilla%weilbacher.org
ff10632a73 Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246159 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 08:37:30 +00:00
jdaggett%mozilla.com
6283f79008 Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. Now with no-leak technology. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246145 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 02:46:01 +00:00
jdaggett%mozilla.com
77338dcc2f Bug 417444. Backing out due to leakage.
git-svn-id: svn://10.0.0.236/trunk@246134 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 00:35:26 +00:00
jdaggett%mozilla.com
6f6ca1312e Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246133 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 23:57:32 +00:00
reed%reedloden.com
568d86b4a5 Bug 395983 - "Duplicated Flash menus using r60(+) of Flash player" (do native drawing instead) [p=kinetik@flim.org (Matthew Gregan) r=vlad sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246079 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 11:33:29 +00:00
vladimir%pobox.com
8b53405b96 b=418353, sync up cairo to 1.5.8-87-g21049a9 imported patch 418353-cairo-upgrade.patch
git-svn-id: svn://10.0.0.236/trunk@246013 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 22:53:03 +00:00
mozilla%weilbacher.org
95608dbe4b 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
git-svn-id: svn://10.0.0.236/trunk@246001 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 19:41:57 +00:00
jag%tty.nl
66730e483a Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245954 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 07:36:52 +00:00
jag%tty.nl
00b0b0aa78 Bug 418026: Unconditionally include prio.h and prbit.h in gfxColor.h. sr=dbaron, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245951 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 07:07:01 +00:00
jag%tty.nl
bc91d919a7 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245897 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 08:50:33 +00:00
karlt+%karlt.net
add0454fc1 back out gfxFontGroup::MakeTextRun with individual words. b=416725, due to
performance regression on Windows.


git-svn-id: svn://10.0.0.236/trunk@245881 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 23:29:03 +00:00
karlt+%karlt.net
c3e92164cf gfxFontGroup::MakeTextRun with individual words. b=416725, r=roc
git-svn-id: svn://10.0.0.236/trunk@245880 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 21:43:23 +00:00
roc+%cs.cmu.edu
dec490cddd 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
git-svn-id: svn://10.0.0.236/trunk@245878 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 21:23:37 +00:00
mats.palmgren%bredband.net
2d7e7d9291 Some broken fonts specify a negative subscript offset, use the absolute value for compat reasons. b=410917 r=vladimir sr=pavlov a=beltzner
git-svn-id: svn://10.0.0.236/trunk@245855 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 02:44:12 +00:00
masayuki%d-toybox.com
d5d7f20c6e Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@245831 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 15:31:33 +00:00
masayuki%d-toybox.com
a5f5cac85c Bug 402524 Need to correct the Metrics for fonts in XP level r=pavlov, b1.9=vlad
git-svn-id: svn://10.0.0.236/trunk@245793 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 21:31:39 +00:00
reed%reedloden.com
611cf0da7d Bug 406474 - "Native GTK look for toolbar arrows" [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@245768 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 05:28:44 +00:00