Commit Graph

268 Commits

Author SHA1 Message Date
pavlov%netscape.com
7f4743c7a3 move the typedef of nscolor to gfx_color in to gfxcompat.h. change the typedef of gfx_color to PRUint32 from unsigned long just to make it explicit 2001-01-08 03:11:58 +00:00
pavlov%netscape.com
e5332662cb merging the base and image parts of gfx2 to HEAD, renaming nsMargin, nsPoint, nsRect to whatever2 to avoid header name conflicts with gfx
still need to resolve issue with gfx2's nsIImage wanting to use nsIDrawable, since there arn't any ifdefs in idl...
2001-01-07 01:40:18 +00:00
mkaply%us.ibm.com
c49620f93f OS/2 TB breakage
Uh duh. It would help if I put the XP_OS2 in the header file.
2001-01-03 03:05:09 +00:00
tor%cs.brown.edu
b0070e9f0a #51179 blending calculations were incorrect (dividing by 256 instead of 255).
r=brendan, sr=roc
2001-01-02 23:41:07 +00:00
beard%netscape.com
cb60d16d0f [not part of build] generalized printing support. 2000-12-16 03:38:21 +00:00
koehler%mythrium.com
e6f8b4f26e bug #55450: New gfx implementation more in synch with linux/gtk version. r=cls
r=blizzard (no sr has blizzard give me a go ahead for BeOS only stuff)
2000-11-02 00:47:12 +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
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
4a44a28c21 Stray Semicolon taken out. 2000-09-12 14:31:10 +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
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
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
erik%netscape.com
7416f242ae bug 39570; we were using the Western font to determine the height of the
URL bar, and this caused the Japanese text to be truncated; we now use the
locale's language group when the caller does not pass us the correct one;
r=nhotta
2000-07-13 21:13:13 +00:00
cls%seawood.org
bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
dcone%netscape.com
4dc6776f9c new CID's for the PrintOptions class. r=kmmclusky b=36796 2000-06-23 14:28:54 +00:00
dcone%netscape.com
f06ae87cf7 Need to implement LineStyle for Mac. r=buster b=34870 2000-05-23 19:46:45 +00:00
pierre%netscape.com
c390bbd41c enabled the NEW_FONT_HEIGHT_APIS for the Mac 2000-05-12 12:04:07 +00:00
bryner%uiuc.edu
e5c3adbd79 New and improved background tiling code for GTK. We take an offset into
the image as a parameter so we avoid drawing the whole tile if it's not
all needed.  Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server.  Fixes several background rendering
problems.  Also fix a signedness problem in the compositing code
(r=tor).  r=pavlov.
2000-05-12 06:29:37 +00:00
dcone%netscape.com
25178094e4 Added some rasterization of polygons, moved some point definitions to correct locations. 2000-05-11 03:58:58 +00:00
dcone%netscape.com
d5bc728091 Moved a point structure to nsPoint.. 2000-05-09 14:23:27 +00:00
erik%netscape.com
1a27e590f5 bug 27164; need to use em square height to compute line-height; added new
APIs for this purpose; this is the Windows implementation; r=kmcclusk
2000-05-08 21:59:23 +00:00
dcone%netscape.com
0875c88ec5 Added the FillPath call. 2000-05-08 14:25:51 +00:00
erik%netscape.com
fa503f288a bug 27164; added new GetNormalLineHeight API for proper line-height 2000-05-04 21:46:22 +00:00
dcone%netscape.com
52e88bcad4 Working on the Curve stroking and filling. 2000-05-04 13:35:54 +00:00
dcone%netscape.com
a15ebee0dc Added FillStdPoly() call to the nsRenderingContext for drawing post tranformation. 2000-05-04 04:03:10 +00:00
dcone%netscape.com
4f0cf14145 Added some API's for the curve drawing code 2000-05-02 14:24:08 +00:00
dcone%netscape.com
2f712d777f Moving the curve drawing into the nsRenderingContextImpl class. 2000-04-28 20:46:40 +00:00
erik%netscape.com
7d711b423d bug 27164; added new font height APIs, currently only on Unix; will be
added to other platforms later
2000-04-26 21:53:26 +00:00
dcone%netscape.com
2d436119b0 Added a DrawPath method to nsRenderingContext, currenly does nothing. 2000-04-25 13:51:46 +00:00
pinkerton%netscape.com
b067edf867 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen. 2000-04-21 06:55:13 +00:00
troy%netscape.com
b2bf96d0c6 b=34731 Fixed bug in Unicode version of GetWidth() that takes a line break array.
Also added an ascii version of function
2000-04-12 14:49:46 +00:00
erik%netscape.com
1a0cae1f6c bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only;
r=pierre,troy; will do Unix next; someone will take care of the Mac
2000-04-02 21:47:15 +00:00
troy%netscape.com
04d42a3503 Added new GetWidth() function that takes as additional arguments an
array of break points and an available width and then returns how many
characters fit in the available width. This allows the text frame code
to measure in chunks instead of just a single word at a time
2000-03-31 03:34:05 +00:00
dcone%netscape.com
dedad8ce7c Put nsRenderingContextImpl in Manifest. 2000-03-30 15:09:03 +00:00
dcone%netscape.com
c7825191f2 Added some methods for tiling. 2000-03-30 15:00:45 +00:00
waqar%netscape.com
71fb271a55 r=dcone@netscape.com
d=Cross platform addition to the Rendering context.
2000-03-30 00:50:05 +00:00
dcone%netscape.com
d93b9829a3 Added a new class.. which will be a cross platform implementation for the
RenderingContext.  r = kmmclusk
2000-03-29 15:49:25 +00:00
troy%netscape.com
4e2ec77d3b Added GetAveCharWidth() function 2000-03-29 01:26:08 +00:00
erik%netscape.com
43a65f0fca lang group table has been added to proper location under mozilla/intl;
removing the redundant table here; minor change; r=none
2000-03-27 04:55:35 +00:00
pierre%netscape.com
924dd819c1 #3371. Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed. 2000-03-25 18:54:36 +00:00
dcone%netscape.com
63dae09a9e Added a new interface for the tiling of backgrounds. r=rods 2000-03-20 15:53:17 +00:00
sfraser%netscape.com
89642093ed Changes to nsRepeater to allow it to handle idlers as well as repeaters. bug 904. r=pinkerton 2000-03-16 23:01:56 +00:00
pinkerton%netscape.com
3898cef2b9 adding screen manager r=scc 2000-03-16 04:55:46 +00:00
rickg%netscape.com
62e292619d removed references to nsStr 2000-03-12 08:58:33 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
mscott%netscape.com
23a00a46c6 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.
2000-02-15 04:49:32 +00:00
pavlov%netscape.com
a77bec64b2 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 2000-02-07 03:39:21 +00:00
erik%netscape.com
50247b2f4a fixing Solaris build bustage 2000-02-05 05:04:09 +00:00
erik%netscape.com
54a5a9aff7 bug 8801; temporary fix for a bad performance problem with font prefs;
r=troy
2000-02-05 03:31:39 +00:00
pnunn%netscape.com
4b387cfa79 bug#1248, fix part1. pnunn. rev:troy,dcone,neeti 2000-02-01 22:25:21 +00:00
dcone%netscape.com
b11158d941 Added a member for the Canonical pixel scale - cross platform. r=rods b=24405 2000-01-24 14:52:12 +00:00
erik%netscape.com
ebccc58538 bug 8801; add font name prefs code for Unix; r=ftang 2000-01-15 16:37:53 +00:00
rbs%maths.uq.edu.au
e1fd5b686c [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 06:15:37 +00:00
rbs%maths.uq.edu.au
0f95730da9 [#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 2000-01-07 14:16:02 +00:00
ftang%netscape.com
003999a676 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 1999-12-09 22:44:34 +00:00
erik%netscape.com
f329f5e894 bug 8801; adding font prefs implementation for Windows initially; r=ftang 1999-12-07 23:27:17 +00:00
shaver%netscape.com
89607b7de2 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>.
1999-11-26 05:33:35 +00:00
neeti%netscape.com
cd72e89586 fix bug 15820,memory leak in ImageManagerImpl by converting it to a service on gtk, windows and mac.r=dp 1999-11-24 03:41:48 +00:00
erik%netscape.com
b9bc3d0cf6 bug 8801; CID for new font enumerator for font prefs UI; r=ftang 1999-11-22 19:34:31 +00:00
dcone%netscape.com
75ff68cca8 Fixed the MoveTo to move to the x and y instead of the y and y. R=rods 1999-11-12 15:10:40 +00:00
rbs%maths.uq.edu.au
b357f84d41 [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. 1999-11-11 04:24:51 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sfraser%netscape.com
13525c0af2 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. 1999-11-04 22:26:57 +00:00
beard%netscape.com
f39012960d added NS_SCRIPTABLE_REGION_CID. r=pavlov 1999-10-31 02:25:59 +00:00
pnunn%netscape.com
498ae50fdc bug#16785: forgot to checkin the include file change. Removing old, obsolete get image type call.
pnunn.
1999-10-22 21:46:56 +00:00
dcone%netscape.com
312a183d53 fixed the CreateRenderingContext call in nsDeviceContext to get rid of warnings. CR by KMcclusk. 1999-10-12 13:32:34 +00:00
ramiro%netscape.com
3849c0fcb8 Fix for bug 13522. Duplicate nsITimer.h files. Removing the old ones.
r=pavlov@netscape.com.
1999-10-11 03:48:21 +00:00
dcone%netscape.com
85be43853c Took out a pure virtual function CreateRenderingContext() that was declared in the interface 1999-10-07 20:43:03 +00:00
kipp%netscape.com
cdc696924a Added in a way to shutdown the image manager 1999-10-05 14:48:44 +00:00
kipp%netscape.com
a43ad60044 Remove some compiler warnings 1999-10-05 14:48:01 +00:00
kipp%netscape.com
a024d42d15 Added FlushCache method 1999-09-25 20:04:54 +00:00
pavlov%netscape.com
66e73b18eb make things use NS_GET_IID macros and DECL_ISUPPORTS1 macro. added a CopyClipRegion method 1999-09-13 03:42:37 +00:00
briano%netscape.com
dc485a3dc0 General cleanup. 1999-09-10 01:48:51 +00:00
ramiro%netscape.com
3e8b0f31f1 Remove timer stuff which long ago moved to another place. 1999-09-09 09:40:40 +00:00
danm%netscape.com
b78875c8f5 adding nsIDeviceContext::GetClientRect. a:dcone. 1999-09-02 05:37:14 +00:00
kipp%netscape.com
c565dcc0a2 Removed obsolete header from export list 1999-09-01 20:56:18 +00:00
kipp%netscape.com
a824a98378 Excised nsIDOMRenderingContext 1999-09-01 01:03:10 +00:00
cyeh%netscape.com
9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
kmcclusk%netscape.com
c73496735f added comment that NS_COPYBITS_TO_BACK_BUFFER flag passed to nsRenderingContext::CopyOffscreenBits is obsolete and going away 1999-08-19 22:34:22 +00:00
ramiro%netscape.com
12f5c30340 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.
1999-07-20 07:26:09 +00:00
peterl%netscape.com
73515f0ad4 switch to preprocessor for code generation 1999-07-18 00:07:55 +00:00
peterl%netscape.com
ed8cd49c87 changed api to be string based
switch to using preprocessor for color enums
1999-07-18 00:07:20 +00:00
peterl%netscape.com
9ad4e38dde change color string apis to use nsString 1999-07-18 00:06:12 +00:00
ramiro%netscape.com
ba8ba82cc6 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com
a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
pnunn%netscape.com
d7505bd04a added to image mime type list. pnunn. ok'd by chofmann. 1999-07-08 01:33:22 +00:00
warren%netscape.com
f1826b64cd Removed necko ifdef. 1999-06-28 22:07:07 +00:00
warren%netscape.com
99d39258c9 Removed necko ifdef. 1999-06-28 20:19:48 +00:00
valeski%netscape.com
e16554ea83 NECKO build issue (nsILoadAttrib got loose on us) 1999-06-28 12:20:08 +00:00
warren%netscape.com
fbc735f510 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
av%netscape.com
076a0e2e7e Adding a method to retrieve native drawing data 1999-06-26 21:53:07 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
valeski%netscape.com
e23b3c673c 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. 1999-06-18 17:34:08 +00:00
bruce%cybersight.com
1e47eb8696 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. 1999-06-14 06:16:08 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com
d99c6c3ced Added timer stuff from base. 1999-05-24 09:17:05 +00:00
pinkerton%netscape.com
7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
syd%netscape.com
dbc46c529c Get whether rows are organized top to bottom, or bottom to top in images. 1999-03-30 00:56:35 +00:00
michaelp%netscape.com
8e2a688d1c fixed docs for ContainsRect(). 1999-03-23 22:37:20 +00:00
michaelp%netscape.com
423c436a70 added blender method that takes rendering contexts.
added LockDrawingSurface() and UnlockDrawingSurface() to rendering
context.
fixed state maintenance errors in rendering context win.
added IsReleaseDCDestructive() to drawingsurfacewin.
1999-03-09 22:07:06 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
michaelp%netscape.com
99c3ddd186 added nsIDrawingSurface, a windows specific counterpart and a windows
implementation. cleaned up windows blending code to the point where we
don't really need platform specific blending implementations at all
anymore. added region area return from nsIRegion::GetRects(). unified all
windows bitmap management code under nsDrawingSurfaceWin.cpp.
1999-02-25 18:53:31 +00:00
kipp%netscape.com
a833c5681f Added IID static method 1999-02-12 17:13:30 +00:00
michaelp%netscape.com
069d8d1fb1 killed ForEachRect(). 1999-02-11 01:53:42 +00:00
michaelp%netscape.com
f92bfd0fa2 added GetRects()/FreeRects() to nsIRegion. add GetDrawingSurface() to
nsIRenderingContext.
1999-02-10 02:15:47 +00:00
dcone%netscape.com
c04cbe9bf0 cleanup of nsIImage class. There were routines and methods no longer used or needed. 1999-02-08 16:34:56 +00:00
dcone%netscape.com
0f03d8276c Added image support to the postscript 1999-02-04 15:17:42 +00:00
michaelp%netscape.com
b4c034f217 removed aWidth from DrawString(). added aFontID to DrawString() and GetWidth(). 1999-01-28 05:03:05 +00:00
harishd%netscape.com
457b3e5601 Changing the varible name aElementColor to aBordercolor.
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
CSS2 Spec. was wrong.
1999-01-28 00:29:00 +00:00
michaelp%netscape.com
46c7a932ae apparently this needs to be exported too... 1999-01-25 23:06:55 +00:00
michaelp%netscape.com
c8e0ba6a08 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
dcone%netscape.com
37a98400aa First Checked In. 1998-10-12 13:50:27 +00:00
kipp%netscape.com
4c0cfcb101 new 1998-10-10 03:23:12 +00:00