124 Commits

Author SHA1 Message Date
sharparrow1%yahoo.com
46080bf88d Bug 4821: Implement page zoom (backend). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@231009 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 03:34:16 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sharparrow1%yahoo.com
826e43bb05 Bug 386108: remove nsIDrawingSurface. rs=pavlov
git-svn-id: svn://10.0.0.236/trunk@228887 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 21:53:35 +00:00
mats.palmgren%bredband.net
99fe84e396 Bye bye Xprint. b=326716 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227989 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 18:03:03 +00:00
sharparrow1%yahoo.com
279cfa170d Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220085 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
sharparrow1%yahoo.com
8842d0b209 Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@203317 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 00:16:07 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
pavlov%pavlov.net
78af32406c moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@178659 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 02:11:54 +00:00
cbiesinger%web.de
c41020b640 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177690 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:54:22 +00:00
kjh-5727%comcast.net
bc1325e687 Make nsIFontMetrics::GetFont() non-virtual. Bug 230605, r=bryner, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@168172 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-22 16:00:07 +00:00
dbaron%dbaron.org
46bbadb4bd Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@159427 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 17:36:03 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bryner%brianryner.com
1df9753a77 Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@157620 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 23:53:59 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
e6a225b469 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152326 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 01:57:10 +00:00
bryner%brianryner.com
34c56dea27 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.
git-svn-id: svn://10.0.0.236/trunk@152211 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 08:32:33 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
jaggernaut%netscape.com
e07c163859 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145136 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 04:53:13 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org
f5b5bace95 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
mkaply%us.ibm.com
7c3c72e2c2 Better fix for OS/2 bustage earlier
git-svn-id: svn://10.0.0.236/trunk@126601 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 04:06:57 +00:00
mkaply%us.ibm.com
5b34c660d2 OS/2 bustage - I think our compiler has trouble because an nsCOMPtr to nsIWidget isn't a real nsIWidget pointer
git-svn-id: svn://10.0.0.236/trunk@126504 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:03:25 +00:00
bzbarsky%mit.edu
99b0c67ba5 Fix crash in nsRenderingContextGTK::Init. Bug 156043, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=roc, sr=scc


git-svn-id: svn://10.0.0.236/trunk@126424 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 03:27:05 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
rbs%maths.uq.edu.au
d21c5c6672 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120592 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:24:59 +00:00
tor%cs.brown.edu
f6cb646578 Bug 53597: gamma correction backout. r=dbaron, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@120351 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:15:52 +00:00
tor%cs.brown.edu
29d05986a2 Bug 137685 - gamma correction causing black backgrounds in embedding.
r=brendan, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@119642 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:21:25 +00:00
tor%cs.brown.edu
b8025de88e Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@118919 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 10:03:59 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
dbaron%fas.harvard.edu
d5b6a2cebe Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114694 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:24:25 +00:00
timeless%mac.com
f15e3a832c Bug 119398 DeviceContextImpl does not correctly check for error
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@112037 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-13 00:17:37 +00:00
rods%netscape.com
eeb370541a reflow was using the wrong DC to rendering context for PP
BUg 117745 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111939 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 11:56:10 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
rbs%maths.uq.edu.au
09781b2e2a Bug 111069: don't initialize the device context twice in GfxWin & OS2 (also left in the debugging code used to catch that), r=rods, sr=waterson. Bug 109974: re-enable a consolidated memory-pressure observer to compact font resources in low-memory situations, r=shanjian, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@109155 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:34:07 +00:00
rods%netscape.com
0bcf76ec42 Add PrintBGColors, PRINBGImages and Scaling
Bug 108345 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108894 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 12:48:41 +00:00
rbs%maths.uq.edu.au
0f01c7b8cd re-disable this problematic memory-pressure observer as it causes device contexts to hang around until shutdown. bug 109974. Need more investigation. In the meantime, the font cache retains the ability to compact itself when font handles are running out
git-svn-id: svn://10.0.0.236/trunk@108833 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 10:31:30 +00:00
rbs%maths.uq.edu.au
3c9422ec4f Re-enable my fix
git-svn-id: svn://10.0.0.236/trunk@108649 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 00:43:27 +00:00
rbs%maths.uq.edu.au
bea727c0c1 Disable the registration codefor now as it causes TB to turn orange.
git-svn-id: svn://10.0.0.236/trunk@108647 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 00:25:24 +00:00
rbs%maths.uq.edu.au
6da04cb9b2 Attempt to fix orangeness - move the registration from Init() to CommonInit()
git-svn-id: svn://10.0.0.236/trunk@108636 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 22:57:07 +00:00
rbs%maths.uq.edu.au
5854031c59 Compact the font cache in low-memory situations or when font handles are running out. b=109974, r=shanjian, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@108612 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 19:47:28 +00:00
mkaply%us.ibm.com
5f475d64f6 #95106
r=pavlov, sr=waterson
Get 256 colors working again - step 1 - add back palette API to nsDeviceContext


git-svn-id: svn://10.0.0.236/trunk@107563 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:36:47 +00:00
mkaply%us.ibm.com
de6273fcb6 OS/2 and AIX bustage - the bustage is related to GetAltDevice in nsDeviceContext.h having an ADDREF of a nonconst - the easiest place to fix it is here
git-svn-id: svn://10.0.0.236/trunk@107283 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-04 03:04:01 +00:00
rods%netscape.com
b0db719a90 Fix for OS2 bustage
git-svn-id: svn://10.0.0.236/trunk@107275 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-04 00:51:40 +00:00
rods%netscape.com
8193b14cae Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107261 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 15:06:24 +00:00
rjesup%wgate.com
1a798c2278 Bug 104260: Font LRU cache confused as to direction of the head. r=rbs,
sr=waterson (converted from r=waterson)


git-svn-id: svn://10.0.0.236/trunk@107167 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 01:23:28 +00:00
mkaply%us.ibm.com
71ed601f6d Trying to get nsDeviceContext to rebuild to fix test bustage
git-svn-id: svn://10.0.0.236/trunk@106498 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 02:46:30 +00:00
alecf%netscape.com
c96e504eb3 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@106366 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 17:18:35 +00:00
jaggernaut%netscape.com
3510bb81cb Remove dead nsCString::ToNewString() code usage. r=dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105386 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 05:03:26 +00:00