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

2010 Коммитов

Автор SHA1 Сообщение Дата
mkaply%us.ibm.com e916076307 #53410
r=brendan, a=brendan
Using wrong identifier to get screen width and height
2000-09-21 01:26:00 +00:00
ftang%netscape.com 90c1083f5c fix bug 50816. add if statement for prevFont so it won't crash on win95J while prevFont is null (when we try to render a
Unicode which do not have glyph in any font on the system.
r=buster,erik a=buster.
2000-09-20 23:13:12 +00:00
erik%netscape.com 57db879fec bug 52655; r/a=ftang; switch from GetCharsetAtom2() to NS_NewAtom() since
the former does some unwanted charset name mapping to work around problems
with Web sites using the wrong charset names; also added self test code to
catch any spelling errors since we are now not going through the charset
manager (GetCharsetAtom2)
2000-09-20 23:06:53 +00:00
waterson%netscape.com 5e7b70af9e Fix build bustage. 2000-09-20 06:40:22 +00:00
waterson%netscape.com 7dc55680e8 Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren 2000-09-20 05:44:19 +00:00
sspitzer%netscape.com ebe152cc4f bullet proofing for crash in #53250, related to #49115
r/a=mscott
2000-09-19 22:37:02 +00:00
pinkerton%netscape.com a163e487b1 Fix major DC suckage on win2k and 98. Instead of calling GetDC all the time,
only call it when we need it and then be sure to release it. r=mjudge, bug#49285
2000-09-14 23:53:19 +00:00
sfraser%netscape.com bccc8a28aa Fix build bustage; add new param to FlushCach. r=pnunn 2000-09-14 23:44:51 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
mkaply%us.ibm.com 8ca9d0bdbe #52455
r=mkaply, a=brendan
FontEnumerator implementation for OS/2
2000-09-14 23:17:20 +00:00
pnunn%netscape.com ccda7ec14f bug#51249: add chrome to FlushCache. pnunn r:syd 2000-09-14 23:06:53 +00:00
pnunn%netscape.com 279ba5b1e5 bug#51249: add ability to flush chrome. pnunn r: syd. 2000-09-14 23:00:59 +00:00
sfraser%netscape.com 8088d5d19b More work on 20743; better low memory handling on Mac. Better control of whether we allocate GWorlds in temp mem, make nsImageManager implement nsIMemoryPressureObserver (not turned on yet), and fix a double delete of GWorlds. r= pinkerton 2000-09-14 22:42:36 +00:00
waqar%netscape.com 75458f69c4 #=48907
r=pavlov@netscape.com
d=Get the font size using the pixel size instead of the point size. Pixel
size seems to work better for non default resolutions.
2000-09-14 18:57:05 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
sfraser%netscape.com 4af1765061 Part of the fix for 20743, add flag to tell us if a drawing surface is short-lived, so we can allocate in temp mem (on Mac). r=pavlov 2000-09-13 07:02:30 +00:00
dcone%netscape.com 609158f6c5 Put the nsPrintOptions into the factory for the Mac. r=kmmclusky. b=36796 2000-09-12 14:34:14 +00:00
dcone%netscape.com 4a44a28c21 Stray Semicolon taken out. 2000-09-12 14:31:10 +00:00
dcone%netscape.com 121485bb44 Fixed the tiling bug. Limited the size of the tile buffer. Check for sizing. Bug=49751 r=kmcclusky a=kmcclusky 2000-09-12 03:48:56 +00:00
valeski%netscape.com b6373ee1b7 50188. forcing noisy_fonts macro to *not* spew to stderr/out in debug builds. 2000-09-11 21:48:58 +00:00
erik%netscape.com dced4cfefc bug 33162; instead of zeroing out all Unicodes less than 0x2200, we just
zero out the common ones that correspond to CP1252 (for things like smart
quotes), so that we can still see most of the JIS X 0208 characters;
r=ftang
2000-09-11 21:03:58 +00:00
briane%qnx.com 2e8fedab64 NOT PART OF BUILD - PHOTON ONLY
Various fixes to correct drawing problems and speed up the rendering
and font engine
Brian Edmond
2000-09-11 13:51:58 +00:00
valeski%netscape.com f7f1dff42c 50188. removing release spammage 2000-09-08 23:21:08 +00:00
pinkerton%netscape.com e1d4cc2c64 add an applescript wrapper for a call that is only in carbon. r=sfraser. 2000-09-08 23:09:42 +00:00
kmcclusk%netscape.com 09c113d6b4 Clip unicode text on WIN95 when a underline or strikeout font has been specified. Fixes underline too long problem on WIN95. bug 8322 r=attinasi@netscape.com 2000-09-07 03:20:05 +00:00
rpotts%netscape.com a8d43a16fe Removed obsolete call to get the Prefs Service whenever ImageNetContextImpl::GetURL(...) is called. 2000-09-06 09:14:08 +00:00
dbaron%fas.harvard.edu edc5e19b4f Fixing code that relies on implicit string construction. r=scc (verbally) 2000-09-03 02:08:24 +00:00
brendan%mozilla.org 4c27644093 Fix longstanding bug with nsScriptableRegionConstructor (lack of NS_IMETHODIMP). Use nsnull and \!, not NULL and lame NULL == ptr tests. 2000-09-02 03:39:27 +00:00
pnunn%netscape.com 5246f02766 bug#13718: pnunn. move init to intended location. 2000-09-01 19:00:05 +00:00
waqar%netscape.com 3bf37c3125 #=48907
r=rods@netscape.com
a=kmcclusk@netscape.com
d=Implement CSS3 Font for GTK.
2000-09-01 13:21:46 +00:00
rods%netscape.com d77e0816f4 When calculating the point size of a LOGFONT the scalling between the screen
and the printer must be taken into account. (The LOGFONT metrics are for the screen)
Bug 45656  r=dcone
2000-09-01 11:59:48 +00:00
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
pnunn%netscape.com 99dd0f44ed bug#13718: add hooks for natural dimensions on images. pnunn. r: cmanske, kmcclusk. 2000-09-01 01:12:39 +00:00
dcone%netscape.com 6ddf05024d Added factory method for creating an nsPrintOptions object. This is for bug 36796. r=kmcclusk. 2000-08-31 14:49:05 +00:00
mkaply%us.ibm.com 363e98a599 #45872
r=pedemonte, a=brendan
I singlehandedly broke OS/2 printing.
2000-08-30 20:28:28 +00:00
waqar%netscape.com 9fb7a1a477 d=backing out my changes, until we can figure out what version of gtk we
need to use.
2000-08-30 02:38:43 +00:00
waqar%netscape.com 2509e302a5 #=48907
a=kmcclusk@netscape.com
r=pavlov@netscape.com
d=Implementing CSS3 Fonts for GTK.
2000-08-30 00:44:15 +00:00
pnunn%netscape.com 25b9a31abe bug#48546: animation load attributes. 2000-08-28 23:45:31 +00:00
pnunn%netscape.com 9e6d08144f bug#48546: animation loop load attributes. 2000-08-28 23:45:09 +00:00
attinasi%netscape.com e1d0248ab8 Added some checks for null in font management of GetWidth(), and added checks to prevent divide-by-zero when GetAveCharWidth returns 0 (which it should not do but is seen in talkbacks). b=48460 r=buster@netscape.com 2000-08-28 23:33:43 +00:00
quy%igelaus.com.au d5ec673674 Updating xlib. Not part of build 2000-08-28 23:15:44 +00:00
quy%igelaus.com.au 2d9b76a2b8 Updating xlib. Not part of the build 2000-08-28 03:48:52 +00:00
kmcclusk%netscape.com 954520c22d Added check to 8-bit blender code for null cmap.map to fix blender crash on Linux(p=afranke@ags.uni-sb.de) b=17356 r=attinasi@netscape.com 2000-08-26 03:19:12 +00:00
quy%igelaus.com.au cc949a44bd Updating xlib. Not part of the build 2000-08-25 09:25:53 +00:00
quy%igelaus.com.au 932fc44a28 First Checked In. Not yet part of the build 2000-08-25 07:22:28 +00:00
shanjian%netscape.com 3cb865e341 #49559 JPN characters disappear at the beginning of a line
ra=ftang
the problem is because the text segments array is indexed out of its legal range.
2000-08-24 22:25:44 +00:00
jband%netscape.com bcfbbc4573 - !missed a file! - Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi 2000-08-22 07:05:00 +00:00
jband%netscape.com 5b1229a9a8 Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi 2000-08-22 06:57:32 +00:00
pnunn%netscape.com 7f210bf5ea bug#20110, & maybe #32269: Get pref load attributes and apply if LOAD_NORMAL when get
image url. pnunn, r:neeti.
2000-08-21 19:37:04 +00:00
dbaron%fas.harvard.edu 4203def1d1 Add nsFontCache to leak and bloat stats. r=waterson 2000-08-21 13:04:18 +00:00
warren%netscape.com a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
scc%mozilla.org d8be127102 attempt to fix linux bustage 2000-08-19 22:01:24 +00:00
scc%mozilla.org 376a709475 fixing code that relied on implicit string construction 2000-08-19 21:32:38 +00:00
pavlov%netscape.com 7242425ab6 fix for leak due to extra addref of GdkGC bug 49555 r=bruce 2000-08-19 06:33:56 +00:00
pavlov%netscape.com 4d3bd39c64 XRegions are no longer emigrating in mass to avoid free() (bug 49537) r=bruce 2000-08-19 06:01:43 +00:00
pollmann%netscape.com 91371746a9 Bug 43214: Exclude garbage values for font height that cause crashes. Fix courtesy of Randell Jesup jesup@wgate.com, r=pollmann 2000-08-18 03:38:15 +00:00
pavlov%netscape.com f91b5e9881 patch to hold on to the image gc when possible. reduces the number of creategc/freegc calls r=imot. linux performance bug 26502 2000-08-17 21:53:10 +00:00
ftang%netscape.com 5ddc004c36 fix 47114. remap 6 characters to the MacOS truetype value for symbol fonts. r=nhotta 2000-08-17 21:47:42 +00:00
pavlov%netscape.com e06fc98bab patch from Tomi Leppikangas <Tomi.Leppikangas@oulu.fi> to reuse GCs when the only person holding on to them is the GC cache (i.e. don't create/destroy, just change) r=pavlov,shaver. work on linux performance bug 26502 2000-08-17 21:44:11 +00:00
dbaron%fas.harvard.edu e6c345dd4e Count the nsFontGTK class in the leak stats. Some of these are leaked, so the numbers may go up. r=waterson 2000-08-16 23:05:56 +00:00
alecf%netscape.com 1f1df4833b fix a bunch of UMRs r=syd
(no bug but I needed these to get my purify build going)
2000-08-16 07:39:38 +00:00
rbs%maths.uq.edu.au 3b9a740778 [not part of default build] Another go at fixing build bustage b:42793. It prevented the enabling of xprint with mathml. Paul B. Saitta <pbs@po.cwru.edu> verified that the changes compile and run, after accidently forgetting to turn xprint on the other time. a:waterson@mozilla.org 2000-08-15 18:22:31 +00:00
rods%netscape.com 054af17366 css button and caption font is set to be two point sizes larger than the default GUI size.
caption font shouldn't (and now doesn't) use the actual Windows platform specific "caption" font
b=33312 r=kmcclusk
2000-08-14 13:54:50 +00:00
warren%netscape.com 560b643684 Fixed nsStringKey -> nsCStringKey problem 2000-08-10 07:28:01 +00:00
warren%netscape.com 4cd132b6fb Fixed nsStringKey problems due to hashtable changes. 2000-08-10 07:10:42 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
pavlov%netscape.com 750a6d39eb avoid calling XSetFont on every draw_text (hopefully) by using the GC cache correctly when drawing text and not calling gdk_draw_text directly. working on linux performance bug 26502. r=imot 2000-08-09 20:15:08 +00:00
dcone%netscape.com 86c5ca9f44 Taking out the change from yesterday that enables the PatBlt for tiling. Found problems so
I am pulling that change for now.
2000-08-09 14:07:55 +00:00
dcone%netscape.com e9a2f317a9 Fixes slow scrolling, using patblt on windows NT. bug = 43943. A=mcclusk 2000-08-08 14:07:38 +00:00
tor%cs.brown.edu 162e133cb0 Bug 40942 and 47816 - fix off-by-one error in DrawComposited
sanity check.  r=bryner
2000-08-08 06:42:26 +00:00
dougt%netscape.com 5fa2999ab4 adding pref for image cache size. (47656)
r=valeski@netscape.com
2000-08-07 20:51:30 +00:00
tor%cs.brown.edu 30d47ff881 Bug 47679 - clipping rewrite for nsImageGTK::DrawComposited.
r=blizzard, a=waterson
2000-08-06 19:36:46 +00:00
dbaron%fas.harvard.edu 3c87455474 Fix potential leak. r=pnunn a=waterson 2000-08-06 19:07:06 +00:00
pavlov%netscape.com 9d31d81b2f removing (broken) x11-shm code. I have not found this code to provide any speedup, and since it is broken, I am removing it. bug 32736 r=bryner 2000-08-06 05:17:31 +00:00
pierre%netscape.com 59e9d15a43 40325 (subtracting dev2app in some cases) 2000-08-05 04:40:22 +00:00
syd%netscape.com 231215eb61 Add some prlog support for debugging image usage, r=pavlov. Debug only. 2000-08-05 00:58:24 +00:00
pnunn%netscape.com 7e2c381240 bug#474711: don't mess with channel load attributes. pnunn. 2000-08-04 23:37:41 +00:00
pnunn%netscape.com 467214e04f bug#46360: fixing leak of nsWeakReference. Thanks, Patrick. pnunn. 2000-08-02 00:34:30 +00:00
mkaply%us.ibm.com 380cbfbd08 45872
r=mkaply, a=brendan
Fixes for tiling of bitmaps - make them faster and fix 256 color
2000-07-31 20:36:14 +00:00
sfraser%netscape.com d728dc7b8b Fix 6553 at last -- image badge icons now show on Mac. r=pinkerton. 2000-07-28 00:55:53 +00:00
mkaply%us.ibm.com c17df4028f 45872
r=mkaply, a=brendan
Found a way to get the desktop DC so screen APIs could be implemented properly
2000-07-27 21:10:32 +00:00
mkaply%us.ibm.com 0cb64066c3 #45872
r=mkaply, a=brendan
Port of nsDeviceContextOS2 to be more like Windows and removal of nsPaletteOS2
2000-07-26 14:21:07 +00:00
mkaply%us.ibm.com 703878aa21 #45872
r=mkaply, a=brendan
Make nsDeviceContextSpecOS2 look more like Windows
2000-07-26 14:07:24 +00:00
mkaply%us.ibm.com 94ba95ea20 #45872
r=mkaply, a=brendan
Make nsDeviceContextSpecFactoryO look more like Windows
2000-07-26 01:26:49 +00:00
mkaply%us.ibm.com 18ad001622 #45872
r=mkaply, a=brendan
Include the right stuff so this header builds regardless of where it is included
2000-07-26 00:00:27 +00:00
mkaply%us.ibm.com f2dcfe33b2 #45872
r=mkaply, a=brendan
Turn on ScreenManager and Screen classes in GfxFactory
2000-07-25 23:58:09 +00:00
mkaply%us.ibm.com 2f3eb05b67 #45872
r=mkaply, a=brendan
Turn on ScreenManager and Screen classes in Makefile
2000-07-25 23:57:12 +00:00
mkaply%us.ibm.com 8a804c6438 #45603
r=mkaply, a=brendan
Can't use the desktop HDC to do these queries - I'll just grab SYSVALUES
2000-07-25 22:09:23 +00:00
rbs%maths.uq.edu.au 22e8f8034e Bug 18814. Return the x-height that complies with the convention in the CSS spec. r,a:waterson 2000-07-25 08:32:39 +00:00
uid408 25243d7e90 Disable use of AlphaBlend() on Win98, it's broken. Bug 36694. r=kmcclusk, a=brendan 2000-07-25 03:51:39 +00:00
uid408 af71c3262b Fix for VC5 builds. Bug 36694. r=kmcclusk, a=brendan 2000-07-25 03:51:04 +00:00
rbs%maths.uq.edu.au fbdb6978ef [not part of default build] Fix build bustage b:42793. It prevented the enabling of xprint with mathml. Paul B. Saitta <pbs@po.cwru.edu> verified that the changes compile and run. a:waterson@mozilla.org 2000-07-25 00:09:01 +00:00
mkaply%us.ibm.com 34d904f3a6 #45872
r=mkaply, a=brendan
Implement Screen and ScreenManager classes on OS/2 - not part of build yet
2000-07-24 22:32:19 +00:00
mkaply%us.ibm.com ef4cbe3e4b #45872
r=mkaply, a=brendan
RequiresInvertedMask is unnecessary - we already have the device depth, just check it.
2000-07-24 22:31:26 +00:00
mkaply%us.ibm.com 51127bc33e #45872
r=mkaply, a=brendan
Rather than forward declaring the class, include nsFont.h
2000-07-24 22:30:49 +00:00
mkaply%us.ibm.com ba0eabbe17 #45872
r=mkaply, a=brendan
No need to use these APIs - we have access to the widget HWND
2000-07-24 22:30:18 +00:00
pnunn%netscape.com f04ba6a6a8 bug#30852: (&related to #46032,#46049). Use default channel load attributes since
LoadGroup attributes not set correctly. pnunn.
2000-07-24 19:32:43 +00:00
uid408 2caf599e57 Enable 8-bit alpha channel for images on Windows. Bug 36694. Patch thanks to VYV03354@nifty.ne.jp. r=kmcclusk,dcone a=brendan 2000-07-20 04:19:23 +00:00
pnunn%netscape.com 38ed05f47f fix for bug#30852.(nsbeta2+). Image reloads not using necko reload attributes. pnunn.
rev:neeti; and tested on win/mac/linux.
2000-07-20 01:52:35 +00:00
shanjian%netscape.com 00d2e1e8f4 #45543
Use empty cmap for those charsets not easily to determin its cmap.
r=ftang r=rbs
2000-07-18 21:54:33 +00:00