Commit Graph

135 Commits

Author SHA1 Message Date
Robert O'Callahan
e2d6438f48 Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
Brad Lassey
ea8dd114d1 backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp. 2008-11-26 12:20:26 -05:00
Robert O'Callahan
6dd228bfdc Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +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
Markus Stange
f780ec066b Bug 459708 - Remove -moz-appearance values "radio-small" and "checkbox-small", r=roc 2008-11-03 14:12:59 +01: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
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09: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
Markus Stange
d28fe1e136 Bug 439354 - OS X toolbar background doesn't have a good gradient, part 1 / 3, r=hwaara sr=roc 2008-09-16 10:21:06 +02:00
Keith Schwarz
dc907e1ec7 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
Zack Weinberg
0f68a207ca Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
Doug Turner
a49e520740 Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Zack Weinberg
83829cd801 Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron 2008-09-06 06:56:23 -07:00
Kai Liu
34454bbe97 Bug 448704 – Eliminate <gripper> as an independent element. r=vlad/dbaron/enndeakin 2008-08-13 08:15:27 +02:00
Rob Arnold
f6bda8fda0 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
Simon Montagu
b0ca17eddd Bug 449577. Remove GetHints(), r+sr=roc 2008-08-11 18:19:01 +03:00
Karl Tomlinson
d8c5181f96 rounding changes in nsNativeThemeGTK::DrawWidgetBackground,
rename aClipRect to aDirtyRect in nsITheme::DrawWidgetBackground. b=444837 r=roc
2008-07-25 11:01:59 +12:00
reed@reedloden.com
36791e9cf4 Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -07:00
reed@reedloden.com
9b09692af7 Bug 223442 - "consider moving mac-specific files in gfx/public to a mac directory" (Remove nsWatchTask.h) [p=reg@openpave.org (Jeremy Lea) r+sr=biesi a1.9=beltzner] 2008-05-07 03:16:27 -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
7d5f859f79 Bustage fix for bug 413787. 2008-04-01 22:21:01 -07:00
reed@reedloden.com
2372c88cc4 Bustage fix for bug 413787. 2008-04-01 21:09:08 -07:00
reed@reedloden.com
f4bcba49f5 Bug 413787 - "NSToIntRound, NSToCoordRound code generation" [p=mmoy@yahoo.com (Michael Moy) r+sr=roc a1.9=schrep] 2008-04-01 20:47:07 -07:00
roc+@cs.cmu.edu
6f195369f9 Bug 424873. Make GetWidgetOverflow take the new frame size as input instead of using the possibly-stale old frame size. r+sr=dbaron 2008-04-01 16:34:20 -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
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
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
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
stefanh@inbox.com
7984e34c0c Bug 421814 - Use HITheme to draw backgrounds for groupboxes. r=josh+Mano, sr=roc, a1.9=dsicore. 2008-03-13 13:24:29 -07:00
mozilla@weilbacher.org
8aea370edc [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
11aa232422 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
bmlk@gmx.de
a9dad73560 There is no height greater than unconstrained height, bug 402872, r/sr=roc a=beltzner 2008-03-08 01:12:30 -08:00
roc+@cs.cmu.edu
72bddc7c36 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
18b5f6db55 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
104f6a38a1 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
roc+@cs.cmu.edu
4815c48c47 Backing out 403181 again 2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu
d8ef70bf14 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
roc+@cs.cmu.edu
d5a6cd23c7 Bug 403181 backout 2008-03-02 18:38:19 -08:00
roc+@cs.cmu.edu
528b547d86 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
vladimir@pobox.com
4aa4bceacd b=419383, extract native vista toolbar styles and expose to themes ; r+sr=roc; a=beltzner 2008-02-28 21:10:38 -08:00
roc+@cs.cmu.edu
705c2058b7 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
70e372f1fb Bug 410114 - "Simplify nsTransform2D" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=roc a1.9=damons] 2008-02-26 01:42:36 -08:00
mozilla@weilbacher.org
056b00f919 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
masayuki@d-toybox.com
cb5c20d581 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
reed@reedloden.com
2c86c6b910 Bug 406474 - "Native GTK look for toolbar arrows" [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=beltzner] 2008-02-14 21:28:44 -08:00
reed@reedloden.com
1c92a2eaf9 Bug 404825 - "Bookmark folders in Personal Toolbar" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=schrep] 2008-01-17 02:24:31 -08:00
karlt+@karlt.net
f6f3e91ac0 Make nsBoundingMetrics::operator+= handle empty bounds. b=410132, r+sr+a=roc 2008-01-02 20:32:12 -08:00
reed@reedloden.com
1d602b3c42 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
4e1350ffa6 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
reed@reedloden.com
0370cf7ed4 Bug 257437 - "[GTK2] NS_THEME_SEPARATOR, NS_THEME_SPLITTER implementation" [p=ispence@gmail.com (Ian Spence) r+sr=roc a1.9=beltzner] 2007-12-21 03:40:03 -08:00
reed@reedloden.com
be87af14d3 Bug 399545 - "<textbox type="number"> spin buttons look wrong with some GTK themes" (add GTK theming for spinner and spinner-textfield) [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=beltzner] 2007-12-21 03:30:00 -08:00
vladimir@pobox.com
1f7f3e59ed 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
dholbert@cs.stanford.edu
2a01021676 Bug 408754: Change assertion to warning for surpassing nscoord_MAX in NSCoordSaturatingAdd/Subtract r+sr=roc, a=mtschrep 2007-12-18 11:31:14 -08:00
dmose@mozilla.org
a7aaa3bf1f Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
masayuki@d-toybox.com
db9a1f0734 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron 2007-12-02 22:51:57 -08:00
dbaron@dbaron.org
38cca4c294 Remove nsFontList/nsIFontList. b=397813 r+sr+a1.9=pavlov 2007-10-07 22:01:49 -07:00
dholbert@cs.stanford.edu
ecb8184e90 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
asqueella@gmail.com
c583b4356b Bug 392927 - Kill old gfx code in nsIImage p=Jonathan Steele <xfsunoles@gmail.com> r+a=pavlov 2007-09-02 09:17:37 -07:00
asqueella@gmail.com
1e536127c0 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
masayuki@d-toybox.com
a17a03f2ea 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
10ea784eab b=391583, DoesARGBImageDataHaveAlpha is slow, r=stuart,a=me 2007-08-17 12:54:58 -07:00
sdwilsh@shawnwilsher.com
bbac20edf7 Bug 355789 - Use vista native uxtheme for menu rendering. Patch by Rob Arnold <robarnold@mozilla.com>. r=vladimir, a=[wanted-1.9] 2007-08-06 10:45:57 -07:00
sharparrow1@yahoo.com
3d08dbbf75 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
914f1c7143 Update UUID after checkin for bug 4821 2007-07-26 13:27:21 -07:00
sharparrow1@yahoo.com
5a87530c15 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
kherron@fmailbox.com
fda0e634fc Bug 337771 - Native -moz-appearance work for menus and toolbars on Windows XP. Patch by Simon Bünzli <zeniko@gmail.com>. r=emaijala, sr=bzbarsky. 2007-07-14 08:11:37 -07:00
sharparrow1@yahoo.com
41e3c663f8 Bug 382595: Lines across embedded svg when scrolling. Followup rounding fix. r+sr=roc 2007-07-08 22:04:01 -07:00
sharparrow1@yahoo.com
c738ea2df1 Update UUIDs 2007-06-27 15:15:13 -07:00
sharparrow1@yahoo.com
fc25e4dff6 Bug 386108: remove nsIDrawingSurface. rs=pavlov 2007-06-27 14:53:34 -07:00
sharparrow1@yahoo.com
4e5da46ad5 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
mats.palmgren@bredband.net
3f7e3e99ea Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
sharparrow1@yahoo.com
eabb991fe2 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
d4f1c91766 Backing out due to red tree. 2007-05-22 18:57:41 -07:00
sharparrow1@yahoo.com
795d602599 Bug 380438: Black lines appearing on the Opera Desktop Team Blog comments. r+sr=roc 2007-05-22 18:42:36 -07:00
joshmoz@gmail.com
bd0d160e41 don't put a dropmarker in comboboxes if nsITheme says not to. b=370282 r/sr=roc 2007-05-17 20:04:04 -07:00
gavin@gavinsharp.com
64a1e9ee59 Bug 376434: avoid using a different type so that MSVC can pack the bitfields properly, patch by Taras Glek <tglek@mozilla.com>, r=roc 2007-05-10 12:37:39 -07:00
joshmoz@gmail.com
b8a5d1d3bf remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc 2007-05-07 18:20:11 -07:00
joshmoz@gmail.com
289921ae56 Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc 2007-05-06 19:06:58 -07:00
joshmoz@gmail.com
e836dc9c3f 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
465265d0d4 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