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

405 Коммитов

Автор SHA1 Сообщение Дата
vladimir%pobox.com 9027bac0fe merge from org.mozilla.cvs.cairo branch:
- moved platform-specific thebes code to gfxPlatform
- added widget getters for gfxASurface creation in platform-specific widget code
- added first pass at gfxTextRun
2005-11-29 20:12:29 +00:00
roc+%cs.cmu.edu 60f60e4875 Bug 317514. Add nsRegion::SimpleSubtract, Contains(aRect) and Intersects(aRect). r=dainis_jonitis, sr=bzbarsky 2005-11-24 01:05:18 +00:00
timeless%mozdev.org 8e0a0fb22e Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +00:00
bsmedberg%covad.net 588cd1cc69 Bug 316778 - Make some gfx headers external-linking-safe, r=roc 2005-11-17 20:06:22 +00:00
bsmedberg%covad.net dff1dea638 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu 38e777c0c6 Bug 297508. Allow native theme drawing to overflow the frame bounds in a reliable way by setting the frame's overflow area. Use this to work around drawing errors in some GTK2 themes. r=bryner,sr=blizzard 2005-08-31 21:00:52 +00:00
pavlov%pavlov.net 0689d85cf0 moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc 2005-08-23 02:11:54 +00:00
roc+%cs.cmu.edu 9894fb79fa Bug 291636. nsTransform2D can't handle rotations, never could, and never will, so don't bother with them. r+sr=roc, patch by Hans-Andreas Engel 2005-08-16 21:40:26 +00:00
roc+%cs.cmu.edu d333c8b26a Bug 290885. constify some nsTransform2D methods. r+sr=roc, patch by Hans-Andreas Engel 2005-08-16 21:38:56 +00:00
cbiesinger%web.de d25f538cf6 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
smfr%smfr.org 12b4e65c31 Fix bug 302958: specify a name for the print job on Mac, getting it from the title passed to the BeginDocument() call. r=jhpedemonte, sr=bryner, a=asa 2005-08-08 19:34:44 +00:00
roc+%cs.cmu.edu 083ca626b2 Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa 2005-05-19 21:28:58 +00:00
roc+%cs.cmu.edu 3302663a95 Fixing bustage ... extra file with trivial helper functions. 2005-05-02 22:59:49 +00:00
blizzard%redhat.com 7a4c1d728f Bug #260663. When pango is available use it for grapheme cluster information to figure out where valid selection points are. Change text rendering to use clip regions for rendering selected strings instead of rendering partial strings instead. r+sr=roc,a=asa 2005-05-02 20:48:32 +00:00
bzbarsky%mit.edu 0076d95201 Actually address the review comments on bug 290377... r+sr=dbaron, a=asa 2005-04-30 05:16:21 +00:00
bzbarsky%mit.edu 0597971698 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu d76575e7ad Bug 290432. Add push/pop translation functions to nsIRenderingContext so cairo can override them. r+sr=bzbarsky,a=asa 2005-04-19 22:58:33 +00:00
smontagu%smontagu.org ef60ea9a30 Add a rendering hint for gfx implementations that perform reordering of complex text after applying spacing. Bug 284927, r+sr=roc, a=asa 2005-04-15 10:25:43 +00:00
paper%animecity.nu d541f29d90 Bug 274244: Display more broken GIFs. r=stuart sr=tor 2005-03-08 03:44:28 +00:00
pedemont%us.ibm.com 4e31dcd7d7 Bug 245407 - Use Quartz for nsImageMac. r=sfraser, sr=tor. 2005-02-20 03:21:04 +00:00
ginn.chen%sun.com 04b766b1dc Bug 174740 Black checkboxes in menus (e.g. View->Toolbars->Navigation Bar)
r=robin.lu sr=bryner
2005-02-18 06:03:08 +00:00
kjh-5727%comcast.net 8ca7be0027 Make nsIFontMetrics::GetFont() non-virtual. Bug 230605, r=bryner, sr=bzbarsky. 2005-01-22 16:00:07 +00:00
bryner%brianryner.com 884453541b Add support for using gcc's visibility pragma to treat all function and method declarations as "hidden" unless declared otherwise. Create wrappers for system headers that cause them to be treated as default-visibility declarations. This gives a substantial code size and performance win on compilers that support it, and should show up on the gruff tinderbox. Bug 273336, r=darin sr=dbaron. 2004-12-15 05:52:44 +00:00
darin%meer.net ae5692eef4 fixes bug 270110 "Add versions of nsDependentString and friends to the Gecko SDK" r=bsmedberg 2004-11-30 00:57:24 +00:00
ere%atp.fi 45881dafd2 Optimization patch for bug 228399 (background-color is mishandled when -moz-opacity is less than 1.0)
r+sr=roc
2004-11-27 08:22:22 +00:00
roc+%cs.cmu.edu 14447eb6f2 Bug 265084. Progress towards floating point nscoord: make image interfaces and libpr0n use PRInt32 instead of nscoord. r+sr=tor 2004-11-15 04:16:07 +00:00
timeless%mozdev.org d9822cd4c5 Bug 265084 Need to deal with integer overflows in reflow
r=bz sr=bz
2004-11-09 04:57:57 +00:00
roc+%cs.cmu.edu 93c8848740 Bug 243726. Fix up child-covering calculations. r+sr=bzbarsky 2004-11-05 13:59:33 +00:00
roc+%cs.cmu.edu 92c7aca8d1 Fix bustage. 2004-11-03 03:02:02 +00:00
roc+%cs.cmu.edu d1fa5f22e0 Bug 265084. Lay the groundwork for nscoord being a float, by introducing nsIntRect/Point/Size/Margin and wrapper functions for doing tricky nscoord operations. r+sr=bzbarsky 2004-11-03 02:48:04 +00:00
roc+%cs.cmu.edu c804dd83a2 Bug 243726. Make Invalidate/UpdateView *much* cheaper by delaying propagating damage over the widget tree until EndUpdateViewBatch. Also adds SimplifyInward/SimplifyOutward methods to nsRegion to avoid region complexity getting out of hand and killing our performance. r=Dainis_Jonitis,bzbarsky, sr=bzbarsky 2004-11-03 02:37:21 +00:00
bzbarsky%mit.edu 5522863148 "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2004-10-24 18:34:50 +00:00
roc+%cs.cmu.edu 818d0bd3ff Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky 2004-10-11 20:35:51 +00:00
pete.zha%sun.com bc902b4d04 bug 234470
There is something wrong with plugin printing on linux or unix
r=leon.sha@sun.com
sr=roc
patch=roland
2004-09-20 06:46:16 +00:00
bryner%brianryner.com 04b0d5a8cb Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc. 2004-09-06 03:59:31 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 88f80381e3 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org 9477e33c6b Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc 2004-07-18 17:36:03 +00:00
bryner%brianryner.com 27730e1df0 Implement nsIShellService for GNOME (bug 242254). r=biesi, sr=shaver. Note: set as wallpaper for images that use transparency will be broken until bug 250531 is fixed. This also makes toolkit/ always be pulled in preparation for migrating more code to the new GNOME XPCOM interfaces. 2004-07-15 22:51:19 +00:00
bryner%brianryner.com 4f06ee6e85 Lots of fixes for native themed checkbox and radio buttons on gtk2. Bug 247631, r=caillon, sr=blizzard. 2004-06-22 22:10:12 +00:00
tor%cs.brown.edu 74ef3897e4 Bug 244895 - remove dead gfx methods. r+sr=roc 2004-05-29 01:44:08 +00:00
tor%cs.brown.edu b8ef0725dc Bug 244895 - remove gfx code related to old svg implementation. r+sr=roc 2004-05-27 21:33:58 +00:00
caillon%redhat.com e55198520c Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2004-05-18 18:09:16 +00:00
caillon%redhat.com 5d4005aefe Make this comment reflect reality. b=241140 2004-05-04 03:53:23 +00:00
caillon%redhat.com 0f17aba3e9 Bug 241140
Consolidate DrawImage and DrawScaledImage
r=biesi sr=tor
2004-05-04 01:32:26 +00:00
tor%cs.brown.edu 44fbbcc21b Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
caillon%redhat.com 1ac75a5525 extern NS_GFX FILE* operator<<(FILE* out, const nsRect& rect);
should be #ifdef DEBUG
rs=tor
2004-04-22 21:36:53 +00:00
tor%cs.brown.edu bd2796f514 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
gerv%gerv.net 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
roc+%cs.cmu.edu c36336ee9d Bug 234984. Clean up nsRect/nsSize a bit. r+sr=dbaron 2004-03-10 01:59:16 +00:00
chanial%noos.fr 91c3eb4cb6 Bug 118296: implement NS_THEME_MENUBAR, NS_THEME_TOOLBAR, NS_THEME_MENUPOPUP and NS_THEME_MENUITEM (GTK2)
r=bryner, sr=roc
2004-03-04 04:55:31 +00:00
sicking%bigfoot.com 050843a6e0 Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
r=caillon sr=jst
2004-03-04 02:06:28 +00:00
roc+%cs.cmu.edu 985cc47697 Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position. 2004-02-22 03:31:30 +00:00
bryner%brianryner.com d06fff3092 Add an interim workaround for xft font match priority problems to fix the problem where changing the serif generic font in preferences changes the UI font as well. This adds an extra bit to the nsFont struct for system fonts that we can use as an indicator to not add a generic fallback. Bug 228518, r=blizzard, sr=dbaron. 2004-02-20 19:36:53 +00:00
tor%cs.brown.edu 5647f75629 Bug 234954 - remove unused nsIDeviceContext::ConvertPixel. r=pavlov sr=bryner 2004-02-20 17:29:53 +00:00
tor%cs.brown.edu e4f437d0e6 Bug 234752 - Print code returns NS_OK in cases where it should return
an error.  Patch by roland.mainz@nrubsig.org, r+sr=roc.
2004-02-19 21:58:40 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com d4f13c3ba7 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
bryner%brianryner.com 0cf1253322 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner%brianryner.com 6c7448b0e3 Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin. 2004-02-03 08:32:33 +00:00
roc+%cs.cmu.edu 1ae3d79b00 Bug 230687. DEC compiler barfs on call to implicit nsRectFast::operator=. r+sr=dbaron 2004-01-23 17:27:59 +00:00
tor%cs.brown.edu 40912d05d5 Bug 113561 - handle tiling of images where the frame is smaller
than the container.  r=pavlov, sr=bryner
2004-01-16 23:28:51 +00:00
roc+%cs.cmu.edu 6bf24a63ff Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc 2004-01-10 16:18:36 +00:00
jshin%mailaps.org 83d13c83f5 bug 221666 : remove redundant copy of nsCompressedCharMap.* (moved to intl/unicharutil) (r=smontagu, sr=rbs) 2003-11-09 18:44:11 +00:00
jshin%mailaps.org c7548bdfc8 bug 221666 : remove redundant copy of nsCompressedCharMap.(h|cpp) and move them to intl/unicharutil out of gfx (r=smontagu, sr=rbs) 2003-11-09 18:39:19 +00:00
uid502 c92f5a677c Bug 80190. Emit twips measurements into PS code and let the PS engine do the scaling. r=tor,sr=roc,a=roc. Thanks to kherron who did the patch. 2003-10-23 22:43:04 +00:00
bmlk%gmx.de ef1b9d43d9 overflow area implementation for table frames (infrastructure), bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:21:41 +00:00
timeless%mozdev.org 42d179412d Bug 213461 Want a way to specify single-sided or double-sided printing
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner
2003-08-01 01:56:15 +00:00
bsmedberg%covad.net ba5caa9ef9 Bug 198515 - patch by Roland.Mainz r=peterl/leon.sha sr=bz 2003-07-23 14:10:12 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
smontagu%netscape.com e03a31c002 Fix rounding issue in DrawTile() and remove a bogus assertion. Bug 194791, Author=paper@animecity.nu, r=smontagu, sr=roc+moz 2003-05-29 23:29:37 +00:00
bryner%netscape.com 2373a382c8 Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser. 2003-05-29 22:39:05 +00:00
arougthopher%lizardland.net afbd12dbcf Bug#161825
GetWidth optimizations need to be implemented on BeOS (text measurement performance)
sr=rbs
r=arougthopher
2003-04-19 16:40:06 +00:00
cbiesinger%web.de 1bdbf1e104 191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two 2003-04-17 20:17:01 +00:00
roc+%cs.cmu.edu 513d28330f Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
ccarlen%netscape.com b882309692 Bug 188508 - Upgrade print dialog PDE. r=pinkerton/sr=sfraser 2003-04-03 19:20:27 +00:00
roc+%cs.cmu.edu cec34e763a Bug 191474. Make GTK paint in one pass, pass a region to paint up from GTK to the view manager. r+sr=blizzard 2003-03-25 02:58:10 +00:00
darin%netscape.com fbab8a3edd backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu 4826fbd1c4 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:57:22 +00:00
roc+%cs.cmu.edu fe7dc57407 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:54:48 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bzbarsky%mit.edu f46e288da3 Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017.  r+sr=dbaron
2003-03-18 05:43:12 +00:00
bryner%netscape.com 7ce4b290a0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
jshin%mailaps.org 68196a10ee bug 180266 : hard-code precompiled ccmaps. (r=shanjian, sr=alecf/rbs) : relanding 2003-03-07 02:30:18 +00:00
dougt%netscape.com d368f63f80 backing out bustage caused by jshin 2003-03-05 05:03:03 +00:00
jshin%mailaps.org ca68f769ce bug 180266 : hard-code precompiled CCMaps to speed up start-up.
r=shanjian, sr=alecf,rbs
2003-03-05 03:40:10 +00:00
katakai%japan.sun.com dadd6c39ce bug 127713
support Surrogate display on Linux by using FreeType
r=bstell, sr=bryner
2003-02-23 00:07:23 +00:00
cbiesinger%web.de b35996e27e 186936 r=kmcclusk sr=roc+moz move stuff out of gfx/public/ 2003-01-21 20:38:19 +00:00
paper%animecity.nu 34ad70e13e Bug 181695 Cleanup nsIImage. r= dcone,arougthoper,pedemont,tor,timeless sr=roc+moz 2003-01-20 05:40:51 +00:00
cbiesinger%web.de 57d2170656 remove ifdefs for IBMBIDI from gfx, r+sr=roc+moz bug 89203 2003-01-17 11:28:59 +00:00
cbiesinger%web.de a98fbbace5 88685 r+sr=roc+moz for the rendering-context-related changes
r=walk84 sr=roc+moz for the removal of the USE_IMG2 ifdefs

