Commit Graph

72 Commits

Author SHA1 Message Date
mscott%netscape.com
df3dddf528 This is one of those do the right thing bugs even though I don't have a PDT+ bug for it. Travis and I noticed
today that image urls weren't properly getting added to the doc loader of the containing document. So the top
level document would report a document done notification before the document may really be done.

The fix is to pass the load cookie nsISupports object which originates from the docshell that is opening the
url down into the gfx image code instead of passing the load group down.

r=travis.


git-svn-id: svn://10.0.0.236/trunk@60802 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:49:32 +00:00
pavlov%netscape.com
181eb991e6 add GetNumRects() to nsIRegion to return the number of rects making up the region. make two XChangeGC calls in to 1 to reduce X server traffic. inline a few methods that are used internally in the gtk implimentations. remove some code cruft. r=bryner@uiuc.edu
git-svn-id: svn://10.0.0.236/trunk@59977 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 03:39:21 +00:00
erik%netscape.com
f27545f39f fixing Solaris build bustage
git-svn-id: svn://10.0.0.236/trunk@59853 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 05:04:09 +00:00
erik%netscape.com
6b66c244e2 bug 8801; temporary fix for a bad performance problem with font prefs;
r=troy


git-svn-id: svn://10.0.0.236/trunk@59840 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 03:31:39 +00:00
pnunn%netscape.com
119195e1a3 bug#1248, fix part1. pnunn. rev:troy,dcone,neeti
git-svn-id: svn://10.0.0.236/trunk@59407 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:25:21 +00:00
dcone%netscape.com
99fa2a2ddb Added a member for the Canonical pixel scale - cross platform. r=rods b=24405
git-svn-id: svn://10.0.0.236/trunk@58471 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 14:52:12 +00:00
erik%netscape.com
8cefd522ce bug 8801; add font name prefs code for Unix; r=ftang
git-svn-id: svn://10.0.0.236/trunk@57941 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 16:37:53 +00:00
rbs%maths.uq.edu.au
164f90cf22 [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics()
git-svn-id: svn://10.0.0.236/trunk@57789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 06:15:37 +00:00
rbs%maths.uq.edu.au
37f568343e [#ifdef MOZ_MATHML] Added GetItalicSlope() in nsIFontMetrics.h to get the tagent of the italic angle needed for the italic correction. Added leftItalicCorrection in nsBoundingMetrics and updated documentation
git-svn-id: svn://10.0.0.236/trunk@57103 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:16:02 +00:00
ftang%netscape.com
6cccc8adfc implement Mac GFX w/ langGroup. From now we will use the correct CJK font depend on the document charset. Howerver, it have not listen to the pref yet. r=erik. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55819 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:44:34 +00:00
erik%netscape.com
ac4eb59b78 bug 8801; adding font prefs implementation for Windows initially; r=ftang
git-svn-id: svn://10.0.0.236/trunk@55641 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:27:17 +00:00
shaver%netscape.com
df01636bd9 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.


git-svn-id: svn://10.0.0.236/trunk@54484 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-26 05:33:35 +00:00
neeti%netscape.com
61d74e4fc7 fix bug 15820,memory leak in ImageManagerImpl by converting it to a service on gtk, windows and mac.r=dp
git-svn-id: svn://10.0.0.236/trunk@54368 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 03:41:48 +00:00
erik%netscape.com
71f8c3d7c7 bug 8801; CID for new font enumerator for font prefs UI; r=ftang
git-svn-id: svn://10.0.0.236/trunk@54155 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 19:34:31 +00:00
dcone%netscape.com
f6f13004dc Fixed the MoveTo to move to the x and y instead of the y and y. R=rods
git-svn-id: svn://10.0.0.236/trunk@53352 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 15:10:40 +00:00
rbs%maths.uq.edu.au
db7000695f [GFX] GetBoundingMetrics() added in nsIRenderingContext and associated changes elsewhere (patform-specific) to support its implementation. Fixes for existing bugs discovered while doing the implementation. Details for public: API of the GetBoundingMetrics() method for accurate measurements of a string in order to allow precise positionning when processing MathML. review: Erik, Shyjan.
git-svn-id: svn://10.0.0.236/trunk@53185 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 04:24:51 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
sfraser%netscape.com
1cf929984f Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@52811 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 22:26:57 +00:00
beard%netscape.com
48e85583a8 added NS_SCRIPTABLE_REGION_CID. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@52350 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 02:25:59 +00:00
pnunn%netscape.com
4791c61ec9 bug#16785: forgot to checkin the include file change. Removing old, obsolete get image type call.
pnunn.


git-svn-id: svn://10.0.0.236/trunk@51574 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 21:46:56 +00:00
dcone%netscape.com
78accf0d1a fixed the CreateRenderingContext call in nsDeviceContext to get rid of warnings. CR by KMcclusk.
git-svn-id: svn://10.0.0.236/trunk@50460 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 13:32:34 +00:00
ramiro%netscape.com
64aa89c32a Fix for bug 13522. Duplicate nsITimer.h files. Removing the old ones.
r=pavlov@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@50334 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 03:48:21 +00:00
dcone%netscape.com
c0cc4a7df7 Took out a pure virtual function CreateRenderingContext() that was declared in the interface
git-svn-id: svn://10.0.0.236/trunk@50123 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:43:03 +00:00
kipp%netscape.com
2e0f295a75 Added in a way to shutdown the image manager
git-svn-id: svn://10.0.0.236/trunk@49828 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:48:44 +00:00
kipp%netscape.com
0fe83f199b Remove some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@49827 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:48:01 +00:00
kipp%netscape.com
8655fee7af Added FlushCache method
git-svn-id: svn://10.0.0.236/trunk@49057 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 20:04:54 +00:00
pavlov%netscape.com
a3f3f5ff51 make things use NS_GET_IID macros and DECL_ISUPPORTS1 macro. added a CopyClipRegion method
git-svn-id: svn://10.0.0.236/trunk@47091 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 03:42:37 +00:00
briano%netscape.com
cf14a9be9e General cleanup.
git-svn-id: svn://10.0.0.236/trunk@46687 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 01:48:51 +00:00
ramiro%netscape.com
c488e4a519 Remove timer stuff which long ago moved to another place.
git-svn-id: svn://10.0.0.236/trunk@46551 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 09:40:40 +00:00
danm%netscape.com
2906e8f655 adding nsIDeviceContext::GetClientRect. a:dcone.
git-svn-id: svn://10.0.0.236/trunk@45664 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 05:37:14 +00:00
kipp%netscape.com
75ceb6b5e5 Removed obsolete header from export list
git-svn-id: svn://10.0.0.236/trunk@45507 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:56:18 +00:00
kipp%netscape.com
0c0426440a Excised nsIDOMRenderingContext
git-svn-id: svn://10.0.0.236/trunk@45398 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:03:10 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
kmcclusk%netscape.com
775f2a2153 added comment that NS_COPYBITS_TO_BACK_BUFFER flag passed to nsRenderingContext::CopyOffscreenBits is obsolete and going away
git-svn-id: svn://10.0.0.236/trunk@43735 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:34:22 +00:00
ramiro%netscape.com
3903eb4d89 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.


git-svn-id: svn://10.0.0.236/trunk@40252 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 07:26:09 +00:00
peterl%netscape.com
67af5b810a switch to preprocessor for code generation
git-svn-id: svn://10.0.0.236/trunk@39919 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:07:55 +00:00
peterl%netscape.com
5278ae741e changed api to be string based
switch to using preprocessor for color enums


git-svn-id: svn://10.0.0.236/trunk@39918 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:07:20 +00:00
peterl%netscape.com
0dc8202faf change color string apis to use nsString
git-svn-id: svn://10.0.0.236/trunk@39916 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:06:12 +00:00
ramiro%netscape.com
be8479149c Landing timer move on windows.
git-svn-id: svn://10.0.0.236/trunk@39882 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 15:52:01 +00:00
ramiro%netscape.com
963b6f5991 Landing timer move on unix.
git-svn-id: svn://10.0.0.236/trunk@39863 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 14:22:51 +00:00
pnunn%netscape.com
bc5410e667 added to image mime type list. pnunn. ok'd by chofmann.
git-svn-id: svn://10.0.0.236/trunk@38758 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 01:33:22 +00:00
warren%netscape.com
5de0e9a3b7 Removed necko ifdef.
git-svn-id: svn://10.0.0.236/trunk@37251 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 22:07:07 +00:00
warren%netscape.com
37239f31d8 Removed necko ifdef.
git-svn-id: svn://10.0.0.236/trunk@37217 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:19:48 +00:00
valeski%netscape.com
04db729b47 NECKO build issue (nsILoadAttrib got loose on us)
git-svn-id: svn://10.0.0.236/trunk@37172 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 12:20:08 +00:00
warren%netscape.com
2fd605cc6f Last of the necko ifdefs. Now we link with necko.
git-svn-id: svn://10.0.0.236/trunk@37169 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 10:35:57 +00:00
av%netscape.com
ec81455e2b Adding a method to retrieve native drawing data
git-svn-id: svn://10.0.0.236/trunk@37058 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 21:53:07 +00:00
warren%netscape.com
b870de7299 Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
git-svn-id: svn://10.0.0.236/trunk@36818 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 02:17:37 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
bruce%cybersight.com
3bed02e2d0 Interface classes really do need to define |GetIID()|. 5 of these files are just being switched over to the macro. The others were all lacking |GetIID()| implementations.
git-svn-id: svn://10.0.0.236/trunk@35126 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 06:16:08 +00:00