Remove traces of old imagelib as well as ifdefs for USE_IMG2
2002-12-21 16:40:04 +00:00
roc+%cs.cmu.edu 22cb4ca6ed Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard 2002-12-21 02:51:14 +00:00
cbiesinger%web.de 1588c438e2 185877 r=kmcclusk r+sr=roc+moz remove nsIRenderingContext::DrawScaledTile 2002-12-18 22:48:05 +00:00
pete.zha%sun.com ef6d69bb4e Font Catalog Service
b=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com
2002-11-15 04:59:17 +00:00
dbaron%fas.harvard.edu ca4ad476d2 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
pete.zha%sun.com 39da5a28d9 back out for bug 144664
a=cls
2002-11-07 17:18:21 +00:00
pete.zha%sun.com 5ced630899 Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com patch=louie.zhao@sun.com
This patch fixed the build bustage on windows&HP-UX platform which r=bryner@netscape.com sr=bzbarsky@mit.edu
2002-11-07 06:32:29 +00:00
timeless%mozdev.org 466fd6e588 using http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=MozillaTinderboxAll&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=pete.zha&whotype=regexp&sortby=Date&hours=2&date=explicit&mindate=1036540000&maxdate=1036553759&cvsroot=%2Fcvsroot&generateBackoutCVSCommands=1
to back out
Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com

this broken windows and other platforms.
approved by cls and #mozilla
2002-11-06 04:05:21 +00:00
pete.zha%sun.com 4b5f54f306 Font Catalog Service
bug=144664 r=bstell@ix.netcom.com sr=bryner@netscape.com
patch=louie.zhao@sun.com
Check in step 2(modify files)
2002-11-06 03:21:58 +00:00
dbaron%fas.harvard.edu 52b1eccb0a Fix method-hiding warnings related to nsIRenderingContext::DrawImage variants. b=170107 r=tor sr=blizzard 2002-09-21 21:30:24 +00:00